The diffserv-mode command configures an MPLS DiffServ mode to ensure end-to-end QoS.
The undo diffserv-mode command restores an MPLS DiffServ mode to the default configuration.
By default, the MPLS DiffServ mode is Uniform.
Parameter | Description | Value |
---|---|---|
service-class |
Specifies the Class of Service (CoS) for the packets that enter the public network from a private network. |
The value can be cs7, cs6, ef, af4, af3, af2, af1, or be. |
color |
Specifies the color of a packet that enters the public network from a private network. The color marks the discard priority of the packet. |
The value can be green, yellow, or red. |
short-pipe |
Specifies that the MPLS DiffServ mode is Short-pipe. |
- |
domain ds-name |
Specifies the name of a Diff-Serv domain that uses a specified PHB on an egress node in Short-pipe mode. |
The value is a string of 1 to 48 characters. |
uniform |
Specifies that the MPLS DiffServ mode is Uniform. |
- |
pipe |
Specifies that the MPLS DiffServ mode is Pipe. |
- |
Usage Scenario
To configure a Diff-Serv mode:
When you configure the service type of packets transmitted from a private network to the public network:
The colors of the packets sent from private network to the public network are arranged in the ascending order of the discard priorities, specifically, green, yellow, and red.