Specifications

9-11
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 9 Configuring Port-Based Traffic Control
Configuring Port Blocking
To disable protected port, use the no switchport protected interface configuration command.
EXAMPLE
This example shows how to configure a port as a protected port:
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# switchport protected
Switch(config-if)# end
This example shows how to configure a FastEthernet port as a protected port:
Switch# configure terminal
Switch(config)# interface fastethernet 0/1
Switch(config-if)# port-type NNI
Switch(config-if)# no shutdown
Switch(config-if)# switchport protected
Switch(config-if)# end
Configuring Port Blocking
Follow this procedure to disable the flooding of unicast and Layer 2 multicast packets out of an interface.
BEFORE YOU BEGIN
Review the “Guidelines and Limitations” section on page 9-5.
DETAILED STEPS
Step 5
show interfaces interface-id switchport Verify your entries.
Step 6
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Specify the interface to configure, and enter interface
configuration mode.
Step 3
no shutdown Enable the port, if necessary. By default, UNIs and ENIs
are disabled, and NNIs are enabled.
Step 4
switchport block multicast Block 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 5
switchport block unicast Block unknown unicast forwarding out of the port.
Step 6
end Return to privileged EXEC mode.
Step 7
show interfaces interface-id switchport Verify your entries.
Step 8
copy running-config startup-config (Optional) Save your entries in the configuration file.