User's Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
226
class <class-map-name> [insert-before <cl
ass-map-name>]
no class <class-map-name>
After a policy map is created, it can be
associated to a class. Different policy or
new DSCP value can be applied to
different data streams in class mode;
the no command deletes the specified
class.
set {ip dscp <new-dscp> | ip precedence
<new-precedence> | internal priority <new-
inp> | drop precedence <new-dp> | cos <
new-cos>}
no set {ip dscp | ip precedence | internal
priority | drop precedence | cos }K
Assign a new DSCP, CoS, IP
Precedence value for the classified
traffic; the no
command cancels the
newly assigned value.
Single bucket mode:
policy <bits_per_second> <normal_burst_b
ytes> ({conform-action ACTION | exceed-a
ction ACTION} )
Dual bucket mode:
policy <bits_per_second> <normal_burst_b
ytes> [pir <peak_rate_bps>] | <maximum_
burst_bytes> [{conform-action ACTION | e
xceed-action ACTION | violate-action ACTI
ON }]
ACTION definition:
drop | transmit | set-dscp-transmit <dscp_
value> | set-prec-transmit <ip_precedence_
value> | set-cos-transmit <cos_value> | se
t-internal-priority <inp_value> | set-Drop-Pr
ecedence <dp_value>
no policy
Configure a policy for the classified flow.
The non-aggregation policy command
supports three colors. A
nalyze the
working mode of the token bucket,
whether it is singe rate single bucket,
single rate dual bucket, dual rate dual
bucket, set corresponding action to
different color packets. The no
command will delete the mode
configuration.
Single bucket mode is
supported by the specific switch.
policy aggregate <aggregate-policy-name>
no policy aggregate <aggregate-policy-nam
e>
Apply a policy to classified traffic; the no
command deletes the specified policy
set.
accounting
no accounting
Set statistic function for the classified
traffic. After enable this function under
the policy class map mode, add statistic
function to the traffic of the policy class
map.
In single bucket mode, the
messages can only red or green when