Alcatel-Lucent 6850-48 Guida Di Rete

Pagina di 1162
Using Switch Logging
Switch Logging Commands Overview
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 46-9
Removing the Severity Level
To remove the switch logging severity level, enter the no
command, including the 
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
command allows you to send the switch logging information to your 
console, to the switch’s flash memory, or to a specified IP or IPv6 address(es).
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
 socket ipaddr command, specifying the target IP address to which output 
will be sent. For example, 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.
Note. You can also send syslog files to multiple hosts (maximum of four).