- Preface
- Product Overview
- Command-Line Interfaces
- Configuring the Switch for the First Time
- Configuring Interfaces
- Checking Port Status and Connectivity
- Configuring Layer 2 Ethernet Interfaces
- Configuring Unidirectional Ethernet
- Understanding and Configuring VLANs
- Configuring Dynamic VLAN Membership
- Configuring Private VLANs
- Understanding and Configuring VTP
- Understanding and Configuring STP
- Configuring STP Features
- Configuring 802.1Q and Layer 2 Protocol Tunneling
- Understanding and Configuring Multiple Spanning Trees
- Configuring IGMP Snooping and Filtering
- Understanding and Configuring CDP
- Understanding and Configuring EtherChannel
- Configuring UDLD
- Configuring DHCP Snooping and IP Source Guard
- Configuring Layer 3 Interfaces
- Configuring Cisco Express Forwarding
- Configuring VRF-lite
- Configuring Policy-Based Routing
- Understanding and Configuring IP Multicast
- Configuring Network Security with ACLs
- Configuring Port Security
- Configuring 802.1x Port-Based Authentication
- Port Unicast and Multicast Flood Blocking
- Configuring Port-Based Traffic Control
- Configuring QoS
- Configuring NetFlow Statistics Collection
- Understanding and Configuring Dynamic ARP Inspection
- Configuring SPAN and RSPAN
- Environmental Monitoring and Power Management
- Configuring Supervisor Engine Redundancy on the Catalyst 4507R and 4510R Switches
- Configuring Voice Interfaces
- Configuring Role-Based Macros
- Acronyms
- Index
Port Unicast and Multicast Flood Blocking
This chapter describes how to configure multicast and unicast flood blocking on the Catalyst 4500 series switch. This chapter contains these topics:
Note For complete syntax and usage information for the switch commands used in this chapter, first look at the Cisco Catalyst 4500 Series Switch Command Reference and related publications at this location:
http://www.cisco.com/en/US/products//hw/switches/ps4324/index.html
If the command is not found in the Catalyst 4500 Command Reference, it will be found in the larger Cisco IOS library. Refer to the Catalyst 4500 Series Switch Cisco IOS Command Reference and related publications at this location:
http://www.cisco.com/en/US/products/ps6350/index.html
Overview of Flood Blocking
Occassionally, unknown unicast or multicast traffic is flooded to a switch port because a MAC address has timed out or has not been learned by the switch. (This condition is especially undesirable for a private VLAN isolated port.) To guarantee that no unicast and multicast traffic is flooded to the port, use the switchport block unicast and switchport block multicast commands to enable flood blocking on the switch.
Note The flood blocking feature is supported on all switched ports (including PVLAN ports) and is applied to all VLANs on which the port is forwarding.
Configuring Port Blocking
By default, a switch floods packets with unknown destination MAC addresses to all ports. If unknown unicast and multicast traffic is forwarded to a switch port, there might be security issues. To prevent forwarding such traffic, you can configure a port to block unknown unicast or multicast packets.
Note Blocking of unicast or multicast traffic is not automatically enabled on a switch port; you must explicitly configure it.
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.
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 interface 0/1 and how to 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 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
Resuming Normal Forwarding on a Port
To resume normal forwarding on a port, perform this task: