64-2
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 64 Port Unicast and Multicast Flood Blocking
Configuring Port Blocking
Blocking Flooded Traffic on an Interface
Note
The interface can be a physical interface (for example, GigabitEthernet 1/1) or an EtherChannel group
(such as port-channel 5). When you block multicast or unicast traffic for a port channel, it is blocked on
all ports in the port channel group.
Note
Starting with Cisco IOS Release 12.2(52)SG, only IPV4 and IPv6 unknown multicast traffic flooding is
blocked; Layer 2 unknown multicast flooding is not. This behavior stems from a fix for the following
problem: when you configure blocking of unknown multicast flooding on a port, broadcast traffic to the
port is also blocked.
To disable the flooding of multicast and unicast packets to an interface, perform this task:
This example shows how to block unicast and multicast flooding on a GigabitEthernet interface1/1 and
how to verify the configuration:
Switch#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
interface gigabitethernet1/1
Switch(config-if)#
switchport block multicast
Switch(config-if)#
switchport block unicast
Switch(config-if)#
end
Switch#
show interface gigabitethernet1/1 switchport
Name: Gi1/3
Switchport: Enabled
<output truncated>
Port Protected: On
Unknown Unicast Traffic: Not Allowed
Unknown Multicast Traffic: Not Allowed
Broadcast Suppression Level: 100
Multicast Suppression Level: 100
Unicast Suppression Level: 100
Command
Purpose
Step 1
Switch#
configure terminal
Enters global configuration mode.
Step 2
Switch(config)#
interface
interface-id
Enters interface configuration mode and enter the type and
number of the switch port interface (for example,
G
igabitEthernet 1/1)
.
Step 3
Switch(config-if)#
switchport block
multicast
Blocks unknown multicast forwarding to the port.
Step 4
Switch(config-if)#
switchport block unicast
Blocks unknown unicast forwarding to the port.
Step 5
Switch(config)#
end
Returns to privileged EXEC mode.
Step 6
Switch#
show interface
interface-id
switchport
Verifies your entry.
Step 7
Switch#
copy running-config startup-config
(Optional) Saves your entries in the configuration file.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...