Exec Mode Filtering
These commands allow you to limit the amount of data contained in logs without changing global logging
parameters.
Follow the examples below to filter logs via Exec mode commands.
Active Filtering
logging active [ copy runtime filters ] [ event-verbosity event_level ] [ pdu-data format ] [ pdu-verbosity
pdu_level ]
Notes:
•
copy runtime filters
–
Copies the runtime filters and uses that copy to filter the current logging session.
•
event-verbosity event_level
–
Specifies the level of verboseness to use in logging of events as one of:
•
min
–
Displays minimal information about the event. Information includes event name, facility,
event ID, severity level, date, and time.
•
concise
–
Displays detailed information about the event, but does not provide the event source
within the system.
•
full
–
Displays detailed information about event, including source information, identifying where
within the system the event was generated.
•
pdu-data format
–
Specifies output format for packet data units when logged as one of:
•
none
–
raw format (unformatted).
•
hex
–
hexadecimal format
•
hex-ascii
–
hexadecimal and ASCII similar to a main-frame dump
•
pdu-verbosity pdu_level
–
Specifies the level of verboseness to use in logging of packet data units as
an integer from 1 through 5, where 5 is the most detailed.
Save the configuration as described in the
Verifying and Saving Your Configuration
chapter.
Disable or Enable Filtering by Instance(s)
logging filter active facility facility level severity_level [ critical-info | no-critical-info ]
logging filter { disable | enable } facility facility { all | instance instance_number }
Notes:
•
active
–
Indicates that only active processes are to have logging options set.
•
disable
–
Disables logging for a specific instance or all instances. This keyword is only supported for
aaamgr, hamgr and sessmgr facilities.
•
enable
–
Enables logging for a specific instance or all instances. This keyword is only supported for
aaamgr, hamgr and sessmgr facilities. By default logging is enabled for all instances of aaamgr, hamgr
and sessmgr.
ASR 5000 System Administration Guide, StarOS Release 21.1
167
System Logs
Configuring Event Log Filters
Summary of Contents for ASR 5000
Page 26: ...ASR 5000 System Administration Guide StarOS Release 21 1 xxvi Contents ...
Page 316: ...ASR 5000 System Administration Guide StarOS Release 21 1 288 VLANs VLAN Related CLI Commands ...
Page 400: ...ASR 5000 System Administration Guide StarOS Release 21 1 372 Engineering Rules ECMP Groups ...