C613-50163-01 Rev C
Command Reference for GS970M Series
292
AlliedWare Plus™ Operating System - Version 5.4.7-0.x
L
OGGING
C
OMMANDS
LOG
(
FILTER
)
Mode
Global Configuration
Examples
To create a filter to send all messages generated by EPSR that have a severity of
notices
or higher to the email address [email protected], use the following
commands:
awplus#
configure terminal
awplus(config)#
log email [email protected] level notices
program epsr
To create a filter to send all messages containing the text “Bridging initialization”,
to the email address [email protected], use the following commands:
awplus#
configure terminal
awplus(config)#
log email [email protected] msgtext "Bridging
initialization"
imi
Integrated Management Interface (IMI)
imish
Integrated Management Interface Shell (IMISH)
epsr
Ethernet Protection Switched Rings (EPSR)
rmon
Remote Monitoring
loopprot
Loop Protection
dhcpsn
DHCP snooping (DHCPSN)
facility
Filter messages by syslog facility.
<
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 (maximum 128 characters). This is case sensitive, and must be the last
text on the command line.
Parameter
Description