Switch Logging Commands
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
flash
socket
ip_address
remote command-log
Defaults
parameter
console | flash | socket
Platforms Supported
OmniSwitch 6400, 6850, 6850E, 6855, 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
OmniSwitch CLI Reference Guide
Specifies console output. When enabled, switch logging output is
printed to the user console.
Specifies /flash file output. When enabled, switch logging output is
printed to a file in the switch's /flash file system.
Specifies data socket output. When enabled, switch logging output is
printed to a remote session.
The IPv4 or IPv6 address for the remote session host.
Specifies command-log output to be sent to a remote session.
default
flash and console
June 2012
page 51-9