Utility Commands
530
ProSafe Managed Switch
no logging cli-command
This command disables the CLI command Logging feature.
Format
no logging cli-command
Mode
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).
Default
Format
logging console [severitylevel]
Mode
no logging console
This command disables logging to the console.
Format
no logging console
Mode
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).
The end user can configure either an IPv4 or IPv6 address or a host name for a Syslog
collector among the list of servers.
Default
• port—514
• level—critical (2)
Format
logging host <ipaddr|hostname> <addresstype>
[<port>][<severitylevel>]
Mode
Global Config
disabled; critical when enabled
Global Config
Global Config
Global Config