This command configures the logging host parameters. You can configure up to eight hosts.
Default |
|
Format | logging host {hostaddress|hostname} addresstype tls [anon|x509name] certificate-index {port severitylevel} |
Mode | Global Config |
Parameter | Description |
---|---|
hostaddressI hostname | The IP address of the logging host. |
address-type | Indicates the type of address being passed: DNS or IPv4. |
tls | Enables TLS security for the host. |
anonIx509name | The type of authentication mode: anonymous or x509name. |
certificate-index | The certificate number to be used for authentication. The valid range is 0-8. Index 0 is used to the default file. |
port | A port number from 1 to 65535. |
severitylevel | Specify this 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). |
Example: The following shows examples of 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