The primary-root backup-root command specifies the primary and backup P2MP tunnels.
The undo primary-root backup-root command deletes the configuration of the primary and backup P2MP tunnels.
By default, no primary and backup P2MP tunnels are specified.
Parameter | Description | Value |
---|---|---|
priRootIp |
Specifies the IP address of the primary root node. |
The value is in dotted decimal notation. |
track |
Configures the leaf node to track. |
- |
bfd |
Configures the leaf node to track BFD sessions. |
- |
bakRootIp |
Specifies the IP address of the backup root node. |
The value is in dotted decimal notation. |
wtr wtrValue |
Specifies the WTR time of the BFD session to be tracked. |
The value is an integer ranging from 0 to 600, in seconds. The default value is 30. |
Usage Scenario
In dual-root protection scenarios in which P2MP tunnels are used to carry services, the root nodes send two copies of traffic through the primary and backup P2MP tunnels. To specify the primary and backup P2MP tunnels, run the primary-root backup-root command on a leaf node. Then the leaf node receives and processes only traffic transmitted through the primary P2MP tunnel and discards traffic transmitted through the backup P2MP tunnel. When the primary P2MP tunnel fails, the system quickly switches service traffic to the backup P2MP tunnel, ensuring reliable traffic transmission.
Prerequisites
Configuration Impact
After the undo primary-root backup-root command is run on a leaf node, the roles of the primary and backup P2MP tunnels are deleted so that both tunnels become independent and the leaf node receives and processes traffic from both tunnels.
Precautions
In dual-root protection scenarios in which P2MP tunnels are used to carry services, the root nodes send two copies of traffic through the primary and backup P2MP tunnels. To specify the primary and backup P2MP tunnels, run the primary-root backup-root command on a leaf node. Then the leaf node receives and processes only traffic transmitted through the primary P2MP tunnel and discards traffic transmitted through the backup P2MP tunnel. When the primary P2MP tunnel fails, the system quickly switches service traffic to the backup P2MP tunnel, ensuring reliable traffic transmission.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi vsi1 [*HUAWEI-vsi-vsi1] bgp-ad [*HUAWEI-vsi-vsi1-bgpad] vpls-id 1:1 [*HUAWEI-vsi-vsi1-bgpad] vpn-target 1:1 import-extcommunity [*HUAWEI-vsi-vsi1-bgpad] vpn-target 1:1 export-extcommunity [*HUAWEI-vsi-vsi1-bgpad] quit [*HUAWEI-vsi-vsi1] inclusive-provider-tunnel [*HUAWEI-vsi1-inclusive] leaf [*HUAWEI-vsi1-inclusive-leaf] primary-root 1.1.1.1 track bfd backup-root 2.2.2.2 track bfd wtr 100