Step 1 | configure terminal
Example:
Switch# configure terminal
| Enters global configuration mode.
|
Step 2 | interface interface-id
Example:
Switch(config)# interface gigabitethernet1/0/1
| Specifies the interface to be configured, and enter interface configuration mode.
|
Step 3 | switchport block multicast
Example:
Switch(config-if)# switchport block multicast
| Blocks unknown multicast forwarding out of the port.
Note
| Only pure Layer 2 multicast traffic is blocked. Multicast packets that contain IPv4 or IPv6 information in the header are not blocked.
|
|
Step 4 | switchport block unicast
Example:
Switch(config-if)# switchport block unicast
| Blocks unknown unicast forwarding out of the port.
|
Step 5 | end
Example:
Switch(config-if)# end
| Returns to privileged EXEC mode.
|
Step 6 | show interfaces interface-id switchport
Example:
Switch# show interfaces gigabitethernet1/0/1 switchport
| Verifies your entries.
|
Step 7 | copy running-config startup-config
Example:
Switch# copy running-config startup-config
| (Optional) Saves your entries in the configuration file.
|