diffserv-mode(MTI interface view)

Function

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.

Format

diffserv-mode { pipe service-class color | uniform }

undo diffserv-mode

Parameters

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:

  • af1
  • af2
  • af3
  • af4
  • be
  • cs6
  • cs7
  • ef
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:

  • green
  • red
  • yellow
uniform

Indicates that the Uniform Diff-Serv mode is adopted.

-

Views

MTI interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

Usage Scenario

The command is applicable only to the ingress PE. When you configure a Diff-Serv mode, note the following:

  • To enable the MTunnel interface to differentiate service priorities when forwarding multicast packets, set the Diff-Serv mode to Uniform.
  • To disable the MTunnel interface from differentiating service priorities when forwarding multicast packets, set the Diff-Serv mode to Pipe.

Configuration Impact

The service types for a multicast packet transferred from a private network to a public network are configured as follows:

  • To transmit the signaling protocol, set the service type to cs7 or cs6.
  • To ensure the low latency, set the service type to ef.
  • To ensure the bandwidth key data, set the service type to af4, af3, af2, or af1.
  • To ensure the best effort delivery without strict QoS guarantee, set the service type to be.

    The preceding service types are listed by the sending priority in a descending order.

    For the colors of the packets sent from private network to the public network, they are arranged by the discard priority in an ascending order, that is, green, yellow, and red.

Example

# Configure the Diff-Serv mode for forwarding multicast packets on the MTunnel interface as Pipe, the service type as af1, and the color as green.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >