EasyManuals Logo

Cisco Catalyst 3120 Command Reference Guide

Cisco Catalyst 3120
982 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #721 background imageLoading...
Page #721 background image
2-693
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-01
Chapter 2 Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commands
switchport block
switchport block
Use the switchport block interface configuration command on the switch stack or on a standalone switch
to prevent unknown multicast or unicast packets from being forwarded. Use the no form of this command
to allow forwarding unknown multicast or unicast packets.
switchport block {multicast | unicast}
no switchport block {multicast | unicast}
Syntax Description
Defaults Unknown multicast and unicast traffic is not blocked.
Command Modes Interface configuration
Command History
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 nonprotected 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.
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
multicast Specify that unknown multicast traffic should be blocked.
unicast Specify that unknown unicast traffic should be blocked.
Release Modification
12.2(40)EX This command was introduced.
Command Description
show interfaces switchport Displays the administrative and operational status of a switching
(nonrouting) port, including port blocking and port protection settings.

Table of Contents

Other manuals for Cisco Catalyst 3120

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 3120 and is the answer not in the manual?

Cisco Catalyst 3120 Specifications

General IconGeneral
BrandCisco
ModelCatalyst 3120
CategorySwitch
LanguageEnglish

Related product manuals