The display diffserv domain command displays the DiffServ domain configuration.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, S5735S-S, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.
S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-S, S5731S-H, S5732-H, S6720-EI, S6720S-EI, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S:
display diffserv domain [ all | name ds-domain-name ]
S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S:
display diffserv domain name default
Parameter |
Description |
Value |
---|---|---|
all |
Displays configurations of all DiffServ domains. |
- |
name ds-domain-name |
Displays the detailed configuration of a specified DiffServ domain. |
The value must the name of an existing DiffServ domain. NOTE:
The DiffServ domain default exists by default. On the S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S, only the DiffServ domain default is supported. |
Scenario
After creating a DiffServ domain and configuring the mappings in the DiffServ domain, you can use the display diffserv domain command to view the configuration of the DiffServ domain.
If no optional parameter is specified, this command displays configurations of all DiffServ domains on the device.
# Display the configuration of DiffServ domain d1 (S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S).
<HUAWEI> display diffserv domain name d1 diffserv domain name:d1 8021p-inbound 0 phb be green 8021p-inbound 1 phb af1 green 8021p-inbound 2 phb af2 green 8021p-inbound 3 phb af3 green 8021p-inbound 4 phb af4 green 8021p-inbound 5 phb ef green 8021p-inbound 6 phb cs6 green 8021p-inbound 7 phb cs7 green 8021p-outbound be green map 0 8021p-outbound be yellow map 0 8021p-outbound be red map 0 8021p-outbound af1 green map 1 8021p-outbound af1 yellow map 1 8021p-outbound af1 red map 1 8021p-outbound af2 green map 2 8021p-outbound af2 yellow map 2 8021p-outbound af2 red map 2 8021p-outbound af3 green map 3 8021p-outbound af3 yellow map 3 8021p-outbound af3 red map 3 8021p-outbound af4 green map 4 8021p-outbound af4 yellow map 4 8021p-outbound af4 red map 4 8021p-outbound ef green map 5 8021p-outbound ef yellow map 5 8021p-outbound ef red map 5 8021p-outbound cs6 green map 6 8021p-outbound cs6 yellow map 6 8021p-outbound cs6 red map 6 8021p-outbound cs7 green map 7 8021p-outbound cs7 yellow map 7 8021p-outbound cs7 red map 7 ip-dscp-inbound 0 phb be green ip-dscp-inbound 1 phb be green ip-dscp-inbound 2 phb be green ip-dscp-inbound 3 phb be green ip-dscp-inbound 4 phb be green ip-dscp-inbound 5 phb be green ip-dscp-inbound 6 phb be green ip-dscp-inbound 7 phb be green ip-dscp-inbound 8 phb af1 green ip-dscp-inbound 9 phb be green ip-dscp-inbound 10 phb af1 green ip-dscp-inbound 11 phb be green ip-dscp-inbound 12 phb af1 yellow ip-dscp-inbound 13 phb be green ip-dscp-inbound 14 phb af1 red ip-dscp-inbound 15 phb be green ip-dscp-inbound 16 phb af2 green ip-dscp-inbound 17 phb be green ip-dscp-inbound 18 phb af2 green ip-dscp-inbound 19 phb be green ip-dscp-inbound 20 phb af2 yellow ip-dscp-inbound 21 phb be green ip-dscp-inbound 22 phb af2 red ip-dscp-inbound 23 phb be green ip-dscp-inbound 24 phb af3 green ip-dscp-inbound 25 phb be green ip-dscp-inbound 26 phb af3 green ip-dscp-inbound 27 phb be green ip-dscp-inbound 28 phb af3 yellow ip-dscp-inbound 29 phb be green ip-dscp-inbound 30 phb af3 red ip-dscp-inbound 31 phb be green ip-dscp-inbound 32 phb af4 green ip-dscp-inbound 33 phb be green ip-dscp-inbound 34 phb af4 green ip-dscp-inbound 35 phb be green ip-dscp-inbound 36 phb af4 yellow ip-dscp-inbound 37 phb be green ip-dscp-inbound 38 phb af4 red ip-dscp-inbound 39 phb be green ip-dscp-inbound 40 phb ef green ip-dscp-inbound 41 phb be green ip-dscp-inbound 42 phb be green ip-dscp-inbound 43 phb be green ip-dscp-inbound 44 phb be green ip-dscp-inbound 45 phb be green ip-dscp-inbound 46 phb ef green ip-dscp-inbound 47 phb be green ip-dscp-inbound 48 phb cs6 green ip-dscp-inbound 49 phb be green ip-dscp-inbound 50 phb be green ip-dscp-inbound 51 phb be green ip-dscp-inbound 52 phb be green ip-dscp-inbound 53 phb be green ip-dscp-inbound 54 phb be green ip-dscp-inbound 55 phb be green ip-dscp-inbound 56 phb cs7 green ip-dscp-inbound 57 phb be green ip-dscp-inbound 58 phb be green ip-dscp-inbound 59 phb be green ip-dscp-inbound 60 phb be green ip-dscp-inbound 61 phb be green ip-dscp-inbound 62 phb be green ip-dscp-inbound 63 phb be green ip-dscp-outbound be green map 0 ip-dscp-outbound be yellow map 0 ip-dscp-outbound be red map 0 ip-dscp-outbound af1 green map 10 ip-dscp-outbound af1 yellow map 12 ip-dscp-outbound af1 red map 14 ip-dscp-outbound af2 green map 18 ip-dscp-outbound af2 yellow map 20 ip-dscp-outbound af2 red map 22 ip-dscp-outbound af3 green map 26 ip-dscp-outbound af3 yellow map 28 ip-dscp-outbound af3 red map 30 ip-dscp-outbound af4 green map 34 ip-dscp-outbound af4 yellow map 36 ip-dscp-outbound af4 red map 38 ip-dscp-outbound ef green map 46 ip-dscp-outbound ef yellow map 46 ip-dscp-outbound ef red map 46 ip-dscp-outbound cs6 green map 48 ip-dscp-outbound cs6 yellow map 48 ip-dscp-outbound cs6 red map 48 ip-dscp-outbound cs7 green map 56 ip-dscp-outbound cs7 yellow map 56 ip-dscp-outbound cs7 red map 56 mpls-exp-inbound 0 phb be green mpls-exp-inbound 1 phb af1 green mpls-exp-inbound 2 phb af2 green mpls-exp-inbound 3 phb af3 green mpls-exp-inbound 4 phb af4 green mpls-exp-inbound 5 phb ef green mpls-exp-inbound 6 phb cs6 green mpls-exp-inbound 7 phb cs7 green mpls-exp-outbound be green map 0 mpls-exp-outbound be yellow map 0 mpls-exp-outbound be red map 0 mpls-exp-outbound af1 green map 1 mpls-exp-outbound af1 yellow map 1 mpls-exp-outbound af1 red map 1 mpls-exp-outbound af2 green map 2 mpls-exp-outbound af2 yellow map 2 mpls-exp-outbound af2 red map 2 mpls-exp-outbound af3 green map 3 mpls-exp-outbound af3 yellow map 3 mpls-exp-outbound af3 red map 3 mpls-exp-outbound af4 green map 4 mpls-exp-outbound af4 yellow map 4 mpls-exp-outbound af4 red map 4 mpls-exp-outbound ef green map 5 mpls-exp-outbound ef yellow map 5 mpls-exp-outbound ef red map 5 mpls-exp-outbound cs6 green map 6 mpls-exp-outbound cs6 yellow map 6 mpls-exp-outbound cs6 red map 6 mpls-exp-outbound cs7 green map 7 mpls-exp-outbound cs7 yellow map 7 mpls-exp-outbound cs7 red map 7
Item |
Description |
---|---|
diffserv domain name |
Name of the DiffServ domain. To create a DiffServ domain, run the diffserv domain command. |
8021p-inbound |
Mapping from the 802.1p priority of incoming VLAN packets in a DiffServ domain to the PHB and color. To configure the mapping, run the 8021p-inbound command. |
8021p-outbound |
Mapping from the PHB and color of outgoing VLAN packets in a DiffServ domain to the 802.1p priority. To configure the mapping, run the 8021p-outbound command. |
ip-dscp-inbound |
Mapping from the DSCP priority of incoming IP packets in a DiffServ domain to the PHB and color. To configure the mapping, run the ip-dscp-inbound command. |
ip-dscp-outbound |
Mapping from the PHB and color of outgoing IP packets in a DiffServ domain to the DSCP priority. To configure the mapping, run the ip-dscp-outbound command. |
mpls-exp-inbound |
Mapping from the EXP priority of incoming MPLS packets in a DiffServ domain to the PHB and color. To configure the mapping, run the mpls-exp-inbound command. |
mpls-exp-outbound |
Mapping from the PHB and color of outgoing MPLS packets in a DiffServ domain to the PHB and color. To configure the mapping, run the mpls-exp-outbound command. |
# Display configurations of all DiffServ domains on the device.
<HUAWEI> display diffserv domain
index DS name
--------------------------------------
0 default
1 ds1
2 ds2
--------------------------------------
Total 8, Used 3
Item |
Description |
---|---|
index |
Index of the DiffServ domain. |
DS name |
Name of the DiffServ domain. To create a DiffServ domain, run the diffserv domain command. |
Total |
Total number of DiffServ domains supported by the device. |
Used |
Number of created DiffServ domains on the device. |