Show log – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 309

Advertising
background image

Logging Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

10.37

show log

This command displays the contents of the buffered log.

For information on output options, see

“Controlling “show” Command Output” on

page 1.37

.

Syntax

show log [tail [<10-250>]]

Default

By default the entire contents of the buffered log is displayed.

Mode

User Exec, Privileged Exec and Global Configuration

Usage

If the optional tail parameter is specified only the latest 10 messages in the buffered log
are displayed. A numerical value can be specified after the tail parameter to select how
many of the latest messages should be displayed.

Examples

To display the contents of the buffered log use the command:

To display the 10 latest entries in the buffered log use the command:

Output

Figure 10-3: Example output from the show log command

Parameter

Description

tail

Display only the latest log entries.

<10-250>

Specify the number of log entries to display.

awplus#

show log

awplus#

show log tail 10

awplus#show log

<date> <time> <facility>.<severity> <program[<pid>]>: <message>
--------------------------------------------------------------------
2011 Aug 29 07:55:22 kern.notice awplus kernel: Linux version 2.6.32.12-at1 (mak
er@awpmaker03-dl) (gcc version 4.3.3 (Gentoo 4.3.3-r3 p1.2, pie-10.1.5) ) #1 Wed
Dec 8 11:53:40 NZDT 2010
2011 Aug 29 07:55:22 kern.warning awplus kernel: No pci config register base in
dev tree, using default
2011 Aug 29 07:55:23 kern.notice awplus kernel: Kernel command line: console=tty
S0,9600 releasefile=x310-5.4.4C.rel ramdisk=14688 bootversion=1.1.0-rc12
loglevel=1
extraflash=00000000
2011 Aug 29 07:55:25 kern.notice awplus kernel: RAMDISK: squashfs filesystem fou
nd at block 0
2011 Aug 29 07:55:28 kern.warning awplus kernel: ipifwd: module license 'Proprie
tary' taints kernel.
.
.
.

Advertising