Utility Commands
390
ProSAFE M7100 Managed Switches
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>
parameter is the IP address of the logging host. The <hostname> parameter is the host name of
the logging host. The <addresstype> parameter indicates the type of ipv4, ipv6, or DNS
address. The <port> parameter is a port number from 1 to 65535. You can specify the
<severitylevel> parameter either as 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 lis
t of ser
vers.
logging host remove
This command disables logging to host. See show logging hosts on page 392 for a list of host
indexes.
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)
F
ormat logging host {<ipaddr> | <hostname>} <addresstype> [<port>]
[<severitylevel>]
Mode Global Config
Format logging host remove <hostindex>
Mode Global Config