Log Command Reference
304
7705 SAR OS System Management Guide
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 log file or memory log ID. The log ID must have a
destination of an SNMP or log file or a memory log for this parameter to be used.
Values
1 to 99
Default
displays the event log summary
severity-level —
displays only events with the specified and higher severity
Values
cleared, indeterminate, critical, major, minor, and warning
Default
all severity levels
application —
displays only events generated by the specified application
Values
aps, atm, bgp, chassis, debug, dhcp, dot1ag, efm_oam, eth-cfm,
filter, ip, isis, ldp, logger, mpls, ntp, oam, ospf, port, ppp, ptp, qos,
rip, route_policy, rsvp, security, snmp, stp, svcmgr, system, user,
vrtr
Default
all applications
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 are displayed unless
the count parameter is present, in which case the number of entries displayed is limited by the
count.
Values
1 to 4294967295
Default
all sequence numbers
Содержание 7705 SAR
Страница 10: ...List of Figures 10 7705 SAR OS System Management Guide...
Страница 14: ...About This Guide 14 7705 SAR OS System Management Guide...
Страница 16: ...Alcatel Lucent 7705 SAR System Management Configuration Process 16 7705 SAR OS System Management Guide...
Страница 64: ...Security Configuration Procedures 64 7705 SAR OS System Management Guide...
Страница 168: ...Configuration Notes 168 7705 SAR OS System Management Guide...
Страница 182: ...SNMP Command Reference 182 7705 SAR OS System Management Guide Command Descriptions Configuration Commands Show Commands...
Страница 183: ...SNMP 7705 SAR OS System Management Guide 183 Configuration Commands SNMP System Commands SNMP Security Commands...
Страница 255: ...Event and Accounting Logs 7705 SAR OS System Management Guide 255 Clear Commands clear log log id...
Страница 354: ...Standards and Protocol Support 354 7705 SAR OS System Management Guide...
Страница 356: ...2015 Alcatel Lucent All rights reserved 3HE 09688 AAAA TQZZA Edition 01...