R3303-HP HSR6800 Routers ACL and QoS Configuration Guide

29
Task Command
Remarks
Display priority mapping
table configuration.
display qos map-table [ dot1p-dp | dot1p-lp | dscp-dot1p |
dscp-dp | dscp-dscp ] [ | { begin | exclude | include }
regular-expression ]
Available in
any view.
Display the trusted packet
priority type on a port.
display qos trust interface [ interface-type interface-number ] [ |
{ begin | exclude | include } regular-expression ]
Available in
any view.
Priority mapping configuration examples
Priority trust mode and port priority configuration example
Network requirements
As shown in Figure 6, the IP precedence of Router A's traffic is 3, and the IP precedence of Router B's
traffic is 1.
Configure Router C to preferentially process packets from Router A to Server when GigabitEthernet
1/0/3 of Router C is congested.
Figure 6 Network diagram
Configuration procedure
1. Method 1: Configure Router C to trust DSCP.
# Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to trust DSCP.
<RouterC> system-view
[RouterC] interface gigabitethernet 1/0/1
[RouterC-GigabitEthernet1/0/1] qos trust dscp
[RouterC-GigabitEthernet1/0/1] quit
[RouterC] interface gigabitethernet 1/0/2
[RouterC-GigabitEthernet1/0/2] qos trust dscp
[RouterC-GigabitEthernet1/0/2] quit
2. Method 2: Configure Router C to trust port priority.
G
E
1
/
0
/
1
I
P
p
r
e
c
e
d
e
n
c
e
3
GE
1
/
0
/
2
I
P
p
r
e
c
e
d
e
n
c
e
1
G
E
1
/
0
/
1
G
E
1
/
0
/
2