Switch Logging Commands Overview

Using Switch Logging

page 28-12

OmniSwitch 6600 Family Network Configuration Guide

April 2006

Displaying Switch Logging Records

The 

show log swlog

 command can produce a display showing 

all

 switch logging information or you can 

display information according to session, timestamp, application ID or severity level. For details refer to 

see the 

OmniSwitch CLI Reference Guide

. The following sample screen output shows a display of all 

switch logging information. 

Note. 

Switch logging frequently records a very large volume of data. It can take several minutes for all 

switch logging information to scroll to the console screen. 

-> 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 2002         

SYSTEM    

info Switch Logging files cleared by

command

MON NOV 11 13:07:26 2002           

WEB    

info The HTTP session login successfu

l!

MON NOV 11 13:18:24 2002           

WEB    

info The HTTP session login successfu

l!

MON NOV 11 13:24:03 2002         

TELNET    

info New telnet connection, Address,

128.251.30.88

MON NOV 11 13:24:03 2002         

TELNET    

info Session 4, Created

MON NOV 11 13:59:04 2002           

WEB    

info The HTTP session user logout suc

cessful! 

The fields in the above example are defined as follows:

•

The 

FILE ID

 field specifies the File name (e.g., swlog1.log), endPtr Global Sequence ID reference 

number (e.g., 9968), Configuration Size (e.g., 10000), Current Size (e.g., 10000), and Mode (e.g., 2). 

•

The 

Timestamp

 field indicates when the swlog entry occurred (e.g., THU, NOV 12, 02:06:52 2001). 

•

The 

Application

 field specifies the application ID for which the stored swlog information is displayed 

(e.g., SYSTEM). 

•

The 

Level

 field specifies the severity level for which the stored information is displayed (e.g., 

Warning). 

•

The 

Log Message

 field specifies the condition recorded by the switch logging feature. The informa-

tion in this field usually wraps around to the next line of the screen display as shown in this example.

Page 620
Image 620
Open full-size image