NOTE: The :: notation specifies successive hexadecimal
fields of zeros.
hostname
Enter the name of a host already configured 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
Command
History
Version 9.5(0.0)
Introduced
udp
and
tcp
keywords on the MXL 10/40GbE
Switch.
Version 8.3.16.1
Introduced on the MXL 10/40GbE Switch IO Module.
Related
Commands
logging on
— enables the logging asynchronously to logging buffer, console,
Syslog server, and terminal lines.
logging trap
— enables logging to the Syslog server based on severity.
logging buffered
Enable logging and specify which messages are logged to an internal buffer. By default, all messages are
logged to the internal buffer.
Syntax
logging buffered [
level
] [
size
]
To return to the default values, use the
default logging buffered
command.
To disable logging stored to an internal buffer, 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
.
size
(OPTIONAL) Indicate the size, in bytes, of the logging buffer.
The number of messages buffered depends on the size of
each message. The range is from 40960 to 524288. The
default is
40960 bytes
.
Simple Network Management Protocol (SNMP) and Syslog
1243