Command Mode
Global Configuration mode
User Guidelines
To see web session logs use the show logging command.
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 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
1062
Syslog Commands