cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1119
Views
0
Helpful
11
Replies
Highlighted
Beginner

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

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
Highlighted
Hall of Fame Community Legend

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
Highlighted
Hall of Fame Community Legend

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

Highlighted

Thank you very much!

Highlighted
Hall of Fame Community Legend

Happy to see it works. 

Highlighted

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

Highlighted

Hello,

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

Regards
Rolf

Highlighted

cat 4500

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

this one

Highlighted

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

HTH
Rolf

Highlighted

Good day.

Try to read this tread -

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

Highlighted

Thank you very much! but This is switch !

Highlighted

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.

Highlighted
Hall of Fame Community Legend

Thanks for the endorsement, Marvin.

Content for Community-Ad