2.5.1. logging

Syntax

logging

no logging

Parameter

Default

Logging service is enabled.

Mode

Global Configuration

Usage

To enable logging service on the switch, use the command logging in the Global Configuration mode.

Example

The following example disables and enables the logging service on the switch.

Switch(config)# no logging
Switch(config)# logging