User's Manual

Table Of Contents
381
Users Manual of CS-6306R
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.
40.1.3.13 pplying 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
actions are contradicted, the actions of the firstly matched policies. After a QoS policy is applied on a port, the
switch adds a policy to this port by default to block other data flows, which are not allowed to pass through.
When all policies on a port are deleted, the switch will automatically remove the default blockage policy from a
port.
Enter the following privileged mode and run the following commands to apply the QoS policy.
Command Purpose
config
Enters the global configuration mode.
interface g0/1
Enters the to-be-configured port.
[no] qos policy name { ingress|egress}
Applies the QoS policy on a port.
name stands for the name of QoS policy mapping.
ingress means to exert an influence on the ingress.
egress means to exert an influence on the egress.
exit
Goes back to the global configuration mode.
exit
Goes back to the EXEC mode.
40.1.3.14 Displaying the QoS Policy Mapping Table
You can run the show command to display all or some designated QoS policy maps.
Run the following command in privileged mode to display the QoS policy mapping table.
Command Purpose
show policy-map [policy-map-name]
Displays all or some designated QoS policy maps.
policy-map-name stands for the name of QoS mapping table.