Task
Display user-defined QoS policy
configuration information.
Display QoS policy configuration on
the specified interface or on all
interfaces.
Display VLAN QoS policy
information.
Display information about global
QoS policies.
PBR configuration examples
IPv4 PBR configuration example
Network requirements
As shown in
hop 202.1.1.2.
Figure 90 Network diagram
Configuration procedure
# Configure ACL 2000.
<SwitchA> system-view
[SwitchA] acl number 2000
[SwitchA-acl-basic-2000] rule 0 permit source any
[SwitchA-acl-basic-2000] quit
# Define a match criterion for class a to match ACL 2000.
[SwitchA] traffic classifier a
[SwitchA-classifier-a] if-match acl 2000
[SwitchA-classifier-a] quit
# Configure the action of redirecting traffic to the next hop 202.1.1.2 for behavior a.
Figure
90, redirect all packets received on GigabitEthernet 1/0/1 of Switch A to the next
Command
display qos policy user-defined [ policy-name
[ classifier tcl-name ] ] [ | { begin | exclude |
include } regular-expression ]
display qos policy interface [ interface-type
interface-number ] [ inbound | outbound ] [ | { begin
| exclude | include } regular-expression ]
display qos vlan-policy { name policy-name | vlan
vlan-id } [ slot slot-number ] [ inbound | outbound ]
[ | { begin | exclude | include } regular-expression ]
display qos policy global [ slot slot-number ]
[ inbound | outbound ] [ | { begin | exclude |
include } regular-expression ]
295
Remarks
Available in
any view
Available in
any view
Available in
any view
Available in
user view