[PE-C-Vlanif120] ip binding vpn-instance BLUE
[PE-C-Vlanif120] ip address 10.110.6.1 24
[PE-C-Vlanif120] pim sm
# Assign an IP address to Loopback 1 and start PIM-SM.
[PE-C] interface loopback 1
[PE-C-LoopBack1] ip address 1.1.1.3 32
[PE-C-LoopBack1] pim sm
[PE-C-LoopBack1] quit
# Configure an IP address for MTI 0, which needs to be the same as the IP address of Loopback
1. Start PIM-SM on the interface.
[PE-C] interface MTunnel 0
[PE-C-MTunnel0] ip address 1.1.1.3 32
[PE-C-MTunnel0] pim sm
# Configure an IP address for MTI 1, which needs to be the same as the IP address of Loopback
1. Start PIM-SM on the interface.
[PE-C] interface MTunnel 1
[PE-C-MTunnel1] ip address 1.1.1.3 32
[PE-C-MTunnel1] pim sm
# Bind Loopback 2 to the VPN-BLUE instance, and start PIM-SM.
[PE-C] interface loopback 2
[PE-C-LoopBack2] ip binding vpn-instance BLUE
[PE-C-LoopBack2] ip address 33.33.33.33 32
[PE-C-LoopBack2] pim sm
[PE-C-LoopBack2] quit
# Configure Loopback 2 as the C-BSR and C-RP for VPN-BLUE of the private network.
[PE-C] pim vpn-instance BLUE
[PE-C-pim-BLUE] c-bsr Loopback2
[PE-C-pim-BLUE] c-rp Loopback2
[PE-C-pim-BLUE] quit
# Configure unicast routing information of BGP, OSPF, and RIP.
[PE-C] bgp 100
[PE-C-bgp] group VPN-G internal
[PE-C-bgp] peer VPN-G connect-interface LoopBack1
[PE-C-bgp] peer 1.1.1.1 group VPN-G
[PE-C-bgp] peer 1.1.1.2 group VPN-G
[PE-C-bgp] ipv4-family vpn-instance RED
[PE-C-bgp-RED] import-route rip 2
[PE-C-bgp-RED] import-route direct
[PE-C-bgp-RED] quit
[PE-C-bgp] ipv4-family vpn-instance BLUE
[PE-C-bgp-BLUE] import-route rip 3
[PE-C-bgp-BLUE] import-route direct
[PE-C-bgp-BLUE] quit
[PE-C-bgp] ipv4-family vpnv4
[PE-C-bgp-af-vpnv4] peer VPN-G enable
[PE-C-bgp-af-vpnv4] peer 1.1.1.1 group VPN-G
[PE-C-bgp-af-vpnv4] peer 1.1.1.2 group VPN-G
[PE-C-bgp-af-vpnv4] quit
[PE-C-bgp] quit
[PE-C] ospf 1
[PE-C-ospf-1] area 0.0.0.0
[PE-C-ospf-1-area-0.0.0.0] network 1.1.1.3 0.0.0.0
[PE-C-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.255.255
[PE-C-ospf-1-area-0.0.0.0] quit
[PE-C-ospf-1] quit
[PE-C] rip 2 vpn-instance RED
[PE-C-rip-2] network 10.0.0.0
Quidway S7700 Smart Routing Switch
Configuration Guide - Multicast 8 IPv4 Multicast VPN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
304