CLI Guide

Switch Management Commands 2261
no port
port—The port number to which SYSLOG messages are sent. (Range:
1-65535)
Default Configuration
The default port number for UDP messages is 514. When DTLS is
configured (logging protocol 1), the default port number is 6514.
Command Mode
SYSLOG server configuration 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.
If the port value is changed for a server, the configuration does not take effect
until the server is disconnected and reconnected.
Example
The following example sets the SYSLOG server port to 300.
console(config-logging)#port 300
show logging
Use the show logging command to display all logging information, including
auditing status and logging protocol version.
Syntax
show logging
Default Configuration
This command has no default configuration.
Command Mode
Privileged Exec mode, Global Configuration mode and all Configuration
submodes