User's Manual

Table Of Contents
380
Users Manual of CS-6306R
filtration rule, which include bandwidth limit, drop, update, etc.
Enter the privileged mode and run the following commands to set the action of a policy, matching up the data
flow. The action will replace the previous settings.
Command Purpose
config
Enters the global configuration mode.
[no]policy-map name
Enters the configuration mode of the QoS
policy map.
name stands for the name of the policy.
action{bandwidth max-band | {cir
commit-band {bc
commit-burst-size{be peak-burst-size
| pir pir-band }} | [conform {forward |
dscpdscp-value} |exceed {forward |
drop | dscp dscp-value | discardable
{green | yellow | red}}
|violate{forward | drop | dscp
dscp-value | discardable {green |
yellow | red}}]} | cos cos | drop |
dscp dscp-value | precedence
precedence-value | forward | icos
icos | ivlan {add ivlanid | del ivlanid |
ivlanid}| cpicos | mac mac-addr |
monitor session-value | queue
queue-value | redirect interface-id|
stat-packet | stat-byte | vlanID { add
vlanid | vlanid }}
no action {bandwidth | cir | cos |
drop | dscp | precedence | forward |
icos | ivlan | cpicos | mac | monitor |
queue | redirect | stat-packet |
stat-byte | vlanID}
max-band stands for the occupied maximum
bandwidth.
Sets the policing:
cir commit-band stands for the certified
bandwidth.
bc commit-burst-size stands for the size of
burst packet, which ranges from 4 to 4096Kb.
be peak-burst-size stands for the size of peak
burst, which ranges from 4 to 4096Kb.
pir pir-band stands for the peak bandwidth,
which ranges from 1 to 163840.
conform {forward | dscp dscp-value} stands
for a bandwidth guarantee action, among which
forward means not to conduct any action and
dscp means to change the dscp value.
drop means to drop the matched packets.
Sets the matched DSCP field to dscp-value
0~63.
precedence-value stands for the priority field
of tos in ip packet.0-7.
Conducts no operations to the matched
packets.
Sets the matched COS field to cos-value 0-7.
ivlanid is used to replace, add or delete the
inner VLAN ID.
cpicos means to replace the outer cos with
inner cos.
mac-addr is used to set the destination MAC
address.
session-value is used to set mirroring, which
ranges from 1 to 4.
queue-value is used to set the mapping