Using Switch Logging
Removing the Severity Level
To remove the switch logging severity level, enter the no
application ID and severity level values. The following is a typical example:
-> no swlog appid 75 level 5
Or, alternatively, as:
-> no swlog appid system level warning
No confirmation message will appear on the screen.
Specifying the Switch Logging Output Device
The
swlog output
command allows you to send the switch logging information to your console, to the
switch's flash memory, or to a specified IP address.
Enabling/Disabling Switch Logging Output to the Console
To enable the switch logging output to the console, enter the following command:
-> swlog output console
To disable the switch logging output to the console, enter the following command:
-> no swlog output console
No confirmation message will appear on the console screen for either command.
Enabling/Disabling Switch Logging Output to Flash Memory
To enable the switch logging output to flash memory, enter the following:
-> swlog output flash
To disable the switch logging output to flash memory, enter the following command:
-> no swlog output flash
No confirmation message will appear on the screen for either command.
Specifying an IP Address for Switch Logging Output
To specify a particular IP address destination (e.g., a server) for switch logging output, enter the
output
socket ipaddr command, specifying the target IP address to which output will be sent. For exam-
ple, if the target IP address is 168.23.9.100, you would enter:
-> swlog output socket ipaddr 168.23.9.100
No confirmation message will appear on the screen.
OmniSwitch 6624/6648 Network Configuration Guide
Switch Logging Commands Overview
swlog appid level
April 2004
command, including the
swlog
page 25-9