Switchport Block - Cisco Catalyst 3550 Command Reference Manual

Multilayer switch
Hide thumbs Also See for Catalyst 3550:
Table of Contents

Advertisement

Chapter 2 Catalyst 3550 Switch Cisco IOS Commands

switchport block

Use the switchport block interface configuration command to prevent unknown multicast or unicast
packets from being forwarded. Use the no form of this command to return to the default setting.
Syntax Description
multicast
unicast
Defaults
Unknown multicast and unicast traffic are not blocked.
Command Modes
Interface configuration
Command History
Release
12.1(4)EA1
Usage Guidelines
By default, all traffic with unknown MAC addresses is sent to all ports. You can block unknown
multicast or unicast traffic on protected or non-protected ports. If unknown multicast or unicast traffic
is not blocked on a protected port, there could be security issues.
Blocking unknown multicast or unicast traffic is not automatically enabled on protected ports; you must
explicitly configure it.
For more information about blocking packets, see the software configuration guide for this release.
Note
Examples
This example shows how to block 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
OL-8566-01
switchport block {multicast | unicast}
no switchport block {multicast | unicast}
Specify that unknown multicast traffic should be blocked.
Specify that unknown unicast traffic should be blocked.
Modification
This command was introduced.
switchport
Description
Displays the administrative and operational status of a switching
(nonrouting) port, including port blocking and port protection settings.
Catalyst 3550 Multilayer Switch Command Reference
switchport block
2-579

Advertisement

Table of Contents
loading

Table of Contents