The diffserv-mode command configures a differentiated service (Diff-Serv) mode for forwarding multicast packets on an MTunnel interface (MTI).
The undo diffserv-mode command restores the default Diff-Serv mode for forwarding multicast packets on an MTunnel interface.
By default, the Uniform Diff-Serv mode is adopted for forwarding multicast packets on an MTunnel interface.
Parameter | Description | Value |
---|---|---|
pipe |
Indicates that the Pipe Diff-Serv mode is adopted. |
- |
service-class |
Specifies the service type when a multicast packet enters the public network from the private network. |
The value can be:
|
color |
Specifies the color of a multicast packet transferred from a private network to a public network. The color marks the discarding priorities of the packet. |
The value can be:
|
uniform |
Indicates that the Uniform Diff-Serv mode is adopted. |
- |
Usage Scenario
The command is applicable only to the ingress PE. When you configure a Diff-Serv mode, note the following:
Configuration Impact
The service types for a multicast packet transferred from a private network to a public network are configured as follows:
<HUAWEI> system-view [~HUAWEI] ip vpn-instance mytest [*HUAWEI-vpn-instance-mytest] ipv4-family [*HUAWEI-vpn-instance-mytest-af-ipv4] route-distinguisher 100:1 [*HUAWEI-vpn-instance-mytest-af-ipv4] multicast routing-enable [*HUAWEI-vpn-instance-mytest-af-ipv4] multicast-domain share-group 224.1.1.1 binding mtunnel 1 [*HUAWEI-vpn-instance-mytest-af-ipv4] commit [~HUAWEI-vpn-instance-mytest-af-ipv4] quit [~HUAWEI-vpn-instance-mytest] quit [~HUAWEI] interface MTunnel1 [*HUAWEI-MTunnel1] diffserv-mode pipe af1 green