User's Manual
359
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.
46.3.14 Configuring the Trust Mode
In the global configuration mode, trust of cos, dscp or untrust can be configured. When the data maps to the
queue, the trusted mode chosen by the global will be mapped to the queue. If the configured trust mode is
untrust, the default priority of the packet will be mapped to the queue.
Enters the management mode and do as the following steps:
Command Purpose
config
Enters the global configuration mode.
[
no
]
qos trust
{ cos | dscp | untrust }
Configures the trust mode in the global
configuration mode.
untrust refers to untrust of any mode.
exit
Exit to the management configuration
mode.
46.3.15 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.