1302
C
75: M
VPN C
HAPTER
ULTICAST
ONFIGURATION
# Enable IP multicast routing in VPN instance b, configure a share-group address,
associate an MTI with the VPN instance, and define the address range of the
switch-group-pool.
[PE3-vpn-instance-b] multicast routing-enable
[PE3-vpn-instance-b] multicast-domain share-group 239.2.2.2 binding
mtunnel 1
[PE3-vpn-instance-b] multicast-domain switch-group-pool 225.4.4.0 28
[PE3-vpn-instance-b] quit
# Configure an IP address, enable PIM-SM and LDP capability on the public
network interface Ethernet 0/1.
[PE3] interface ethernet 0/1
[PE3-Ethernet0/1] ip address 192.168.8.1 24
[PE3-Ethernet0/1] pim sm
[PE3-Ethernet0/1] mpls
[PE3-Ethernet0/1] mpls ldp
[PE3-Ethernet0/1] quit
# Bind Ethernet 0/2 to VPN instance a, configure an IP address and enable PIM-SM
on the interface.
[PE3] interface ethernet 0/2
[PE3-Ethernet0/2] ip binding vpn-instance a
[PE3-Ethernet0/2] ip address 10.110.5.1 24
[PE3-Ethernet0/2] pim sm
[PE3-Ethernet0/2] quit
# Bind Ethernet 0/3 to VPN instance b, configure an IP address and enable PIM-SM
on the interface.
[PE3] interface ethernet 0/3
[PE3-Ethernet0/3] ip binding vpn-instance b
[PE3-Ethernet0/3] ip address 10.110.6.1 24
[PE3-Ethernet0/3] pim sm
[PE3-Ethernet0/3] quit
# Configure an IP address for Loopback 1.
[PE3] interface loopback 1
[PE3-LoopBack1] ip address 1.1.1.3 32
[PE3-LoopBack1] quit
The interface MTI 0 will automatically obtain an IP address after BGP peer
configuration on PE 3. This address is the loopback interface address specified in
the BGP peer configuration. The PIM mode running on MTI 0 is the same as the
PIM mode running on all the interfaces in VPN instance a.
The interface MTI 1 will automatically obtain an IP address after BGP peer
configuration on PE 3. This address is the loopback interface address specified in
the BGP peer configuration. The PIM mode running on MTI 1 is the same as the
PIM mode running on all the interfaces in VPN instance b.
# Bind Loopback 2 to VPN instance b, configure an IP address and enable PIM-SM
on the interface.