Nortel 15000 用户指南

下载
页码 148
Managing Events
302768-C Rev 00
4-3
 
Applying Write Filters to the Event Log
During normal operation, the event log captures all event messages generated 
internally by the router. However, for troubleshooting purposes only, you can use 
the 
log
 command to:
Include specific event messages in the event log.
Exclude specific event messages from the event log. 
Enter the 
log
 command as follows:
log 
{
-i
 
|
 
-x 
} [
-e
<entity>
] [
-f
<severity>
] [
-s
<slot_ID>
]
-i 
= Include event messages specified by the 
-e
-f
, and/or 
-s
 options.
-x
 = Exclude event messages specified by the 
-e
-f
, and/or 
-s
 options. 
 describes the 
log
 command filter options.
Note: 
You can add the 
-e
-f
, and 
-s
 options to the 
log
 command in any order.
Table 4-1.
Log Command Options
Option
Variable
Function
-e
<entity_name> 
Specifies the name of the software service for which 
the router will log (write) event messages to the 
local event log, or exclude from the event log. When 
you specify an entity name, you must:
Use uppercase letters.
Enclose the entity name in quotation marks 
when that name contains spaces.
See the event database on the Internet at 
support.baynetworks.com/library/tpubs/events-p for 
a list of router software entity names. 
(Continued)