SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface interface-id
4.
switchport block multicast
5.
switchport block unicast
6.
end
7.
show interfaces interface-id switchport
8.
show running-config
9.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password
if prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Specifies the interface to be configured, and enter
interface configuration mode.
interface interface-id
Example:
Switch(config)# interface gigabitethernet1/0/1
Step 3
Blocks unknown multicast forwarding out of the port.switchport block multicast
Step 4
Example:
Switch(config-if)# switchport block multicast
Pure Layer 2 multicast traffic as well as
multicast packets that contain IPv6 information
in the header are blocked.
Note
Blocks unknown unicast forwarding out of the port.switchport block unicast
Example:
Switch(config-if)# switchport block unicast
Step 5
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1478
How to Configure Port Blocking