Police - Cisco Catalyst 2950 Command Reference Manual

Desktop switch
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

police

police
Use the police policy-map class configuration command to define a policer for classified traffic. Use the
no form of this command to remove an existing policer.
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
rate-bps
burst-byte
exceed-action drop
exceed-action dscp
dscp-value
Defaults
No policers are defined.
Command Modes
Policy-map class configuration
Command History
Release
12.1(6)EA2
Usage Guidelines
You can configure up to six policers on ingress Fast Ethernet ports.
You can configure up to 60 policers on ingress Gigabit-capable Ethernet ports.
Policers cannot be configured on egress Fast Ethernet and Gigabit-capable Ethernet ports.
To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode,
use the end command.
Catalyst 2950 Desktop Switch Command Reference
2-120
police rate-bps burst-byte [exceed-action {drop | dscp dscp-value}]
no police rate-bps burst-byte [exceed-action {drop | dscp dscp-value}]
Specify average traffic rate in bits per second (bps).
For 10/100 ports, the range is 1000000 to 100000000, and the granularity is
1 Mbps.
For Gigabit-capable Ethernet ports, the range is 8000000 to 1016000000, and
the granularity is 8 Mbps.
Specify the normal burst size in bytes.
For 10/100 ports, the burst size values are 4096, 8192, 16384, 32768, and
65536.
For Gigabit-capable Ethernet ports, the burst size values are 4096, 8192,
16384, 32768, 65536, 131072, 262144, and 524288.
(Optional) When the specified rate is exceeded, specify that the switch drops
the packet.
(Optional) When the specified rate is exceeded, specify that the switch
changes the Differentiated Services Code Point (DSCP) of the packet to the
specified dscp-value and then sends the packet.
Modification
This command was first introduced.
Chapter 2
Cisco IOS Commands
78-11381-05

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents