Refer to the SR OS Services Guide for information about log show routines for VPRN services.
The command outputs in the following section are examples only; actual displays may differ depending on supported functionality and user configuration.
This command displays accounting policy information.
Accounting Policy Output
Table 73 describes accounting policy output fields.
Label | Description |
Policy ID | The identifying value assigned to a specific policy. |
Type | Identifies accounting record type forwarded to the configured accounting file. |
access Indicates that the policy is an access accounting policy. | |
network Indicates that the policy is a network accounting policy. | |
none Indicates no accounting record types assigned. | |
Def | Yes Indicates that the policy is a default access or network policy. |
No Indicates that the policy is not a default access or network policy. | |
Admin State | Displays the administrative state of the policy. |
Up Indicates that the policy is administratively enabled. | |
Down Indicates that the policy is administratively disabled. | |
Oper State | Displays the operational state of the policy. |
Up Indicates that the policy is operationally up. | |
Down Indicates that the policy is operationally down. | |
Intvl | Displays the interval, in minutes, in which statistics are collected and written to their destination. The default depends on the record name type. |
File ID | The log destination. |
Record Name | The accounting record name which represents the configured record type. |
This policy is applied to | Specifies the entity where the accounting policy is applied. |
This command displays accounting policy record names.
Accounting Records Output
Table 74 describes accounting records output fields.
Label | Description |
Record # | The record ID that uniquely identifies the accounting policy, expressed as a decimal integer. |
Record Name | The accounting record name. |
Def. Interval | The default interval, in minutes, in which statistics are collected and written to their destination. |
![]() | Note:
aa, video and subscriber records are not applicable to the 7950 XRS. |
This command displays a list of all application names that can be used in event-control and filter commands.
This command displays event control settings for events including whether the event is suppressed or generated and the severity level for the event.
If no options are specified all events, alarms and traps are listed.
Show Event Control Output
Table 75 describes the output fields for the event control.
Label | Description |
Application | The application name. |
ID# | The event ID number within the application. L ID# An “L” in front of an ID represents event types that do not generate an associated SNMP notification. Most events do generate a notification, only the exceptions are marked with a preceding “L”. |
Event Name | The event name. |
P | CL The event has a cleared severity/priority. |
CR The event has critical severity/priority. | |
IN The event has indeterminate severity/priority. | |
MA The event has major severity/priority. | |
MI The event has minor severity/priority. | |
WA The event has warning severity/priority. | |
g/s | gen The event will be generated/logged by event control. |
sup The event will be suppressed/dropped by event control. | |
thr Specifies that throttling is enabled. | |
Logged | The number of events logged/generated. |
Dropped | The number of events dropped/suppressed. |
The following is a sample output:
This command enables the context to display Event Handling System (EHS) information.
This command enters the context to display EHS handler information.
Show Handler Output
Table 76 describes handler output fields.
Label | Description |
Handler | The name of the handler. |
Description | The handler description string. |
Admin State | The administrative state of the handler. |
Oper State | The operational state of the handler. |
Handler Action-List Entry | |
Entry-id | The action-list entry identifier. |
Description | The action-list entry description string. |
Admin State | The administrative state of the action-list entry. |
Policy Name | The name of the related script policy. |
Policy Owner | The owner of the related script policy. |
Last Exec | The timestamp of the last successful execution of the action-list entry. |
Handler Action-List Entry Execution Statistics | |
Enqueued | The number of times the action-list entry was successfully passed on to the SR OS sub-system or module that will attempt to process and execute the action. For a script-policy entry, this indicates that the script request has been enqueued but does not necessarily indicate that the script has successfully launched or completed. For status and information about the script, use the show>system>script-control command. |
Err Launch | The number of times the action-list entry was not successfully handed over to the next SR OS sub-system or module in the processing chain. This can be caused by a variety of conditions including a full script request input queue. |
Err Adm Status | The number of times the action-list entry was not executed because the entry was administratively disabled. |
Total | The total number of times that the action-list entry attempted execution. |
This command displays event file log information.
If no command line parameters are specified, a summary output of all event log files is displayed.
Specifying a file ID displays detailed information on the event file log.
Log File Output
Table 77 describes the output fields for a log file summary.
Label | Description |
file-id | The log file ID. |
rollover | The rollover time for the log file which is how long in between partitioning of the file into a new file. |
retention | The retention time for the file in the system which is how long the file should be retained in the file system. |
admin location | The primary flash device specified for the file location. |
none indicates no specific flash device was specified. | |
backup location | The secondary flash device specified for the file location if the admin location is not available. |
none Indicates that no backup flash device was specified. | |
oper location | The actual flash device on which the log file exists. |
file-id | The log file ID. |
rollover | The rollover time for the log file which is how long in between partitioning of the file into a new file. |
retention | The retention time for the file in the system which is how long the file should be retained in the file system. |
file name | The complete pathname of the file associated with the log ID. |
expired | Indicates whether or not the retention period for this file has passed. |
state | in progress Indicates the current open log file. |
complete Indicates the old log file. |
This command displays event log filter policy information.
Event Log Filter Summary Output
Table 78 describes the output fields for event log filter summary information.
Label | Description |
Filter Id | The event log filter ID. |
Applied | no The event log filter is not currently in use by a log ID. |
yes The event log filter is currently in use by a log ID. | |
Default Action | drop The default action for the event log filter is to drop events not matching filter entries. |
forward The default action for the event log filter is to forward events not matching filter entries. | |
Description | The description string for the filter ID. |
Event Log Filter Detailed Output
Table 79 describes the output fields for detailed event log filter information.
Label | Description |
Filter-id | The event log filter ID. |
Applied | no The event log filter is not currently in use by a log ID. |
yes The event log filter is currently in use by a log ID. | |
Default Action | drop The default action for the event log filter is to drop events not matching filter entries. |
forward The default action for the event log filter is to forward events not matching filter entries. | |
Description (Filter-id) | The description string for the filter ID. |
Table 80 describes the output fields for log filter match criteria information.
Label | Description |
Entry-id | The event log filter entry ID. |
Action | default There is no explicit action for the event log filter entry and the filter’s default action is used on matching events. |
drop The action for the event log filter entry is to drop matching events. | |
forward The action for the event log filter entry is to forward matching events. | |
Description (Entry-id) | The description string for the event log filter entry. |
Application | The event log filter entry application match criterion. |
Event Number | The event log filter entry application event ID match criterion. |
Severity | cleared The log event filter entry application event severity cleared match criterion. |
indeterminate The log event filter entry application event severity indeterminate match criterion. | |
critical The log event filter entry application event severity critical match criterion. | |
major The log event filter entry application event severity cleared match criterion. | |
minor The log event filter entry application event severity minor match criterion. | |
warning The log event filter entry application event severity warning match criterion. | |
Subject | Displays the event log filter entry application event ID subject string match criterion. |
Router | Displays the event log filter entry application event ID router router-instance string match criterion. |
Operator | There is an operator field for each match criteria: application, event number, severity, and subject. |
equal Matches when equal to the match criterion. | |
greaterThan Matches when greater than the match criterion. | |
greaterThanOrEqual Matches when greater than or equal to the match criterion. | |
lessThan Matches when less than the match criterion. | |
lessThanOrEqual Matches when less than or equal to the match criterion. | |
notEqual Matches when not equal to the match criterion. | |
off No operator specified for the match criterion. |
Show log collector statistics for the main, security, change and debug log collectors.
Log-Collector Output
Table 81 describes log-collector output fields.
Label | Description |
<Collector Name> | Main The main event stream contains the events that are not explicitly directed to any other event stream. |
Security The security stream contains all events that affect attempts to breach system security such as failed login attempts, attempts to access MIB tables to which the user is not granted access or attempts to enter a branch of the CLI to which access has not been granted. | |
Change The change event stream contains all events that directly affect the configuration or operation of this node. | |
Debug The debug-trace stream contains all messages in the debug stream. | |
Dest. Log ID | Specifies the event log stream destination. |
Filter ID | The value is the index to the entry which defines the filter to be applied to this log's source event stream to limit the events output to this log's destination. If the value is 0, then all events in the source log are forwarded to the destination. |
Status | Enabled Logging is enabled. |
Disabled Logging is disabled. | |
Dest. Type | Console A log created with the console type destination displays events to the physical console device. Events are displayed to the console screen whether a user is logged in to the console or not. |
Session A user logged in to the console device or connected to the CLI via a remote telnet or SSH session can also create a log with a destination type of 'session'. Events are displayed to the session device until the user logs off. | |
Syslog Log events are sent to a syslog receiver. | |
SNMP traps Events defined as SNMP traps are sent to the configured SNMP trap destinations and are logged in NOTIFICATION-LOG-MIB tables. | |
File All selected log events will be directed to a file on one of the compact flash disks. | |
Memory All selected log events will be directed to an in-memory storage area. |
This command displays an event log summary with settings and statistics or the contents of a specific log file, SNMP log, or memory log.
If the command is specified with no command line options, a summary of the defined system logs is displayed. The summary includes log settings and statistics.
If the log ID of a memory, SNMP, or file event log is specified, the command displays the contents of the log. Additional command line options control what and how the contents are displayed.
Contents of logs with console, session or syslog destinations cannot be displayed. The actual events can only be viewed on the receiving syslog or console device.
If the to-seq number is not provided, the log contents to the end of the log is displayed unless the count parameter is present in which case the number of entries displayed is limited by the count.
Show Log-ID Output
Table 82 describes the log ID field output.
Label | Description |
Log Id | An event log destination. |
Source | no The event log filter is not currently in use by a log ID. |
yes The event log filter is currently in use by a log ID. | |
Filter ID | The value is the index to the entry which defines the filter to be applied to this log's source event stream to limit the events output to this log's destination. If the value is 0, then all events in the source log are forwarded to the destination. |
Admin State | Up Indicates that the administrative state is up. |
Down Indicates that the administrative state is down. | |
Oper State | Up Indicates that the operational state is up. |
Down Indicates that the operational state is down. | |
Logged | The number of events that have been sent to the log source(s) that were forwarded to the log destination. |
Dropped | The number of events that have been sent to the log source(s) that were not forwarded to the log destination because they were filtered out by the log filter. |
Dest. Type | Console All selected log events are directed to the system console. If the console is not connected, then all entries are dropped. |
Syslog All selected log events are sent to the syslog address. | |
SNMP traps Events defined as SNMP traps are sent to the configured SNMP trap destinations and are logged in NOTIFICATION-LOG-MIB tables. | |
File All selected log events will be directed to a file on one of the CPM's compact flash disks. | |
Memory All selected log events will be directed to an in-memory storage area. | |
Dest ID | The event log stream destination. |
Size | The allocated memory size for the log. |
Time format | The time format specifies the type of timestamp format for events sent to logs where log ID destination is either syslog or file. When the time format is UTC, timestamps are written using the Coordinated Universal Time value. When the time format is local, timestamps are written in the system's local time. |
This command displays SNMP trap group configuration information.
SNMP Trap Group Output
Table 83 describes SNMP trap group output fields.
Label | Description |
Log-ID | The log destination ID for an event stream. |
Address | The IP address of the trap receiver, |
Port | The destination UDP port used for sending traps to the destination, expressed as a decimal integer. |
Version | Specifies the SNMP version format to use for traps sent to the trap receiver. Valid values are snmpv1, snmpv2c, snmpv3. |
Community | The community string required by snmpv1 or snmpv2c trap receivers. |
Security-Level | The required authentication and privacy levels required to access the views on this node. |
Replay | Indicates whether or not the replay parameter has been configured, enabled or disabled, for the trap-target address. |
Replay from | Indicates the sequence ID of the first missed notification that will be replayed when a route is added to the routing table by which trap-target address can be reached. If no notifications are waiting to be replayed this field shows n/a. |
Last Replay | Indicates the last time missed events were replayed to the trap-target address. If no events have ever been replayed this field shows never. |
This command displays syslog event log destination summary information or detailed information on a specific syslog destination.
Syslog Event Log Destination Summary Output
Table 84 describes the syslog output fields.
Label | Description |
Syslog ID | The syslog ID number for the syslog destination. |
IP Address | The IP address of the syslog target host. |
Port | The configured UDP port number used when sending syslog messages. |
Facility | The facility code for messages sent to the syslog target host. |
Severity Level | The syslog message severity level threshold. |
Below Level Dropped | A count of messages not sent to the syslog collector target because the severity level of the message was above the configured severity. The higher the level, the lower the severity. |
Prefix Present | Yes A log prefix was prepended to the syslog message sent to the syslog host. |
No A log prefix was not prepended to the syslog message sent to the syslog host. | |
Description | A text description stored in the configuration file for a configuration context. |
LogPrefix | The prefix string prepended to the syslog message. |
Log-id | Events are directed to this destination. |
The clear log log-id command has been deprecated and replaced by the clear log log-id log-id command. The clear log log-id command continues to be supported in the current release, but it is recommended to use the clear log log-id log-id command instead.
Reinitializes/rolls over the specified memory/file event log ID. Memory logs are reinitialized and cleared of contents. File logs are manually rolled over by this command.
This command is only applicable to event logs that are directed to file destinations and memory destinations.
SNMP, syslog and console/session logs are not affected by this command.
This command clears the counters in the show log event-handling handler event-handler-name output. It does not clear the global or aggregate counters shown using the information command.