cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
2787
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.

Review Cisco Networking for a $25 gift card