Exec Mode Filtering - Cisco ASR 5000 Administration Manual

Staros release 21.1
Hide thumbs Also See for ASR 5000:
Table of Contents

Advertisement

System Logs

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:
• pdu-data format – Specifies output format for packet data units when logged as one of:
• 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.
• 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.
• none – raw format (unformatted).
• hex – hexadecimal format
• hex-ascii – hexadecimal and ASCII similar to a main-frame dump
ASR 5000 System Administration Guide, StarOS Release 21.1
Configuring Event Log Filters
167

Advertisement

Table of Contents
loading

Table of Contents