12-7
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter12 Configuring Port-Based Tra ffic Control Configuring Port Blocking
To return the interface to the default condition where no traf f ic is b lo ck ed, use th e no swit chport block
{multicast | unicast} interface configuration commands.
This example shows how to block unicast and multicast flooding on Gigabit Ethernet interface 0/1 and
verify the configuration:
Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# switchport block multicast
Switch(config-if)# switchport block unicast
Switch(config-if)# end
Switch# show interfaces gigabitethernet0/1 switchport
Name: Gi0/1
Switchport: Enabled
<output truncated>
Protected: True
Unknown unicast blocked: enabled
Unknown multicast blocked: enabled
Resuming Normal Forwarding on a Port
Beginning in privileged EXEC mode, follow these steps to resu me norm al for w ardi ng on a po rt:
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Enter interface configuration mode and enter the type and number of the
switchport interface to configure, for example gigabitethernet0/1.
Step3 no switchport block multicast Enable unknown multicast flooding to the port.
Step4 no switchport block unicast Enable unknown unicast flooding to the port.
Step5 end Return to privileged EXEC mode
Step6 show interfaces interface-id switchport Verify your entries.
Step7 copy running-config startup-config (Optional) Save your entries in the configuration file.