Configuring Protected Ports; Default Protected Port Configuration - Cisco Catalyst 2960 Software Configuration Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Configuring Protected Ports

Command
Step 6
small violation-rate pps
Step 7
end
Step 8
show interfaces interface-id
Step 9
copy running-config startup-config
This example shows how to enable the small-frame arrival-rate feature, configure the port recovery time,
and configure the threshold for error disabling a port:
Switch# configure terminal
Switch# errdisable detect cause small-frame
Switch# errdisable recovery cause small-frame
Switch(config)# interface gigabitethernet1/0/1
Switch(config-if)# small-frame violation rate 10000
Switch(config-if)# end
Configuring Protected Ports
Some applications require that no traffic be forwarded at Layer 2 between ports on the same switch so
that one neighbor does not see the traffic generated by another neighbor. In such an environment, the use
of protected ports ensures that there is no exchange of unicast, broadcast, or multicast traffic between
these ports on the switch.
Protected ports have these features:
Because a switch stack represents a single logical switch, Layer 2 traffic is not forwarded between any
protected ports in the switch stack, whether they are on the same or different switches in the stack.
Note
Stacking is supported only on Catalyst 2960-S switches running the LAN base image.
These sections contain this configuration information:

Default Protected Port Configuration

The default is to have no protected ports defined.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
23-6
A protected port does not forward any traffic (unicast, multicast, or broadcast) to any other port that
is also a protected port. Data traffic cannot be forwarded between protected ports at Layer 2; only
control traffic, such as PIM packets, is forwarded because these packets are processed by the CPU
and forwarded in software. All data traffic passing between protected ports must be forwarded
through a Layer 3 device.
Forwarding behavior between a protected port and a nonprotected port proceeds as usual.
Default Protected Port Configuration, page 23-6
Protected Port Configuration Guidelines, page 23-7
Configuring a Protected Port, page 23-7
Chapter 23
Purpose
Configure the threshold rate for the interface to drop incoming
packets and error disable the port. The range is 1 to 10,000 packets
per second (pps)
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
Configuring Port-Based Traffic Control
OL-26520-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents