Deployment Guide
73
7 = ALL
Current debug logging verbosity level: 1 (BASIC: FATAL, ERROR, WARNING)
5.6.1.2 show ip syslog service
To see the state of the syslog service in the logging, use the following command. This shows the default value
when the switch is first set up:
FJ6K0Z1_console> show ip syslog servers
Remote Syslog server(s): Not enabled
5.6.2 Enable or Change Runtime Logging Levels/Components
The runtime logging options can be seen by using the following command:
FJ6K0Z1_console> set logging
possible subcommands:
component set component for logging
level set level for logging
This shows that there are 2 logging subcommands available: level and component.
5.6.2.1 set logging component
Enables or disables logging components for specific internal code paths during runtime. This only changes
the values during this run of the system. To make this persistent in the running configuration use the set
default logging component command. See the examples below:
FJ6K0Z1_console> set logging component
set logging component command: valid components are 0-5
logging components currently set to 1,2
FJ6K0Z1_console> set logging component 1
Logging component 1 (API) enabled
FJ6K0Z1_console> set logging component 2
Logging component 2 (OFDB) enabled
5.6.2.2 set logging level
Sets the level that log messages are generated for during runtime. This only changes the values during this run
of the system. To make this persistent in the running configuration use the set default logging level
command. See the example below:
FJ6K0Z1_console> set logging level
set logging level command: valid levels are 0-7
5.6.3 Enable or Change Default Logging Levels/Components
Default logging values allow the users to set persistent values into the switch’s running-configuration for the
initial state of logging when the switch initially loads. This allows the initial configuration of the logging
components to be set to a user configurable value, while the runtime log levels can be changed as needed to
debug the system.
5.6.3.1 set default logging component
set default logging component
Sets the logging components in the running configuration to be used as the initial configuration when the
switch loads. It has the same range of values that the set logging component level has.