The 8021p-outbound command converts the internal CoSs and colors of the downstream VLAN packets in the current DS domain into the 802.1p values.
The undo 8021p-outbound command restores the default mappings from CoSs and colors to 802.1p values.
By default, the mappings between internal CoSs and colors to 802.1p values are displayed as Table 1.
Parameter | Description | Value |
---|---|---|
service-class |
Specifies the CoS. |
The value is an enumerated type and can be EF, AF1, AF2, AF3, AF4, BE, CS6, or CS7. |
color |
Specifies the color used to mark the packets. |
The value is an enumerated type and can be green, yellow, or red. |
map 8021p-value |
Specifies the 802.1p value of VLAN packets predefined by the system. |
The value is an integer ranging from 0 to 7. |
Usage Scenario
After QoS scheduling on the VLAN packets is implemented and the VLAN packets need to leave the DS domain, this command can be configured to convert the internal CoSs and colors of the VLAN packets into the 802.1p values.
Table1 Default mappings from internal CoSs and colors to 802.1p values
Service | Color | 8021.p |
---|---|---|
be | green\yellow\red | 0 |
af1 | green\yellow\red | 1 |
af2 | green\yellow\red | 2 |
af3 | green\yellow\red | 3 |
af4 | green\yellow\red | 4 |
ef | green\yellow\red | 5 |
cs6 | green\yellow\red | 6 |
cs7 | green\yellow\red | 7 |
Prerequisites
Configure the DS domain in system view and go to the Diff-Servdomain view.
Configuration Impact
When the downstream VLAN packets leave the DS domain, the configured mappings from internal CoSs and colors to 802.1p values are used to remark the external VLAN packets.
Precautions
If service-class and color are not specified, you can run the undo 8021p-outbound command to restore all the default mappings from CoSs and colors of packets to 802.1p values.