swlog output
swlog output
Enables or disables switch logging output to the console, file, or data socket (remote session).
swlog output {console | flash | socket [ip_address]}
no swlog output {console | flash | socket [ip_address]}
Syntax Definitions
console
flash
socket
ip_address
Defaults
parameter
console | flash | socket
Platforms Supported
OmniSwitch 10K
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 output to a single host using the socket keyword, followed by the IP address of the
remote host.
Examples
-> swlog output console
-> no swlog output flash
-> swlog output socket 14.1.1.1
Release History
Release 7.1.1; command was introduced.
page 35-6
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.
default
flash and console
Switch Logging Commands
OmniSwitch CLI Reference Guide
March 2011