- Index
- Preface
- Product Overview
- Command-Line Interfaces
- Configuring Switches with Web-based Tools
- Configuring the Switch for the First Time
- Configuring Interfaces
- Configuring SmartPort Macros
- Checking Port Status and Connectivity
- Understanding and Configuring VLANs, VTP, and VMPS
- Configuring Layer 2 Ethernet Interfaces
- Understanding and Configuring EtherChannel
- Understanding and Configuring CDP
- Understanding and Configuring STP
- Configuring Layer 3 Interfaces
- Configuring Cisco Express Forwarding
- Configuring Port Security
- Understanding and Configuring 802.1X Port-Based Authentication
- Configuring DHCP Snooping and IP Source Guard
- Understanding and Configuring Dynamic ARP Inspection
- Configuring Network Security with ACLs
- Configuring Power over Ethernet
- Configuring Voice Interfaces
- Environmental Monitoring and Power Management
- Configuring Supervisor Engine Redundancy Using RPR and SSO
- Configuring STP Features
- Configuring 802.1Q and Layer 2 Protocol Tunneling
- Configuring IGMP Snooping and Filtering
- Understanding and Configuring Multiple Spanning Trees
- Configuring UDLD
- Configuring Unidirectional Ethernet
- Understanding and Configuring IP Multicast
- Configuring Policy-Based Routing
- Configuring VRF-lite
- Port Unicast and Multicast Flood Blocking
- Configuring Port-Based Traffic Control
- Configuring Private VLANs
- Configuring QoS
- Configuring NetFlow
- Configuring SPAN and RSPAN
- Diagnostics on the Catalyst 4500 Switch
- Acronyms
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, refer to the Catalyst 4500 Series Switch Cisco IOS Command Reference and related publications at
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/index.htm.
Overview of Flood Blocking
Occasionally, 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 interface1/1 and how to verify the configuration:
Switch# configure terminal
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
Resuming Normal Forwarding on a Port
To resume normal forwarding on a port, perform this task: