5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
185
Command Mode
Global Config
5-44
logging host
This command is used to configure the logging host parameters and allows for the configuration of up to
eight hosts.
logging host {hostaddress | hostname} addresstype tls [anon | x509name] certificate-index {port
severitylevel}
Parameters
hostaddress | hostname
Indicate the IP address of the logging host.
addresstype
Indicates the type of address being passed (that is, DNS or IPv4).
tls
This parameter is used to enable TLS security for the host.
anon | x509name
(Optional) Indicates the type of authentication mode (that is, anonymous
or x509name).
certificate-index
Indicates the certificate number that will be used for authentication
(range: 0-8, with index 0 being used for the default file).
port
(Optional) Indicates a port number from 1 to 65535.
severitylevel
(Optional) The value for this parameter can be specified as either an
integer from 0 to 7 or in a symbolic fashion through the use of one of the
following keywords:
emergency
(0),
alert
(1),
critical
(2),
error
(3),
warning
(4),
notice
(5),
info
(6), or
debug
(7).
Default
The default is as follows:
•
port 514 (for UDP) and 6514 (for TLS)
•
authentication mode: anonymous
•
certificate index: 0
•
level: critical (2)
Command Mode
Global Config
Example
The following is an example of the CLI display output for the command.
(Routing)(Config)#logging host google.com dns 214
(Routing)(Config)#logging host 10.130.64.88 ipv4 214 6
(Routing)(Config)#logging host 5.5.5.5 ipv4 tls anon 6514 debug
(Routing)(Config)#logging host 5.5.5.5 ipv4 tls x509name 3 6514 debug