5
# Associate VLAN-interface 12 with VPN instance
customerA
.
[PE2] interface vlan-interface 12
[PE2-Vlan-interface12] ip binding vpn-instance customerA
[PE2-Vlan-interface12] quit
# Enable IP multicast routing for VPN instance
customerA
.
[PE2] multicast routing vpn-instance customerA
[PE2-mrib-customerA] quit
# Enable PIM-SM on VLAN-interface 12.
[PE2] interface vlan-interface 12
[PE2-Vlan-interface12] pim sm
[PE2-Vlan-interface12] quit
5.
Configure the MD for the VPN instance:
# On PE 1, create an MD for VPN instance
customerA
, specify the default-group, MD source
interface, and data-group range.
[PE1] multicast-domain vpn-instance customerA
[PE1-md-customerA] default-group 239.1.1.1
[PE1-md-customerA] source loopback 1
[PE1-md-customerA] data-group 225.2.2.0 28
[PE1-md-customerA] quit
# On PE 2, create an MD for VPN instance
customerA
, and specify the default-group, MD source
interface, and data-group range.
[PE2] multicast-domain vpn-instance customerA
[PE2-md-customerA] default-group 239.1.1.1
[PE2-md-customerA] source loopback 1
[PE2-md-customerA] data-group 225.2.2.0 28
[PE2-md-customerA] quit
Verifying the configuration
# Verify the establishment of the default-MDT for the public network on PEs and P. The following
example shows PIM routing table for the public network on P.
[P]display pim routing-table
Total 1 (*, G) entry; 2 (S, G) entry
(*, 239.1.1.1)
RP: 3.3.3.3 (local)
Protocol: pim-sm, Flag: SPT LOC ACT
UpTime: 02:54:43
Upstream interface: Register
Upstream neighbor: NULL
RPF prime neighbor: NULL
Downstream interface(s) information:
Total number of downstreams: 2
1: Vlan-interface2
Protocol: pim-sm, UpTime: 02:54:43, Expires: -
2: Vlan-interface3
Protocol: pim-sm, UpTime: 02:33:57, Expires: -