2-247
Cisco SCE 8000 CLI Command Reference
Chapter 2 CLI Command Reference
logging host
logging host
Configures a remote host to receive syslog messages.
To remove a specified logging host from the configuration, use the no form of this command.
logging host (hostname | ip-address) [transport udp [port port-number]]
no logging host (hostname | ip-address)
Syntax Description
Command Default port number = 514
Command Modes Global configuration
Command History This table includes the following release-specific history entries:
Usage Guidelines Standard system logging to syslog is disabled by default. If logging to syslog is not enabled on your
system, you must enter the logging on command to enable logging before you can use the logging host
command.
The logging host command identifies a remote host (a device serving as a syslog server) to receive
logging messages. By issuing this command more than once, you can build a list of hosts that receive
logging messages.
To specify the severity level for logging to all hosts, use the logging trap command.
Authorization: admin
Examples The following example shows how to configure a remote logging host.
SCE8000>enable 10
Password:<cisco>
SCE8000#config
SCE8000(config)#logging host 10.10.10.30 transport udp port 100
SCE8000(config)#
hostname Logical name of the host that will receive the syslog messages
ip-address IP address of the host that will receive the syslog messages.
transport udp (Optional) Method of transport to be used. Since only UDP is supported,
this option is only used when you want to configure a port number.
port-number (Optional) Integer from 1 through 65535 that defines the port.
If a port number is not specified, the standard Cisco default port number for
UDP is 514.
Release Modification
3.6.x This command was introduced.
Comments to this Manuals