You can display the instance numbers for enabled instances per facility using the Exec mode
show
instance-logging
command.
Global Configuration Mode Filtering
You can filter the contents of event logs at the Exec mode and Global Configuration mode levels.
Follow the example below to configure run time event logging parameters for the system:
configure
logging filter runtime facility facility level report_level
logging display { event-verbosity | pdu-data | pdu-verbosity }
end
Notes:
•
facility facility
and
level severity_level
–
Configure the logging filter that determines which system
facilities should be logged and at what levels. For detailed information, see
page 132
and
Event Severities, on page 157
.
•
Repeat for every facility that you would like to log.
•
Optional:
Configure event ID restrictions by adding the
logging disable eventid
command. The system
provides the ability to restrict the sending of a specific event ID or a range of event IDs to minimize the
amount of data logged to that which is most useful. Repeat to disable logging for additional event IDs
or event ID ranges.
•
If an administrator restricts event logging for an Event ID or Event ID range using the above command
(
logging disable eventid
), the system will generate a Critical Event log "cli 30999 critical" as well as
an SNMP trap "1361 (DisabledEventIDs)" with the specific Event IDs or Event ID range that was
disabled.
These event logs and traps are enabled by default in this release, and cannot be disabled.
•
If an administrator lowers the logging level (using the
logging filter runtime facility facility level
report_level
command below the default level of "error", the system will generate a Critical Event log
"cli 30998 critical" as well as an SNMP trap "1362 (LogLevelChanged)" with the specific Event IDs or
Event ID range that was disabled.
These event logs and traps are enabled by default in this release, and cannot be disabled.
The following examples show the CLI output of the traps generated when event logging or logging levels are
changed.
[local]host# show snmp trap statistics
SNMP Notification Statistics:
...
Trap Name
#Gen #Disc
Disable Last Generated
----------------------------------- ----- -----
------- --------------------
…
DisabledEventIDs
1
0
0
2017:05:11:15:35:25
LogLevelChanged
2
0
0
2017:05:11:15:28:03
[local]host# show snmp trap history
There are x historical trap records (5000 maximum)
Timestamp
Trap Information
------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
…
Thu May 11 15:28:03 2017 Internal trap notification 1362 (LogLevelChanged) Logging level
of facility resmgr is changed to critical by user #initial-config# context local privilege
level Security Administrator ttyname /dev/pts/0 address type IPV4 remote ip address 0.0.0.0
ASR 5500 System Administration Guide, StarOS Release 21.5
130
System Logs
Configuring Event Log Filters
Содержание ASR 5500
Страница 100: ...ASR 5500 System Administration Guide StarOS Release 21 5 74 System Interfaces and Ports VLANs and Management Ports ...
Страница 136: ...ASR 5500 System Administration Guide StarOS Release 21 5 110 Smart Licensing Smart Licensing Bulk Statistics ...
Страница 140: ...ASR 5500 System Administration Guide StarOS Release 21 5 114 Monitoring the System Clearing Statistics and Counters ...
Страница 260: ...ASR 5500 System Administration Guide StarOS Release 21 5 234 Routing Viewing Routing Information ...
Страница 278: ...ASR 5500 System Administration Guide StarOS Release 21 5 252 BGP MPLS VPNs VPN Related CLI Commands ...
Страница 292: ...ASR 5500 System Administration Guide StarOS Release 21 5 266 Session Recovery Sample Output for show rct stats verbose ...
Страница 324: ...ASR 5500 System Administration Guide StarOS Release 21 5 298 Interchassis Session Recovery Fallback Procedure ...
Страница 338: ...ASR 5500 System Administration Guide StarOS Release 21 5 312 Engineering Rules ECMP Groups ...
Страница 362: ...ASR 5500 System Administration Guide StarOS Release 21 5 336 StarOS Tasks Management Processes ...