User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 350
5.6.10. logging host
This command is used to add addresses of remote log hosts.
The parameter “<hostaddress|hostname>” could be IPv4 address, or IPv6 address, or domain name. This
parameter needs to match next parameter {dns | ipv4 | ipv6} to clarify its format.
The parameter “<port>” means the service port number of remote log host.
The parameters “severitylevel” could be specified 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), informational (6),
debug (7).
Format logging host <hostaddress|hostname> {dns | ipv4 | ipv6} [<port>] [<severitylevel>]
Default <port> is 514
<severitylevel> is critical
Mode Global Config
Example: Adds two logging hosts: first one uses the format of IPv4 address, default port and, default severity
level; second one uses the format of domain name, assigns server port to 514 and severity level to critical (2).
(M4500-32C) #configure
(M4500-32C) (Config)#logging host 10.1.1.100 ipv4
(M4500-32C) (Config)#logging host logging-server.test.dep dns 514 2
5.6.11. logging host remove
This command is used to remove a remote log host.
The parameter “<hostindex>” means logging host Index which could be found in the output of “show logging
hosts".
Format logging host remove <hostindex>
Default None
Mode Global Config
Example: Remove an existing log host which of index is 1.
(M4500-32C) #configure
(M4500-32C) (Config)#logging host remove 1