Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 286
Logging Commands
Software Reference for x310 Series Switches
10.14
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
Default
By default the buffered log has a filter to select messages whose severity level is
critical
or higher. This filter may be removed using the no variant of this command.
This filter may be removed and replaced by filters that are more selective.
Mode
Global Configuration
Examples
To create a filter to send all messages generated by MSTP that have a severity of info or
higher to console instances where the log console command has been given, remove the
default filter that includes everything use the following commands:
and then use the command:
To create a filter to send all messages containing the text “Bridging
initialization”
to console instances where the log console command has been
given use the following commands:
To remove a filter that sends all messages generated by EPSR that have a severity of
notices
or higher to consoles use the following commands:
<facility>
Specify one of the following syslog facilities to include messages from:
kern
Kernel messages
user
Random user-level messages
Mail system
daemon
System daemons
auth
Security/authorization messages
syslog
Messages generated internally by syslogd
lpr
Line printer subsystem
news
Network news subsystem
uucp
UUCP subsystem
cron
Clock daemon
authpriv
Security/authorization messages (private)
ftp FTP
daemon
msgtext
Select messages containing a certain text string
<text-
string>
A text string to match. This is case sensitive, and must be the last text
on the command line.
Parameter
Description
awplus#
configure terminal
awplus(config)#
log console level info program mstp
awplus(config)#
log console level info program mstp
awplus#
configure terminal
awplus(config)#
log console msgtext "Bridging initialization"
awplus#
configure terminal
awplus(config)#
no log console level notices program epsr