cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2370
Views
0
Helpful
11
Replies

Do not show useless logging,such as DAI That is too much.

haibo li
Level 1
Level 1

Hi,

I ask a question,I show logging in a switch ,In this switch, there are much more logging, I would like to filter these logging, such as the following ARP DAI logging ,Is there  a  way to deny DAI logging.

   

NO40-WAIWANG-HX#show logging
Syslog logging: enabled (0 messages dropped, 2 messages rate-limited, 0 flushes,
0 overruns)
    Console logging: level debugging, 226333 messages logged
    Monitor logging: level debugging, 0 messages logged
    Buffer logging: level debugging, 226334 messages logged
    Exception Logging: size (8192 bytes)
    Count and timestamp logging messages: disabled
    Trap logging: level informational, 226339 message lines logged

Log Buffer (2000000 bytes):

*Jul 30 17:00:47: %SW_DAI-4-DHCP_SNOOPING_DENY: 1 Invalid ARPs (Req) on Gi3/8, v
lan 3.([001b.7817.579a/10.224.0.87/0501.0201.0401/10.224.0.166/17:00:46 UTC Tue
Jul 30 2013])
*Jul 30 17:04:09: %SW_DAI-4-DHCP_SNOOPING_DENY: 1 Invalid ARPs (Req) on Gi3/8, v
lan 3.([0021.cc62.435a/0.0.0.0/0000.0000.0000/10.224.0.193/17:04:09 UTC Tue Jul
30 2013])
*Jul 30 17:04:10: %SW_DAI-4-DHCP_SNOOPING_DENY: 1 Invalid ARPs (Req) on Gi3/8, v
lan 3.([0021.cc62.435a/0.0.0.0/0000.0000.0000/10.224.0.193/17:04:10 UTC Tue Jul
30 2013])
*Jul 30 17:04:11: %SW_DAI-4-DHCP_SNOOPING_DENY: 1 Invalid ARPs (Req) on Gi3/8, v
lan 3.([0021.cc62.435a/0.0.0.0/0000.0000.0000/10.224.0.193/17:04:11 UTC Tue Jul
30 2013])

too more .......

1 Accepted Solution

Accepted Solutions

Leo Laohoo
Hall of Fame
Hall of Fame

Try this:

logging discriminator DAI mnemonics drop SW_DAI-4-DHCP_SNOOPING_DENY

logging buffered discriminator DAI 4096

logging monitor  discriminator DAI

logging console  discriminator DAI

View solution in original post

11 Replies 11

Leo Laohoo
Hall of Fame
Hall of Fame

Try this:

logging discriminator DAI mnemonics drop SW_DAI-4-DHCP_SNOOPING_DENY

logging buffered discriminator DAI 4096

logging monitor  discriminator DAI

logging console  discriminator DAI

Thank you very much!

Happy to see it works. 

I tried did not work this command

logging discriminator DAI mnemonics drop SW_DAI-4-DHCP_SNOOPING_DENY

logging buffered discriminator DAI 4096

logging monitor  discriminator DAI

logging console  discriminator DAI

Hello,

what switch type(s) and IOS do you have?

Regards
Rolf

cat 4500

ystem image file is "bootflash:cat4500es8-universalk9.SPA.03.07.01.E.152-3.E1.b                                                                                                                                                             in"

this one

Please have a look at the linked bug and release notes in this discussion.

HTH
Rolf

Good day.

Try to read this tread -

https://supportforums.cisco.com/thread/2038440

Thank you very much! but This is switch !

Leo's method is the best. It uses the Embedded Syslog Manager feature present in more recent IOS versions.

Here is a comprehensive reference guide.

Thanks for the endorsement, Marvin.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card