CLI Reference Guide

1664 Syslog Commands
port
Use the port command in Logging mode to specify the port number of syslog
messages. To reset to the default value, use the no form of the command.
Syntax
port
port
no port
port
The port number for syslog messages. (Range: 1-65535)
Default Configuration
The default port number is 514.
Command Mode
Logging mode
User Guidelines
After entering the view corresponding to a specific syslog server, the
command can be executed to set the port number for the server.
Example
The following example sets the syslog message port to 300.
console(config-logging)#port 300
show logging
Use the show logging command in Privileged EXEC mode to display all
logging information, including auditing status and logging protocol version.
Protocol version 1 means that the messages are logged with the time zone and
time resolution up to milliseconds.
Syntax
show logging
2CSNXXX_SWUM200.book Page 1664 Tuesday, December 10, 2013 1:22 PM