2
Device
Interface
IP address
Device
Interface
IP address
PE 1
Loopback 1
1.1.1.1/32
CE a1
VLAN-interface 10 10.11.3.1/24
P
VLAN-interface 2
192.168.1.1/24
CE a1
VLAN-interface 11 10.11.1.2/24
P
VLAN-interface 3
192.168.2.1/24
CE a1
Loopback 0
2.2.2.2/32
P
Loopback 1
3.3.3.3/32
CE a2
VLAN-interface 20 10.11.4.1/24
R 1
—
10.11.4.2/24
CE a2
VLAN-interface 12 10.11.2.2/24
Requirements analysis
To meet the network requirement, you must run PIM on the devices of the public network, and configure
MD VPN on each PE. In addition, make sure the PIM protocol on the public network is independent
from the PIM protocol for the VPN instance.
Software version used
This configuration example was created and verified on S12500-CMW710-R7328P02.
Configuration restrictions and guidelines
When you configure the intra-AS MD VPN, follow these restrictions and guidelines:
•
The MTI interfaces take effect only after the default-group and the MD source interface are
specified and the MD source interface obtains the public IP address.
•
You must enable the same PIM mode on all interfaces that belong to the same VPN instance
(including the interfaces associated with the VPN instance on the PEs).
•
You must specify the same default-group for the same VPN instance on different PEs.
•
The IP address of the MD source interface must be the same as the source address used for
establishing BGP peer relationship. Otherwise, correct routing information cannot be obtained.
•
By default, Ethernet interfaces, VLAN interfaces, and aggregate interfaces are shut down. You
must use the
undo shutdown
command to bring them up. This example assumes that all these
interfaces are already up.
Configuration procedures
1.
Assign an IP address and subnet mask to each interface on CE a1 according to
.
<CEa1> system-view
[CEa1] interface vlan-interface 10
[CEa1-Vlan-interface10] ip address 10.11.3.1 24
[CEa1-Vlan-interface10] quit
[CEa1] interface loopback 0
[CEa1-LoopBack0] ip address 2.2.2.2 32
[CEa1-LoopBack0] quit
[CEa1] interface vlan-interface 11