Alcatel-Lucent 6850-48 参照ガイド

ページ / 3444
Switch Logging Commands
OmniSwitch CLI Reference Guide
September 2009
page 60-9
swlog output
Enables or disables switch logging output to the console, file, or data socket (remote session).
swlog output {console | flash | socket [ip_address [remote command-log]]
no swlog output {console | flash | socket [ip_address]}
Syntax Definitions
console
Specifies console output. When enabled, switch logging output is 
printed to the user console.
flash
Specifies /flash file output. When enabled, switch logging output is 
printed to a file in the switch’s /flash file system.
socket
Specifies data socket output. When enabled, switch logging output is 
printed to a remote session.
ip_address
The IPv4 or IPv6 address for the remote session host.
remote command-log
Specifies command-log output to be sent to a remote session.
Defaults
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• Use the no form of this command to disable one or more configured output IP addresses.
• This command can also be used on the secondary CMM.
• You can send files to multiple hosts (maximum of four) using the socket keyword, followed by the IP 
address of the remote host.
• When sending the output to a syslog server, the Loopback0 address is used if configured, otherwise the 
VLAN’s IP address is used.
Examples
-> swlog output console
-> no swlog output flash
-> swlog output socket 14.1.1.1
-> swlog output socket 15.1.1.1 remote command-log
parameter
default
console | flash | socket
flash and console