![Corecess R1-SW24L2B User Manual Download Page 197](http://html1.mh-extra.com/html/corecess/r1-sw24l2b/r1-sw24l2b_user-manual_2667222197.webp)
Configuring QoS
9-29
Configuring Policy-Map Class Policing (Rate-Limiting)
In a policy map, you can configure the rate limiting feature which discards the packets that
exceed the bandwidth limits.
Rate limiting is the process by limiting the bandwidth consumed by a flow of traffic. After a
packet is classified, the rate limiting process can begin. The rate limiting involves creating a
policer that specifies the bandwidth limits for the traffic. Packets that exceed the limits are
dropped.
To configure the rate limiting feature in a policy map, perform this task in the Global
configuration mode:
Table 9-8 Configuring rate-limint of a traffic class in a policy map
Command
Task
qos
1.
Enter QoS configuration mode.
policy-map
<policy-map-name>
2. Enter policy-map configuration mode.
y
<policy-map-name>
: The name of a policy-map.
class
<class-name>
3. Specify the class to which the policy map applies and enter policy-map-
class configuration mode.
y
<class-name>
: The name of the class to which the policy map
applies.
rate-limit
rate
<target-rate>
4. Specifies the limited rate to be applied to traffic of the class in the
specific policy-map
y
<target-rate>
: Average rate to be applied to the traffic which
meets the condition of the class(0 ~ 1000000Kbps). The value must be
in increments of 64 kbps.
Note
:
Policing can be applied to a specific port as well as a specific traffic class. Entering the rate-limit
commandin the QoS configuration mode sepcifies the target bandwdith to be applied to both incoming
and outgoing traffic through a port. How to configure policing for a port will be described later in this
chapter.
This example specifies the target bandwidth of the traffic class
class5
to apply the rate limiting in
the policy map
policy1
:
(config)#
qos
(config-qos)#
policy-map policy1
(config-pmap)#
class class5
(config-pmap-c)#
rate-limit rate 640
(config-pmap-c)#
Summary of Contents for R1-SW24L2B
Page 1: ...Edition 00 Distribution 2006 06 Corecess Layer2 Ethernet Switch R1 SW24L2B User s Manual...
Page 20: ...R1 SW24L2B User s Manual XX...
Page 27: ...Overview 1 7 E PON ONU...
Page 28: ...R1 SW24L2B User s Manual 1 8...
Page 42: ...R1 SW24L2B User s Manual 2 14...
Page 68: ...R1 SW24L2B User s Manual 4 16...
Page 112: ...R1 SW24L2B User s Manual 5 44...
Page 124: ...R1 SW24L2B User s Manual 6 12...
Page 134: ...R1 SW24L2B User s Manual 7 10...
Page 168: ...R1 SW24L2B User s Manual 8 34...
Page 207: ...Configuring QoS 9 39 8021p enable 8021p user priority 6 vlan 1 port fastethernet 2 1...
Page 210: ...R1 SW24L2B User s Manual 9 42...
Page 234: ...R1 SW24L2B User s Manual 10 24...
Page 258: ...R1 SW24L2B User s Manual 12 10...
Page 288: ...R1 SW24L2B User s Manual 13 30...
Page 300: ...R1 SW24L2B User s Manual B 8...