Show Log - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

Logging Commands

show log

Displays the contents of the buffered log. By default the entire contents of the buffered log is
displayed. 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.
Syntax
show log [tail[<10-250>]]
Parameter
show
log
tail
<10-250>
Privileged Exec and Global Configuration mode
Mode
To display the contents of the buffered log use the command:
Examples
<date> <time> <facility>.<severity> <program[<pid>]>: <message>
--------------------------------------------------------------------
2006 Nov 10 09:30:09 syslog.notice syslog-ng[67]: syslog-ng starting up;
version=\'2.0rc3\'
2006 Nov 10 09:30:09 auth.warning portmap[106]: user rpc not found, reverting to
user bin
2006 Nov 10 09:30:09 cron.notice crond[116]: crond 2.3.2 dillon, started, log level
8
2006 Nov 10 09:30:14 daemon.err snmpd[181]: /flash/.configs/snmpd.conf: line 20:
Error: bad SUBTREE object 2006 Nov 10 09:30:14 user.info HSL[192]: HSL: INFO:
Registering port port1.0.1
...
To display the 10 latest entries in the buffered log use the command:
<date> <time> <facility>.<severity> <program[<pid>]>: <message>
--------------------------------------------------------------------
2006 Nov 10 13:30:01 cron.notice crond[116]: USER manager pid 469 cmd logrotate /
etc/logrotate.conf
2006 Nov 10 13:30:01 cron.notice crond[116]: USER manager pid 471 cmd nbqueue --
wipe
2006 Nov 10 13:35:01 cron.notice crond[116]: USER manager pid 472 cmd nbqueue --
wipe
2006 Nov 10 13:40:01 cron.notice crond[116]: USER manager pid 477 cmd nbqueue --
wipe
2006 Nov 10 13:44:36 syslog.notice syslog-ng[67]: Log statistics;
processed=\'center(queued)=70\', processed=\'2006 Nov 10 13:45:01 cron.notice
crond[116]: USER manager pid 478 cmd logrotate /etc/logrotate.conf
2006 Nov 10 13:45:01 cron.notice crond[116]: USER manager pid 480 cmd nbqueue --
wipe
2006 Nov 10 13:49:32 syslog.notice syslog-ng[67]: SIGHUP received, reloading
configuration;
2006 Nov 10 13:50:01 cron.notice crond[116]: USER manager pid 482 cmd nbqueue --
wipe
2006 Nov 10 13:55:01 cron.notice crond[116]: USER manager pid 483 cmd nbqueue --
wipe
...
10.34
Description
Show running system information
Display logging information
Display only the latest log entries
Specify the number of log entries to display
awplus#
show log
awplus#
show log tail 10
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
C613-50007-01 REV B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents