rpt-spt mode

Function

The rpt-spt mode command configures PIM-SM RPTs to be set up across the public network.

The undo rpt-spt mode command restores the default configuration.

By default, PIM-SM RPTs cannot be set up.

Format

rpt-spt mode

undo rpt-spt mode

Parameters

None

Views

VPN instance IPv4 address family MVPN view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mvpn write

Usage Guidelines

Usage Scenario

On an NG MVPN, PIM-SM RPTs can be set up in either of the following modes:

  • PIM-SM RPT setup across the public network: PIM-SM RPTs are transmitted to remote PEs through the public network. The advantage is that VPN Rendezvous Points (RPs) can be deployed on PEs or CEs. The disadvantage is that the switchover from the Rendezvous Point Tree (RPT) to the shortest path tree (SPT) may occur on the public network. Therefore, PEs need to maintain many states. Currently, the VPN RP can only be a static RP.
  • PIM-SM RPT setup not across the public network: PIM-SM RPTs are not transmitted to remote PEs across the public network. The advantage is that PIM-SM RPTs are not transmitted across the public network. Therefore, the switchover from the RPT to the SPT does not occur on the public network tunnel, which simplifies PE processing and reduces the states maintained by PEs. A VPN RP can be a static RP or a dynamic RP. If a VPN RP is deployed on a CE, an MSDP peer relationship must be established between the CE and PE.

    By default, PIM-SM RPTs cannot be set up.
  • If you want to set up PIM-SM RPTs across the public network, run the rpt-spt mode command.
  • If you want PIM-SM RPTs to be set up not across the public network, run the spt-only mode command.

Precautions

PEs in the same MVPN instance must use the same PIM-SM RPT setup mode.

Example

# Configure PIM-SM RPTs to be set up across the public network.
<HUAWEI> system-view
[~HUAWEI] multicast mvpn 2.2.2.2
[*HUAWEI] ip vpn-instance mcast1
[*HUAWEI-vpn-instance-mcast1] ipv4-family
[*HUAWEI-vpn-instance-mcast1-af-ipv4] route-distinguisher 1:1
[*HUAWEI-vpn-instance-mcast1-af-ipv4] multicast routing-enable
[*HUAWEI-vpn-instance-mcast1-af-ipv4] multicast mvpn route-import local-admin-id 2
[*HUAWEI-vpn-instance-mcast1-af-ipv4] mvpn
[*HUAWEI-vpn-instance-mcast1-af-ipv4-mvpn] rpt-spt mode
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >