Using Switch Logging Switch Logging Commands Overview
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 36-7
Displaying Switch Logging Records
The show log swlog command can produce a display showing all the switch logging information or you 
can display information according to session, timestamp, application ID, or severity level. For details, 
refer to the OmniSwitch AOS Release 8 CLI Reference Guide. The following sample screen output shows 
a display of all the switch logging information.
-> show log swlog
Displaying file contents for 'swlog2.log'
FILEID: fileName[swlog2.log], endPtr[32]
configSize[64000], currentSize[64000], mode[2]
Displaying file contents for 'swlog1.log'
FILEID: fileName[swlog1.log], endPtr[395]
configSize[64000], currentSize[64000], mode[1]
Time Stamp               Application    Level   Log Message
------------------------+--------------+-------+--------------------------------
MON NOV 11 12:42:11 2005         SYSTEM    info Switch Logging files cleared by 
command
MON NOV 11 13:07:26 2005            WEB    info The HTTP session login successful!
MON NOV 11 13:18:24 2005            WEB    info The HTTP session login successful!
MON NOV 11 13:24:03 2005         TELNET    info New telnet connection, Address, 
128.251.30.88
MON NOV 11 13:24:03 2005         TELNET    info Session 4, Created
MON NOV 11 13:59:04 2005            WEB    info The HTTP session user logout
 
successful!
When the switch is in ASA enhanced mode, both user name and password is prompted to view the 
SWLOG data using show log swlog command. Only those users who provide the valid ASA credentials 
are allowed to view the data. For more information on Authenticated Switch Access - Enhanced Mode 
mode, refer chapter Managing Switch Security in OmniSwitch AOS Release 8 Switch Management Guide.
For example, 
-> show log swlog
Username: test
Password:   *****
show log swlog | grep error and show log swlog | grep more commands are not supported in enhanced 
mode.
Note. Switch logging frequently records a very large volume of data. It can take several minutes for all the 
switch logging information to scroll to the console screen.