Logging Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
10.23
Mode
Configure mode
Examples
To create a filter to send all messages generated by BGP that have a severity of "notices" or
higher to a remote syslog server with IP address 10.32.16.21 use the command:
awplus(config)#log host 10.32.16.21 level notices program bgp
program
Filter messages by program. Include messages from a specified program in
the log.
<program-name> The name of a program to log messages from, either one of the following
predefined program names (not case-sensitive), or another program name
(case -sensitive) that you find in the log output.
rip
Routing Information Protocol (RIP)
ripng
Routing Information Protocol - next generation (RIPng)
ospf
Open Shortest Path First (OSPF)
ospfv3
Open Shortest Path First (OSPF) version 3 (OSPFv3)
bgp
Border Gateway Protocol (BGP)
rsvp
Resource Reservation Protocol (RSVP)
pim-dm
Protocol Independent Multicast - Dense Mode (PIM-DM)
pim-sm
Protocol Independent Multicast - Sparse Mode (PIM-SM)
pim-smv6
Protocol Independent Multicast - Spare Mode version 6
(PIM-SMv6)
dot1x
IEEE 802.1X Port-Based Access Control
lacp
Link Aggregation Control Protocol (LACP)
stp
Spanning Tree Protocol (STP)
rstp
Rapid Spanning Tree Protocol (RSTP)
mstp
Multiple Spanning Tree Protocol (MSTP)
imi
Integrated Management Interface (IMI)
imish
Integrated Management Interface Shell (IMISH)
epsr
Ethernet Protection Switched Rings (EPSR)
irdp
ICMP Router Discovery Protocol (IRDP)
rmon
Remote Monitoring
facility
Filter messages to the log by syslog facility.
<facility>
Specify one of the following syslog facilities to include messages from in the
log:
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
(Cont)
Description
(Cont)