Concept Guide
logging
Congure an IP address or host name of a Syslog server where logging messages are sent. You can congure multiple logging servers of
both IPv4 and/or IPv6.
Syntax
logging {ip-address | ipv6–address |hostname} {{udp {port}} | {tcp {port}}
To disable logging, use the no logging command.
Parameters
ip-address Enter the IPv4 address in dotted decimal format.
ipv6-address Enter the IPv6 address in the x:x:x:x::X format.
NOTE: The :: notation species successive hexadecimal elds of zeros.
hostname Enter the name of a host already congured and recognized by the switch.
udp Enter the keyword udp to enable transmission of log message over UDP followed by port
number. The default port is 514
tcp Enter the keyword tcp to enable transmission of log message over TCP followed by port
number.
Defaults Disabled.
Command Modes CONFIGURATION
Supported Modes Full–Switch Mode
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.5(0.0) Introduced udp and tcp keywords on the MXL 10/40GbE Switch.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Related Commands
logging on — enables the logging asynchronously to logging buer, console, Syslog server, and terminal lines.
logging trap — enables logging to the Syslog server based on severity.
logging buered
Enable logging and specify which messages are logged to an internal buer. By default, all messages are logged to the internal buer.
Syntax
logging buffered [level] [size]
To return to the default values, use the default logging buffered command.
To disable logging stored to an internal buer, use the no logging buffered command.
Parameters
level (OPTIONAL) Indicate a value from 0 to 7 or enter one of the following equivalent words:
emergencies, alerts, critical, errors, warnings, notifications,
informational, or debugging. The default is 7 or debugging.
1254 Simple Network Management Protocol (SNMP) and Syslog