Follow these steps to enable logging.
Rate limiting must be enabled.
-
Enter configuration mode.
device# configure terminal
-
Enter Ethernet configuration mode.
device(config)# interface ethernet 1/1/1
-
Enable rate limiting.
device(config-if-e10000-1/1/1)# broadcast limit 8388607 kbps
Broadcast is used in ths example, multicast and unknown unicast are the same with the command name switched to either
multicast or
unknown-unicast.
-
Enable logging when the limit exceeds kbps.
device(config-if-e10000-1/1/1)# broadcast limit 100 kbps log
Broadcast is used in ths example, multicast and unknown unicast are the same with the command name switched to either
multicast or
unknown-unicast.
-
Globally configure the log interval.
device(config)# rate-limit-log 6
device(config)# exit
-
Verify the logging interval.
device(config)# show running-config | include rate-limit-log
rate-limit-log 6
-
Verify the configuration.
device# show logging | include 1/1/1
Jan 13 12:02:12:I:Security: Interface ethernet 1/1/1 reached the Broadcast traffic limit and 1434 kB are dropped
Enabling BUM suppression logging configuration example
device# configure terminal
device(config)# interface ethernet 1/1/1
device(config-if-e10000-1/1/1)# broadcast limit 8388607
device(config-if-e10000-1/1/1)# broadcast limit 100 kbps log
device(config)# rate-limit-log 6
device(config)# show running-config | include rate-limit-log
device(config)# exit
device# show logging | include 1/1/1