Displaying contents of log file – ATL Telecom R1-SW Ethernet Switch User Manual

Page 109

Advertising
background image

Basic Configuration

5-41

Displaying Contents of Log File

To display the contents of the log file, use the following command in Privileged mode:

Table 5-27 Displaying contents of log file

Command

Task

show logging buffer

<line>

1. Display the log messages saved in the log file.

y

<line>

: Number of log messages to display.


The following is a sample output of the show logging buffer command:

#

show logging buffer 10

Nov 14 10:06:58 localhost VLAN-6-VLAN_CREATED: vlan [1] is created

Nov 14 10:07:09 localhost SYS-6-SYS_MODULE: module [1] is inserted

Nov 14 10:07:09 localhost SYS-6-SYS_MODULE: module [2] is inserted

Nov 14 10:07:09 localhost SNMP-5-COLDSTART: Cold Start

Nov 14 10:07:10 localhost PORT-6-LINK_CHANGE: 1/1: ifIndex 1 Link Up (Up)

Nov 14 10:07:32 localhost AUTHORIZE-6-LOGIN: login corecess authentication

service(login) tty(/cinitrd/dev/console) from (local)

Nov 14 10:07:33 localhost AUTHORIZE-6-USER_LOGIN: corecess login from

/cinitrd/dev/console

#


The following table describes the fields shown by the show logging buffer command:

Nov 24 13:49:56 CCR1AD AUTHORIZE-6-USER_LOGIN: root login from /dev/console

No

Description

n

Date and time that the event occurred (month date hour:minute:second)

o

System name

r

The brief description of the event in brief.



n

o

p

Advertising