Cisco 2950G 24 - Catalyst Switch Software Configuration Manual page 541

Desktop switch
Hide thumbs Also See for 2950G 24 - Catalyst Switch:
Table of Contents

Advertisement

Chapter 26
Configuring QoS
Command
Step 5
set {ip dscp new-dscp}
Step 6
police rate-bps burst-byte [exceed-action
{drop | dscp dscp-value}]
Step 7
exit
Step 8
exit
Step 9
interface interface-id
Step 10
service-policy input policy-map-name
Step 11
end
Step 12
show policy-map [policy-map-name class
class-name]
Step 13
copy running-config startup-config
To delete an existing policy map, use the no policy-map policy-map-name global configuration
command. To delete an existing class map, use the no class class-map-name policy-map configuration
command. To remove an assigned DSCP value, use the no set ip dscp new-dscp policy-map
configuration command. To remove an existing policer, use the no police rate-bps burst-byte
[exceed-action {drop | dscp dscp-value}] policy-map configuration command. To remove the policy
map and interface association, use the no service-policy input policy-map-name interface configuration
command.
This example shows how to create a policy map and attach it to an ingress interface. In the configuration,
the IP standard ACL permits traffic from network 10.1.0.0. For traffic matching this classification, the
DSCP value in the incoming packet is trusted. If the matched traffic exceeds an average traffic rate
of 5000000 bps and a normal burst size of 8192 bytes, its DSCP is marked down to a value of 10 and sent.
78-14982-01
Purpose
Classify IP traffic by setting a new value in the packet.
For ip dscp new-dscp, enter a new DSCP value to be assigned to the
classified traffic. The supported DSCP values are 0, 8, 10, 16, 18, 24,
26, 32, 34, 40, 46, 48, and 56.
Define a policer for the classified traffic.
You can configure up to 60 policers on ingress Gigabit-capable
Ethernet ports and up to 6 policers on ingress 10/100 Ethernet ports.
For rate-bps, specify average traffic rate in bits per second (bps). The
range is 1 Mbps to 100 Mbps for 10/100 Ethernet ports and 8 Mbps to
1000 Mbps for the Gigabit-capable Ethernet ports.
For burst-byte, specify the normal burst size in bytes. The values
supported on the 10/100 ports are 4096, 8192, 16384, 32768, and
65536. The values supported on the Gigabit-capable Ethernet ports are
4096, 8192, 16348, 32768, 65536, 131072, 262144, and 524288.
(Optional) Specify the action to take when the rates are exceeded. Use
the exceed-action drop keywords to drop the packet. Use the
exceed-action dscp dscp-value keywords to mark down the DSCP
value and send the packet.
Return to policy-map configuration mode.
Return to global configuration mode.
Enter interface configuration mode, and specify the interface to attach
to the policy map.
Valid interfaces include physical interfaces.
Apply specified policy map to the input of a particular interface.
Only one policy map per interface per direction is supported.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Catalyst 2950 Desktop Switch Software Configuration Guide
Configuring QoS
26-23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2950

Table of Contents