Event and Accounting Logs
7950 SR OS System Management Guide
Page 433
log-id
Syntax
log-id
[
log-id
]
[
severity severity-level
]
[
application application
]
[
sequence from-seq
[
to-
seq
]]
[
count count
]
[
router
router-instance
[
expression
]] [
subject subject
[
regexp
]]
[
ascending
|
descending
]
Context
show>log
Description
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.
Parameters
log-id —
Displays the contents of the specified file log or memory log ID. The log ID must have a
destination of an SNMP or file log or a memory log for this parameter to be used.
Default
Displays the event log summary
Values
1
—
99
severity severity-level —
Displays only events with the specified and higher severity.
Default
All severity levels
Values
cleared, indeterminate, critical, major, minor, warning
application application —
Displays only events generated by the specified application.
Default
All applications
Values
bgp, cflowd, chassis, debug, igmp, lldp, mirror, ospf, pim, port, snmp, system, user,
vrtr
expression —
Specifies to use a regular expression as match criteria for the router instance string.
sequence from-seq
[
to-seq
]
—
Displays the log entry numbers from a particular entry sequence
number (
from-seq
) to another sequence number (
to-seq
). The
to-seq
value must be larger than the
from-seq
value.
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
.
Default
All sequence numbers
Values
1
—
4294967295
count count —
Limits the number of log entries displayed to the
number
specified.
Default
All log entries
Values
1
—
4294967295
router-instance —
Specifies a router name up to 32 characters to be used in the display criteria.
Содержание 7950 SR
Страница 10: ...Page 10 7950 SR OS System Management Guide List of Figures...
Страница 14: ...About This Guide Page 14 7950 SR OS System Management Guide...
Страница 16: ...Alcatel Lucent 7950 SR Router Configuration Process Page 16 7950 SR OS System Management Guide...
Страница 56: ...Configuration Notes Page 56 7950 SR OS System Management Guide...
Страница 88: ...Configuring Login Controls Page 88 7950 SR OS System Management Guide...
Страница 106: ...Security Command Reference Page 106 7950 SR OS System Management Guide...
Страница 206: ...Distributed CPU Protection Commands Page 206 7950 SR OS System Management Guide...
Страница 244: ...Debug Commands Page 244 7950 SR OS System Management Guide...
Страница 254: ...Configuration Notes Page 254 7950 SR OS System Management Guide...
Страница 276: ...SNMP Security Commands Page 276 7950 SR OS System Management Guide...
Страница 296: ...Show Commands Page 296 7950 SR OS System Management Guide...
Страница 322: ...Configuration Notes Page 322 7950 SR OS System Management Guide...
Страница 358: ...Log Management Tasks Page 358 7950 SR OS System Management Guide...
Страница 454: ...Facility Alarm List Page 454 7950 SR OS System Management Guide...
Страница 460: ...Standards and Protocols Page 460 Standards and Protocols...