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 |
---|---|---|
pipe |
Specifies that the MPLS DiffServ mode is Pipe. |
- |
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. The default value is 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. The default value is green. |
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. |
- |
Usage Scenario
To configure a Diff-Serv mode:
Precautions
Before configuring the MPLS Diff-Serv mode for IPv4 services, ensure that an IPv4 address family is configured in the VPN instance view using the ipv4-family (VPN instance view) command.
Before configuring the MPLS Diff-Serv mode for IPv6 services, ensure that an IPv6 address family is configured in the VPN instance view using the ipv6-family (VPN instance view) command. In SRv6 over VPN scenarios, the diffserv-mode command can be run to configure a DiffServ mode.