Enters into a sub-configuration mode for logging host parameter configuration.
Default transport protocol: UDP
Default secure-forwarding encryption (host): none
Exec mode
You can configure a maximum of 10 logging hosts.
If the no version of the command is without the hostname option, all hosts are removed.
Syslog CA certificates must be installed before configuring TLS encryption.
Syslog CA certificates can be imported using the crypto import command.
The following example configures the host H1 as the system logging host and uses the show command to confirm the configuration.
device# configure terminal device(config)# system logging host sysLogHost1 device(config-logging-host-sysLogHost1)# address 10.25.125.5 device(config-logging-host-sysLogHost1)# port 6154 device(config-logging-host-sysLogHost1)# transport TCP device(config-logging-host-sysLogHost1)# secure-forwarding TLS device# do show running-config system logging host system logging host sysLogHost1 address 10.25.125.5 port 6514 transport TCP secure-forwarding TLS
The following example configures transport TCP.
device(config-logging-host-H1)# transport TCP
Warning: Existing Host configuration changed
The following example removes all system logging hosts.
device# configure terminal device(config)# no system logging host