log ’string’
log -a
log -a filter
log -a ‘string’
Examples of Log ‘‘string”
log ‘mgr’ Displays all messages in the event log (since the last
boot)that have the string ‘‘mgr’‘.
log ‘rok’ Displays all messages in the event log (since the last
boot) that have the string ‘‘rok’’.
log -a ‘mgr’ Displays all messages in the event log that have the
string ‘mgr’’.
log -a ‘rok’ Displays all messages in the event log that have the
string ‘‘rok’’.
Note The string used with Log is not case-sensitive.
In a log ’string’ command, you can use a double quote (’’) instead of a
single quote (’) if you prefer, and can omit the closing quote mark if it is
convenient. For example, all of the following commands produce the
same result: log ’cct’, log "cct", log ’cct.
Using the Network Control Language
Managing Router Operations and Resources
16-12