The diffserv-mode command configures a DiffServ mode for a bridge domain (BD) to implement end-to-end QoS guarantee.
The undo diffserv-mode command deletes the DiffServ mode configured for a BD.
By default, a BD uses the Uniform DiffServ mode.
Parameter | Description | Value |
---|---|---|
pipe |
Configures the DiffServ mode for a BD as Pipe. |
- |
service-class |
Specifies the Class of Service (CoS) when a packet enters a public network from a private network. |
The value can be CS7, CS6, EF, AF4, AF3, AF2, AF1, or BE. |
color |
Specifies a color for marking the drop precedence of a packet that enters a public network from a private network. |
The value can be green, yellow, or red. |
short-pipe |
Configures the DiffServ mode for a BD as Short Pipe. |
- |
domain ds-name |
Specifies a DS domain name that uses a specified PHB on an egress node when the DiffServ mode is Short Pipe. |
The value is a string of 1 to 48 characters. |
uniform |
Configures the DiffServ mode for a BD as Uniform. |
- |
Usage Scenario
When multiple BDs access a VPLS network, run the diffserv-mode command to configure a DiffServ mode for each BD.
When you configure a DiffServ mode, note the following:Configuration Impact
When you configure a service type for packets entering a public network from a private network, you have the following options:
Precautions
Different DiffServ mode is configured for PE egress and ingress with the following restriction:
In the same BD view, the vxlan vni command and diffserv-mode command are mutually exclusive. If the diffserv-mode command is configured both in the BD view and VSI view, the one configured in the BD view takes effect. VXLAN supports only BDs in Uniform DiffServ mode but not BDs in Pipe or Short-pipe DiffServ mode. If a BD is bound to a VNI, the BD cannot be configured to work in Pipe or Short-pipe DiffServ mode. If a BD is configured to work in Pipe or Short-pipe DiffServ mode, the BD cannot be bound to a VNI.