Utility Commands
536
ProSafe M4100 and M7100 Managed Switches
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
logging host remove
This command disables logging to host. See show logging hosts on page 538 for a list of host
indexes.
Format logging host remove <hostindex>
Mode
logging syslog
This command enables syslog logging. The <portid> parameter is an integer with a range
of 1-65535.
Default
Format logging syslog [port <portid>]
Mode
Global Config
Global Config
Global Config
disabled
Global Config