11-29-2021 08:01 AM
xxx-xxx-gw1(config)# logging discriminator yyyy ?
Possible completions:
facility mnemonics msg-body rate-limit severity <cr>
xxx-xxx-gw1(config)#
When do we use facility option or mnemonics option or msg-body when building the logging discriminator configs .
Trying this configs via CLI mode on 17.3.4a
12-07-2021 12:12 PM
Those options refers to which part of the log you want to filter.
This is the standard format of a log message on cisco IOS:
seq no:timestamp: %facility-severity-MNEMONIC:description
Example:
00:00:46: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up
More information about logging:
https://www.cisco.com/c/en/us/td/docs/routers/access/wireless/software/guide/SysMsgLogging.html
More information about logging discriminator
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/esm/command/esm-cr-book/esm-cr-a1.html
01-28-2022 10:04 AM - edited 01-28-2022 10:05 AM
Hi,
I am also facing the same problem.
01-28-2022 10:23 AM
Hello,
which log entry do you need the discriminator to act on ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide