Command:

logging


Mode:

Router(config)#


Syntax:

logging host-name
no logging host-name

Syntax Description:

host-name

Name or IP address of the host to be used as a syslog server.

Defaults

  No messages are logged to a syslog server host.

 

Command Description:

 

To log messages to a syslog server host, use the logging global configuration command. To delete the syslog server with the specified address from the list of syslogs, use the no form of this command.

 

This command identifies a syslog server host to receive logging messages. By issuing this command more than once, you build a list of syslog servers that receive logging messages.


Example:

In the following example, messages are logged to a host named john:

loggingjohn


Misconceptions:

           None.


Related Commands:

            logging trap 


� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)