C
OMMAND
L
INE
I
NTERFACE
4-60
logging host
This command adds a syslog server host IP address that will receive logging
messages. Use the no form to remove a syslog server host.
Syntax
[no] logging host host_ip_address
host_ip_address - The IP address of a syslog server.
Default Setting
None
Command Mode
Global Configuration
Command Usage
• By using this command more than once you can build up a list of host
IP addresses.
• The maximum number of host IP addresses allowed is five.
Example
logging facility
This command sets the facility type for remote logging of syslog messages.
Use the no form to return the type to the default.
Syntax
[no] logging facility type
type - A number that indicates the facility used by the syslog server to
dispatch log messages to an appropriate service. (Range: 16-23)
Default Setting
23
Command Mode
Global Configuration
Console(config)#logging host 10.1.0.3
Console(config)#