Managed Switch CLI Manual, Release 8.0.3
Utility Commands
9-20
v1.0, July 2010
logging console
This command enables logging to the console. You can specify the
<severitylevel>
value as
either an integer from 0 to 7 or symbolically through one of the following keywords:
emergency
(0),
alert
(1),
critical
(2),
error
(3),
warning
(4),
notice
(5),
info
(6), or
debug
(7).
no logging console
This command disables logging to the console.
logging host
This command enables logging to a host. You can configure up to eight hosts. The
<ipaddr|hostname>
is the IP address of the logging host. The
<addresstype>
indicates
the type of address ipv4 or ipv6 or dns being passed. The
<port>
value is a port number from 1
to 65535. You can specify the
<severitylevel>
value as either an integer from 0 to 7 or
symbolically through one of the following keywords:
emergency
(0),
alert
(1),
critical
(2),
error
(3),
warning
(4),
notice
(5),
info
(6), or
debug
(7).
Default
disabled; critical when enabled
Format
logging console [severitylevel]
Mode
Global Config
Format
no logging console
Mode
Global Config
Default
• port—514
• level—critical (2)
Format
logging host <ipaddr|hostname> <addresstype>
[<port>][<severitylevel>]
Mode
Global Config