Table of Contents

Advertisement

Example
console(config)#logging web-session
<133> MAR 24 07:46:07 10.131.7.165-2 UNKN[83102768]: cmd_logger_api.c(140)
764 %% WEB:10.131.7.67:<<UNKNOWN>>:EwaSessionLookup : session[0] created
<133> MAR 24 07:46:07 10.131.7.165-2 UNKN[83102768]: cmd_logger_api.c(140)
765 %% WEB:10.131.7.67:admin:User admin logged in

port

Use the port command in Logging mode to specify the port number of a
SYSLOG server to which SYSLOG messages are sent. To reset to the default
value, use the no form of the command.
Syntax
port port
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
Switch Management Commands
2152

Advertisement

Table of Contents
loading

This manual is also suitable for:

N1500N3100-onN4000N2100-onN2000N3000

Table of Contents