User's Manual

358
commit-band {bc commit-burst-size
{be peak-burst-size | pir pir-band } } |
[conform {forward | dscp dscp-
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}
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
queue, which ranges from 1 to 8.
Redirects the egress port of the matched flow.
stat-packet
stands for the number of packets
under statistics.
stat-byte
means the number of bytes under
statistics.
vlanID
is used to replace or add the outer
vlan ID, which ranges from 1 to 4094.
exit
Goes back to the global configuration mode.
exit
Goes back to the EXEC mode.
46.3.13 Applying the QoS Policy on a Port
The QoS policy can be applied to a port; multiple QoS policies can be applied to the same port and the same
QoS policy can also be applied to multiple ports. On the same port, the priorities of the policies which are
earlier applied than those of the policies which are later applied. If a packet is set to have two policies and the