This section provides an example for configuring dual-root 1+1 protection for RSVP-TE P2MP LSPs.
In an NG MVPN scenario, if a sender PE on a P2MP tunnel fails, the VPN multicast service will be interrupted. The network can rely only on unicast route convergence for recovery. However, unicast route convergence takes a long time and may fail to meet the high reliability requirements of some multicast services. To resolve this problem, configure dual-root 1+1 protection for RSVP-TE P2MP LSPs. On the network shown in Figure 1, a primary RSVP-TE P2MP LSP is established with PE1 as the root node, and a backup RSVP-TE P2MP LSP is established with PE2 as the root node. When the links are working properly, multicast traffic is forwarded through both the primary and backup tunnels bidirectionally. The leaf node PE3 selects the multicast traffic received from the primary tunnel and discards the multicast traffic received from the backup tunnel. If PE1 fails, the leaf nodes can use BFD for P2MP TE to quickly detect the RSVP-TE P2MP LSP fault and choose to accept the multicast traffic received from the backup tunnel. This accelerates multicast service convergence and improves reliability.
The configuration roadmap is as follows:
Configure BGP/MPLS IP VPN and ensure that unicast VPN services are properly transmitted.
Enable P2MP TE globally and configure a P2MP TE template on each PE so that the PEs can use RSVP-TE to establish a P2MP LSP.
Establish BGP MVPN peer relationships between the PEs so that the PEs can use BGP to exchange BGP A-D and BGP C-multicast routes.
Configure PE1 and PE2 as sender PEs. Configure RSVP-TE P2MP on PE1 and PE2 so that two RSVP-TE P2MP LSPs rooted at PE1 and PE2 respectively can be established. PE3 serves as a leaf node of both tunnels.
Configure BFD for P2MP TE on the PEs to allow them to detect public network node or link failures.
Configure VPN FRR on PE3 so that PE3 can have two routes to the multicast source. PE3 uses the route advertised by PE1 as the primary route and the route advertised by PE2 as the backup route.
Enable MVPN FRR on PE3.
Configure PIM on the PE interfaces bound to VPN instances and on the CE interfaces connecting to PEs to allow a VPN multicast routing table to be established to guide multicast traffic forwarding.
Configure IGMP on the interfaces connecting a multicast device to a user network segment to allow the device to manage multicast group members on the network segment.
To complete the configuration, you need the following data:
IS-IS process on the public network (process 1) in a Level-2 area; System IDs of PE1, PE2, and PE3 (10.0000.0000.0001.00, 10.0000.0000.0002.00, and 10.0000.0000.0003.00)
Device Name |
IP Address of Loopback 1 |
MPLS LSR ID |
MVPN ID |
RD |
VPN-Target |
AS Number |
---|---|---|---|---|---|---|
CE1 |
1.1.1.1 |
- |
- |
- |
- |
AS65001 |
PE1 |
2.2.2.2 |
2.2.2.2 |
2.2.2.2 |
200:1 |
3:3 |
AS100 |
PE2 |
3.3.3.3 |
3.3.3.3 |
3.3.3.3 |
300:1 |
3:3 |
AS100 |
PE3 |
4.4.4.4 |
4.4.4.4 |
4.4.4.4 |
400:1 |
3:3 |
AS100 |
CE2 |
5.5.5.5 |
- |
- |
- |
- |
AS65002 |
# Configure PE1.
[~PE1] mpls [*PE1-mpls] mpls te p2mp-te [*PE1-mpls] quit [*PE1] mpls te p2mp-template t1 [*PE1-te-p2mp-template-t1] quit [*PE1] commit
# Configure PE2.
[~PE2] mpls [*PE2-mpls] mpls te p2mp-te [*PE2-mpls] quit [*PE2] mpls te p2mp-template t1 [*PE2-te-p2mp-template-t1] quit [*PE2] commit
# Configure PE3.
[~PE3] mpls [*PE3-mpls] mpls te p2mp-te [*PE3-mpls] quit [*PE3] commit
# Configure PE1.
[~PE1] bgp 100 [*PE1-bgp] ipv4-family mvpn [*PE1-bgp-af-mvpn] peer 4.4.4.4 enable [*PE1-bgp-af-mvpn] quit [*PE1-bgp] quit [*PE1] commit
# Configure PE2.
[~PE2] bgp 100 [*PE2-bgp] ipv4-family mvpn [*PE2-bgp-af-mvpn] peer 4.4.4.4 enable [*PE2-bgp-af-mvpn] quit [*PE2-bgp] quit [*PE2] commit
# Configure PE3.
[~PE3] bgp 100 [*PE3-bgp] ipv4-family mvpn [*PE3-bgp-af-mvpn] peer 2.2.2.2 enable [*PE3-bgp-af-mvpn] peer 3.3.3.3 enable [*PE3-bgp-af-mvpn] quit [*PE3-bgp] quit [*PE3] commit
After the configurations are complete, run the display bgp mvpn all peer command on the PEs. The command output shows that PE3 has established a BGP MVPN peer relationship with PE1 and PE2. The following example uses the command output on PE3:
[~PE3] display bgp mvpn all peer
BGP local router ID : 10.1.1.2
Local AS number : 100
Total number of peers : 2 Peers in established state : 2
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
2.2.2.2 4 100 275 290 0 03:10:56 Established 1
3.3.3.3 4 100 286 294 0 03:44:39 Established 1
# Configure PE1.
[~PE1] multicast mvpn 2.2.2.2 [*PE1] ip vpn-instance VPNA [*PE1-vpn-instance-VPNA] ipv4-family [*PE1-vpn-instance-VPNA-af-ipv4] multicast routing-enable [*PE1-vpn-instance-VPNA-af-ipv4] mvpn [*PE1-vpn-instance-VPNA-af-ipv4-mvpn] sender-enable [*PE1-vpn-instance-VPNA-af-ipv4-mvpn] ipmsi-tunnel [*PE1-vpn-instance-VPNA-af-ipv4-mvpn-ipmsi] mpls te [*PE1-vpn-instance-VPNA-af-ipv4-mvpn-ipmsi-mpls-te] p2mp-template t1 [*PE1-vpn-instance-VPNA-af-ipv4-mvpn-ipmsi-mpls-te] quit [*PE1-vpn-instance-VPNA-af-ipv4-mvpn-ipmsi] quit [*PE1-vpn-instance-VPNA-af-ipv4-mvpn] quit [*PE1-vpn-instance-VPNA-af-ipv4] quit [*PE1-vpn-instance-VPNA] quit [*PE1] commit
# Configure PE2.
[~PE2] multicast mvpn 3.3.3.3 [*PE2] ip vpn-instance VPNA [*PE2-vpn-instance-VPNA] ipv4-family [*PE2-vpn-instance-VPNA-af-ipv4] multicast routing-enable [*PE2-vpn-instance-VPNA-af-ipv4] mvpn [*PE2-vpn-instance-VPNA-af-ipv4-mvpn] sender-enable [*PE2-vpn-instance-VPNA-af-ipv4-mvpn] ipmsi-tunnel [*PE2-vpn-instance-VPNA-af-ipv4-mvpn-ipmsi] mpls te [*PE2-vpn-instance-VPNA-af-ipv4-mvpn-ipmsi-mpls-te] p2mp-template t1 [*PE2-vpn-instance-VPNA-af-ipv4-mvpn-ipmsi-mpls-te] quit [*PE2-vpn-instance-VPNA-af-ipv4-mvpn-ipmsi] quit [*PE2-vpn-instance-VPNA-af-ipv4-mvpn] quit [*PE2-vpn-instance-VPNA-af-ipv4] quit [*PE2-vpn-instance-VPNA] quit [*PE2] commit
# Configure PE3.
[~PE3] multicast mvpn 4.4.4.4 [*PE3] ip vpn-instance VPNA [*PE3-vpn-instance-VPNA] ipv4-family [*PE3-vpn-instance-VPNA-af-ipv4] multicast routing-enable [*PE3-vpn-instance-VPNA-af-ipv4] mvpn [*PE3-vpn-instance-VPNA-af-ipv4-mvpn] c-multicast signaling bgp [*PE3-vpn-instance-VPNA-af-ipv4-mvpn] quit [*PE3-vpn-instance-VPNA-af-ipv4] quit [*PE3-vpn-instance-VPNA] quit [*PE3] commit
After the configurations are complete, run the display mvpn vpn-instance ipmsi command on the PEs to check I-PMSI tunnel information. The following example uses the command outputs on PE1 and PE2.
[~PE1] display mvpn vpn-instance VPNA ipmsi MVPN local I-PMSI information for VPN-Instance: VPNA Tunnel type: RSVP-TE P2MP LSP Tunnel state: Up P2MP ID: 0x2020202 Tunnel ID: 32769 Extended tunnel ID: 2.2.2.2 Root: 2.2.2.2 (local) Leaf: 1: 4.4.4.4 [~PE2] display mvpn vpn-instance VPNA ipmsi MVPN local I-PMSI information for VPN-Instance: VPNA Tunnel type: RSVP-TE P2MP LSP Tunnel state: Up P2MP ID: 0x3030303 Tunnel ID: 32769 Extended tunnel ID: 3.3.3.3 Root: 3.3.3.3 (local) Leaf: 1: 4.4.4.4
The command outputs show that two RSVP-TE P2MP LSPs have been established, with PE1 and PE2 as the root nodes respectively and PE3 as the leaf node.
# Configure PE1.
[~PE1] interface gigabitethernet0/1/0 [*PE1-GigabitEthernet0/1/0] mpls te bandwidth max-reservable-bandwidth 100000 [*PE1-GigabitEthernet0/1/0] mpls te bandwidth bc0 100000 [*PE1-GigabitEthernet0/1/0] quit [*PE1] bfd [*PE1-bfd] quit [*PE1] mpls te p2mp-template t1 [*PE1-te-p2mp-template-t1] record-route label [*PE1-te-p2mp-template-t1] bandwidth ct0 100 [*PE1-te-p2mp-template-t1] fast-reroute bandwidth [*PE1-te-p2mp-template-t1] bypass-attributes bandwidth 10 priority 7 7 [*PE1-te-p2mp-template-t1] bfd enable [*PE1-te-p2mp-template-t1] quit [*PE1] commit
# Configure PE2.
[~PE2] interface gigabitethernet0/1/1 [*PE2-GigabitEthernet0/1/1] mpls te bandwidth max-reservable-bandwidth 100000 [*PE2-GigabitEthernet0/1/1] mpls te bandwidth bc0 100000 [*PE2-GigabitEthernet0/1/1] quit [~PE2] bfd [*PE2-bfd] quit [*PE2] mpls te p2mp-template t1 [*PE2-te-p2mp-template-t1] record-route label [*PE2-te-p2mp-template-t1] bandwidth ct0 100 [*PE2-te-p2mp-template-t1] fast-reroute bandwidth [*PE2-te-p2mp-template-t1] bypass-attributes bandwidth 10 priority 7 7 [*PE2-te-p2mp-template-t1] bfd enable [*PE2-te-p2mp-template-t1] quit [*PE2] commit
# Configure PE3.
[~PE3] bfd [*PE3-bfd] mpls-passive [*PE3-bfd] quit [*PE3] commit
[~PE3] bgp 100 [*PE3-bgp] ipv4-family vpn-instance VPNA [*PE3-bgp-VPNA] auto-frr [*PE3-bgp-VPNA] quit [*PE3-bgp] quit [*PE3] commit
[~PE3] ip vpn-instance VPNA [*PE3-vpn-instance-VPNA] ipv4-family [*PE3-vpn-instance-VPNA-af-ipv4] mvpn [*PE3-vpn-instance-VPNA-af-ipv4-mvpn] c-multicast frr [*PE3-vpn-instance-VPNA-af-ipv4-mvpn] quit [*PE3-vpn-instance-VPNA-af-ipv4] quit [*PE3-vpn-instance-VPNA] quit [*PE3] commit
# Configure PE1.
[*PE1] interface gigabitethernet0/1/1 [*PE1-GigabitEthernet0/1/1] pim sm [*PE1-GigabitEthernet0/1/1] quit [*PE1] commit
# Configure CE1.
[~CE1] multicast routing-enable [*CE1] interface gigabitethernet0/1/0 [*CE1-GigabitEthernet0/1/0] pim sm [*CE1-GigabitEthernet0/1/0] quit [*CE1] interface gigabitethernet0/1/1 [*CE1-GigabitEthernet0/1/1] pim sm [*CE1-GigabitEthernet0/1/1] quit [*CE1] interface gigabitethernet0/1/2 [*CE1-GigabitEthernet0/1/2] pim sm [*CE1-GigabitEthernet0/1/2] quit [*CE1] commit
# Configure PE2.
[*PE2] interface gigabitethernet0/1/2 [*PE2-GigabitEthernet0/1/2] pim sm [*PE2-GigabitEthernet0/1/2] quit [*PE2] commit
# Configure CE2.
[~CE2] multicast routing-enable [*CE2] interface gigabitethernet0/1/0 [*CE2-GigabitEthernet0/1/0] pim sm [*CE2-GigabitEthernet0/1/0] quit [*CE2] interface gigabitethernet0/1/1 [*CE2-GigabitEthernet0/1/1] pim sm [*CE2-GigabitEthernet0/1/1] quit [*CE2] commit
# Configure PE3.
[*PE3] interface gigabitethernet0/1/0 [*PE3-GigabitEthernet0/1/0] pim sm [*PE3-GigabitEthernet0/1/0] quit [*PE3] commit
[~CE2] interface gigabitethernet0/1/1 [*CE2-GigabitEthernet0/1/1] pim sm [*CE2-GigabitEthernet0/1/1] igmp enable [*CE2-GigabitEthernet0/1/1] igmp version 3 [*CE2-GigabitEthernet0/1/1] quit [*CE2] commit
After the configurations are complete, RSVP-TE P2MP LSPs have dual-root 1+1 protection. After users of CE2 send IGMPv3 Report messages and the multicast source at 10.1.3.2 sends multicast traffic, you can check multicast routing entries.
When the links are working properly:
[~PE3] display pim vpn-instance VPNA routing-table VPN-Instance: VPNA Total 0 (*, G) entry; 1 (S, G) entry (10.1.3.2, 225.1.1.1) RP: NULL Protocol: pim-sm, Flag: SPT ACT UpTime: 03:12:27 Upstream interface: through-BGP, Refresh time: 03:12:27 Upstream neighbor: 2.2.2.2 RPF prime neighbor: 2.2.2.2 Backup Upstream neighbor: 3.3.3.3 Backup RPF prime neighbor: 3.3.3.3 Downstream interface(s) information: Total number of downstreams: 1 1: GigabitEthernet0/1/0 Protocol: pim-sm, UpTime: 03:12:27, Expires: 00:03:05
[~CE1] display pim routing-table VPN-Instance: public net Total 0 (*, G) entry; 1 (S, G) entry (10.1.3.2, 225.1.1.1) RP: NULL Protocol: pim-sm, Flag: SPT LOC ACT UpTime: 03:35:37 Upstream interface: GigabitEthernet0/1/0, Refresh time: 03:35:37 Upstream neighbor: NULL RPF prime neighbor: NULL Downstream interface(s) information: Total number of downstreams: 1 1: GigabitEthernet0/1/1 Protocol: pim-sm, UpTime: 03:28:03, Expires: 00:03:28 1: GigabitEthernet0/1/2 Protocol: pim-sm, UpTime: 03:28:03, Expires: 00:03:28
If a link fails:
[~PE1] interface gigabitethernet0/1/0 [~PE1-GigabitEthernet0/1/0] shutdown [*PE1-GigabitEthernet0/1/0] quit [*PE1] commit
# Run the display pim routing-table command on receiver CE2 and sender CE1 to check the PIM routing table. Run the display pim vpn-instance routing-table command on receiver PE3 and sender PE2 to check the PIM routing table of the VPN instance.
[~CE2] display pim routing-table VPN-Instance: public net Total 0 (*, G) entry; 1 (S, G) entry (10.1.3.2, 225.1.1.1) RP: NULL Protocol: pim-sm, Flag: SPT SG_RCVR ACT UpTime: 05:39:14 Upstream interface: GigabitEthernet0/1/0, Refresh time: 05:39:14 Upstream neighbor: 192.168.3.1 RPF prime neighbor: 192.168.3.1 Downstream interface(s) information: Total number of downstreams: 1 1: GigabitEthernet0/1/1 Protocol: igmp, UpTime: 05:39:14, Expires: - [~PE3] display pim vpn-instance VPNA routing-table VPN-Instance: VPNA Total 0 (*, G) entry; 1 (S, G) entry (10.1.3.2, 225.1.1.1) RP: NULL Protocol: pim-sm, Flag: SPT ACT UpTime: 03:32:13 Upstream interface: through-BGP, Refresh time: 03:32:13 Upstream neighbor: 3.3.3.3 RPF prime neighbor: 3.3.3.3 Downstream interface(s) information: Total number of downstreams: 1 1: GigabitEthernet0/1/0 Protocol: pim-sm, UpTime: 03:32:13, Expires: 00:03:19 [~PE2] display pim vpn-instance VPNA routing-table VPN-Instance: VPNA Total 0 (*, G) entry; 1 (S, G) entry (10.1.3.2, 225.1.1.1) RP: NULL Protocol: pim-sm, Flag: SPT SG_RCVR ACT UpTime: 03:25:51 Upstream interface: GigabitEthernet0/1/2, Refresh time: 03:25:51 Upstream neighbor: 192.168.2.1 RPF prime neighbor: 192.168.2.1 Downstream interface(s) information: Total number of downstreams: 1 1: pseudo Protocol: BGP, UpTime: 03:25:51, Expires: - [~CE1] display pim routing-table VPN-Instance: public net Total 0 (*, G) entry; 1 (S, G) entry (10.1.3.2, 225.1.1.1) RP: NULL Protocol: pim-sm, Flag: SPT LOC ACT UpTime: 03:35:37 Upstream interface: GigabitEthernet0/1/0, Refresh time: 03:35:37 Upstream neighbor: NULL RPF prime neighbor: NULL Downstream interface(s) information: Total number of downstreams: 1 1: GigabitEthernet0/1/2 Protocol: pim-sm, UpTime: 03:28:03, Expires: 00:03:28
The command outputs show that traffic exists in the backup RSVP-TE P2MP LSP because a backup upstream device is available. Therefore, multicast traffic in the backup RSVP-TE P2MP LSP can be forwarded to receivers immediately after BFD detects that the primary RSVP-TE P2MP LSP is faulty.
CE1 configuration file
# sysname CE1 # multicast routing-enable # interface GigabitEthernet0/1/0 undo shutdown ip address 10.1.3.1 255.255.255.0 pim sm # interface GigabitEthernet0/1/1 undo shutdown ip address 192.168.1.1 255.255.255.0 pim sm # interface GigabitEthernet0/1/2 undo shutdown ip address 192.168.2.1 255.255.255.0 pim sm # interface LoopBack1 ip address 1.1.1.1 255.255.255.255 # bgp 65001 peer 192.168.1.2 as-number 100 peer 192.168.2.2 as-number 100 # ipv4-family unicast undo synchronization import-route direct peer 192.168.1.2 enable peer 192.168.2.2 enable # return
PE1 configuration file
# sysname PE1 # multicast mvpn 2.2.2.2 # ip vpn-instance VPNA ipv4-family route-distinguisher 200:1 apply-label per-instance tnl-policy p1 vpn-target 3:3 export-extcommunity vpn-target 3:3 import-extcommunity multicast routing-enable mvpn sender-enable ipmsi-tunnel mpls te p2mp-template t1 # bfd # mpls lsr-id 2.2.2.2 # mpls mpls te mpls te p2mp-te mpls rsvp-te mpls te cspf # mpls te p2mp-template t1 record-route label bandwidth ct0 100 fast-reroute bandwidth bypass-attributes bandwidth 10 priority 7 7 bfd enable # isis 1 is-level level-2 cost-style wide network-entity 10.0000.0000.0001.00 traffic-eng level-2 # interface GigabitEthernet0/1/0 undo shutdown ip address 10.1.1.1 255.255.255.0 isis enable 1 mpls mpls te mpls te bandwidth max-reservable-bandwidth 100000 mpls te bandwidth bc0 100000 mpls rsvp-te # interface GigabitEthernet0/1/1 undo shutdown ip binding vpn-instance VPNA ip address 192.168.1.2 255.255.255.0 pim sm # interface LoopBack1 ip address 2.2.2.2 255.255.255.255 isis enable 1 # interface Tunnel10 ip address unnumbered interface LoopBack1 tunnel-protocol mpls te destination 4.4.4.4 mpls te reserved-for-binding mpls te tunnel-id 100 # bgp 100 peer 4.4.4.4 as-number 100 peer 4.4.4.4 connect-interface LoopBack1 # ipv4-family unicast undo synchronization peer 4.4.4.4 enable # ipv4-family mvpn policy vpn-target peer 4.4.4.4 enable # ipv4-family vpnv4 policy vpn-target peer 4.4.4.4 enable # ipv4-family vpn-instance VPNA import-route direct peer 192.168.1.1 as-number 65001 # tunnel-policy p1 tunnel binding destination 4.4.4.4 te Tunnel10 down-switch # return
PE2 configuration file
# sysname PE2 # multicast mvpn 3.3.3.3 # ip vpn-instance VPNA ipv4-family route-distinguisher 300:1 apply-label per-instance tnl-policy p1 vpn-target 3:3 export-extcommunity vpn-target 3:3 import-extcommunity multicast routing-enable mvpn sender-enable ipmsi-tunnel mpls te p2mp-template t1 # bfd # mpls lsr-id 3.3.3.3 # mpls mpls te mpls te p2mp-te mpls rsvp-te mpls te cspf # mpls te p2mp-template t1 record-route label bandwidth ct0 100 fast-reroute bandwidth bypass-attributes bandwidth 10 priority 7 7 bfd enable # isis 1 is-level level-2 cost-style wide network-entity 10.0000.0000.0002.00 traffic-eng level-2 # interface GigabitEthernet0/1/1 undo shutdown ip address 10.1.2.1 255.255.255.0 isis enable 1 mpls mpls te mpls te bandwidth max-reservable-bandwidth 100000 mpls te bandwidth bc0 100000 mpls rsvp-te # interface GigabitEthernet0/1/2 undo shutdown ip binding vpn-instance VPNA ip address 192.168.2.2 255.255.255.0 pim sm # interface LoopBack1 ip address 3.3.3.3 255.255.255.255 isis enable 1 # interface Tunnel10 ip address unnumbered interface LoopBack1 tunnel-protocol mpls te destination 4.4.4.4 mpls te reserved-for-binding mpls te tunnel-id 200 # bgp 100 peer 4.4.4.4 as-number 100 peer 4.4.4.4 connect-interface LoopBack1 # ipv4-family unicast undo synchronization peer 4.4.4.4 enable # ipv4-family mvpn policy vpn-target peer 4.4.4.4 enable # ipv4-family vpnv4 policy vpn-target peer 4.4.4.4 enable # ipv4-family vpn-instance VPNA import-route direct peer 192.168.2.1 as-number 65001 # tunnel-policy p1 tunnel binding destination 4.4.4.4 te Tunnel10 down-switch # return
PE3 configuration file
# sysname PE3 # multicast mvpn 4.4.4.4 # ip vpn-instance VPNA ipv4-family route-distinguisher 400:1 apply-label per-instance tnl-policy p1 vpn-target 3:3 export-extcommunity vpn-target 3:3 import-extcommunity multicast routing-enable mvpn c-multicast signaling bgp c-multicast frr # bfd mpls-passive # mpls lsr-id 4.4.4.4 # mpls mpls te mpls te p2mp-te mpls rsvp-te mpls te cspf # isis 1 is-level level-2 cost-style wide network-entity 10.0000.0000.0003.00 traffic-eng level-2 # interface GigabitEthernet0/1/0 undo shutdown ip binding vpn-instance VPNA ip address 192.168.3.1 255.255.255.0 pim sm # interface GigabitEthernet0/1/1 undo shutdown ip address 10.1.1.2 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te # interface GigabitEthernet0/1/2 undo shutdown ip address 10.1.2.2 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te # interface LoopBack1 ip address 4.4.4.4 255.255.255.255 isis enable 1 # interface Tunnel10 ip address unnumbered interface LoopBack1 tunnel-protocol mpls te destination 2.2.2.2 mpls te reserved-for-binding mpls te tunnel-id 100 # interface Tunnel11 ip address unnumbered interface LoopBack1 tunnel-protocol mpls te destination 3.3.3.3 mpls te reserved-for-binding mpls te tunnel-id 200 # bgp 100 peer 2.2.2.2 as-number 100 peer 2.2.2.2 connect-interface LoopBack1 peer 3.3.3.3 as-number 100 peer 3.3.3.3 connect-interface LoopBack1 # ipv4-family unicast undo synchronization peer 2.2.2.2 enable peer 3.3.3.3 enable # ipv4-family mvpn policy vpn-target peer 2.2.2.2 enable peer 3.3.3.3 enable # ipv4-family vpnv4 policy vpn-target peer 2.2.2.2 enable peer 3.3.3.3 enable # ipv4-family vpn-instance VPNA import-route direct auto-frr peer 192.168.3.2 as-number 65002 # tunnel-policy p1 tunnel binding destination 2.2.2.2 te Tunnel10 down-switch tunnel binding destination 3.3.3.3 te Tunnel11 down-switch # return
CE2 configuration file
# sysname CE2 # multicast routing-enable # interface GigabitEthernet0/1/0 undo shutdown ip address 192.168.3.2 255.255.255.0 pim sm # interface GigabitEthernet0/1/1 undo shutdown ip address 10.1.4.1 255.255.255.0 pim sm igmp enable igmp version 3 # interface LoopBack1 ip address 5.5.5.5 255.255.255.255 # bgp 65002 peer 192.168.3.1 as-number 100 # ipv4-family unicast undo synchronization import-route direct peer 192.168.3.1 enable # return