For feedback and comments:
documentation.feedback@alcatel-lucent.com

Table of Contents Previous Next PDF


Log Command Reference
Command Hierarchies
 
 
Log Configuration Commands
 
config
event-control application-id [event-name | event-number] [generate [severity-level] [throttle] [specific-throttle-rate events-limit interval seconds | disable-specific-throttle]
event-control application-id [event-name | event-number] suppress
no event-control application [event-name | event-number]
route-preference primary {inband | outband} secondary {inband | outband | none}
throttle-rate events [interval seconds]
 
Accounting Policy Commands
config
accounting-policy acct-policy-id
no accounting-policy acct-policy-id
description description-string
record record-name
to file log-file-id
 
Custom Record Commands
config
accounting-policy acct-policy-id [interval minutes]
no accounting-policy acct-policy-id
[no] override-counter override-counter-id
[no] queue queue-id
ref-override-counter ref-override-counter-id
ref-queue queue-id
File ID Commands
config
[no] file-id log-file-id
description description-string
location cflash-id [backup-cflash-id]
rollover minutes [retention hours]
 
Event Filter Commands
Refer to the 7x50 SR OS Services Guide for information about configuring log filters in a VPRN service.
config
[no] filter filter-id
default-action {drop | forward}
description description-string
[no] entry entry-id
action {drop | forward}
description description-string
[no] match
application {eq | neq} application-id
message {eq | neq} pattern pattern [regexp]
number {eq | neq | lt | lte | gt | gte} event-id
router {eq | neq} router-instance [regexp]
severity {eq | neq | lt | lte | gt | gte} severity-level
subject {eq | neq} subject [regexp]
Event Handling System (EHS) Commands
config
[no] handler event-handler-name
[no] entry entry-id
description description-string
min-delay <[1..604800]>
[no] script-policy script-policy-name [owner owner-name]
description description-string
Event Trigger Commands
config
[no] event application-id event-name-id
description description-string
[no] trigger-entry entry-id
event-handler event-handler-name
description description-string
log-filter filter-id
 
Log ID Commands
Refer to the 7x50 SR OS Services Guide for information about configuring logs in a VPRN service.
config
[no] log-id log-id
description description-string
from {[main] [security] [change] [debug-trace]}
time-format {local | utc}
to file log-file-id
to memory [size]
to snmp [size]
to syslog syslog-id
 
SNMP Trap Group Commands
Refer to the 7x50 SR OS Services Guide for information about configuring SNMP trap groups in a VPRN service.
config
[no] snmp-trap-group log-id
description description-string
trap-target name [address ip-address] [port port] [snmpv1 | snmpv2c | snmpv3] notify-community communityName | snmpv3SecurityName [security-level {no-auth-no-privacy | auth-no-privacy | privacy}] [replay]
 
Syslog Commands
Refer to the 7x50 SR OS Services Guide for information about configuring syslogs in a VPRN service.
config
[no] syslog syslog-id
address ip-address
description description-string
facility syslog-facility
level {emergency | alert | critical | error | warning | notice | info | debug}
log-prefix log-prefix-string
port port
Show Commands
Refer to the 7x50 SR OS Services Guide for information about log show routines for VPRN services.
show
accounting-policy [acct-policy-id] [access | network]
event-control [application [event-name | event-number]]
handler [handler-name]
handler detail
file-id [log-file-id]
filter-id [filter-id]
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] [message format [msg-regexp]]
syslog [syslog-id]
Clear Command
clear
log log-id