Switchport Block - Cisco AP775A - Nexus Converged Network Switch 5010 Command Reference Manual

Cisco nexus 5000 series command reference, release 4.1(3)n1(1) (ol-16599-01, august 2009)
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Chapter 2
Ethernet Commands
S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m

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.
Syntax Description
multicast
unicast
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)
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
Command
Related Commands
show interface
switchport
OL-16599-01
switchport block {multicast | unicast}
no switchport block {multicast | unicast}
Specifies that the unknown multicast traffic should be blocked.
Specifies that the unknown unicast traffic should be blocked.
Modification
This command was introduced.
Description
Displays the switch port information for a specified interface or all
interfaces.
Cisco Nexus 5000 Series Command Reference
switchport block
2-93

Advertisement

Table of Contents
loading

Table of Contents