Switchport Block - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

switchport block

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
Defaults
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
12.1(19)EW
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.
For more information about blocking the packets, refer to the software configuration guide for this
Note
release.
Examples
This example shows how to block the unknown multicast traffic on an interface:
Switch(config-if)# switchport block multicast
You can verify your setting by entering the show interfaces interface-id switchport privileged EXEC
command.
Related Commands
Command
show interfaces switchport
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
2-1048
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
Support for this command was introduced on the Catalyst 4500 series switch.
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
Description
Displays the administrative and operational status of a
switching (nonrouting) port.
OL-27596 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents