Blocking Flooded Traffic on an Interface
SUMMARY STEPS
1. configure terminal
2. interface interface-id
3. switchport block multicast
4. switchport block unicast
5. end
6. show interfaces interface-id switchport
7. copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
interface interface-id
Example:
Switch(config)# interface gigabitethernet1/0/1
Step 3
switchport block multicast
Example:
Switch(config-if)# switchport block multicast
Step 4
switchport block unicast
Example:
Switch(config-if)# switchport block unicast
Step 5
end
Example:
Switch(config-if)# end
Step 6
show interfaces interface-id switchport
Example:
Switch# show interfaces gigabitethernet1/0/1
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
334
Configuring Port-Based Traffic Control
Purpose
Enters global configuration mode.
Specifies the interface to be configured, and enter
interface configuration mode.
Blocks unknown multicast forwarding out of the port.
Only pure Layer 2 multicast traffic is blocked.
Note
Multicast packets that contain IPv4 or IPv6
information in the header are not blocked.
Blocks unknown unicast forwarding out of the port.
Returns to privileged EXEC mode.
Verifies your entries.
OL-29434-01