HP Cisco MDS 9216A Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2 - Page 241
switchport block
View all HP Cisco MDS 9216A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 241 highlights
Chapter 2 Ethernet Commands switchport block Send comments to [email protected] switchport block To prevent the unknown multicast or unicast packets from being forwarded, use the switchport block interface configuration command. To allow the unknown multicast or unicast packets to be forwarded, use the no form of this command. switchport block {multicast | unicast} no switchport block {multicast | unicast} Syntax Description multicast unicast Specifies that the unknown multicast traffic should be blocked. Specifies that the unknown unicast traffic should be blocked. Command Default Unknown multicast and unicast traffic are not blocked. All traffic with unknown MAC addresses is sent to all ports. Command Modes Interface configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines You can block the unknown multicast or unicast traffic on the switch ports. Blocking the unknown multicast or unicast traffic is not automatically enabled on the switch ports; you must explicitly configure it. Examples This example shows how to block the unknown multicast traffic on an interface: switch# configure terminal switch(config)# interface ethernet 1/1 switch(config-if)# switchport block multicast Related Commands Command show interface switchport Description Displays the switch port information for a specified interface or all interfaces. OL-16599-01 Cisco Nexus 5000 Series Command Reference 2-93