Shape – Enterasys Networks X-Pedition XSR CLI User Manual
Page 496
Policy-Map Commands
12-100 Configuring Quality of Service
Mode
Policy‐Map Class configuration:
XSR(config-pmap-c-xx)#
Example
The following example sets the IP Precedence bit to 7 for packets that satisfy the match criteria of
the class map called class39. All packets that satisfy the match criteria of class39 are marked with
the IP Precedence value of 7. How packets marked with the IP Precedence value of 7 are treated is
determined by your network configuration.
XSR(config)#policy-map policy57
XSR(config-pmap
XSR(config-pmap-c
shape
This command enables and configures traffic shaping on a class. It can be applied to any fair‐class
or priority class. The default burst is sufficient to achieve the average rate and is calculated from
the rate and the default measurement interval of 10 milliseconds:
Burst equals rate multiplied by (10 milliseconds divided by 1000)
In order to sustain the average rate, the normal burst cannot be less than the default burst. The
default value for exceed burst is equal to the normal burst.
Syntax
shape rate [[burst]exceed-burst]
Syntax of the “no” Form
The no form of this command disables traffic shaping on a class:
no shape
Default
Disabled
Mode
Policy‐Map Class configuration:
XSR(config-pmap-c-xx)#
Example
The following example configures Class A with 20% of the link bandwidth to a maximum of 64
Kbytes and maximum burst of 2000 bytes:
XSR(config)#policy-map foo
XSR(config-pmap
XSR(config-pmap-c)#bandwidth percent 20
XSR(config-pmap-c)#shape 64000 2000
rate
Average or peak rate for output traffic in bbps.
burst
Maximum threshold burst size. Range: 1 to 20,000 bytes.
exceed-burst
Maximum exceed burst size. Range 1 to 40,000 bytes.