220
Configuring MD VPN
This section describes how to configure MD VPN.
Configuration prerequisites
Before you configure MD VPN, complete the following tasks:
•
Configure a unicast routing protocol on the public network.
•
Configure MPLS L3VPN on the public network.
•
Configure PIM-DM, PIM-SM, BIDIR-PIM, or PIM-SSM on the public network.
•
Determine the VPN instance names and RDs.
•
Determine the default-groups.
•
Determine the source address for establishing BGP peers.
•
Determine the data-group range and the MDT switchover criteria.
•
Determine the data-delay period.
•
Determine the data-holddown period.
Enabling IP multicast routing for a VPN instance
Before you configure any MD VPN functionality for a VPN instance, you must create a VPN instance
and enable IP multicast routing for the VPN instance.
Perform this task on PE devices.
To enable IP multicast routing for a VPN instance:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a VPN instance and
enter its view.
ip
vpn-instance
vpn-instance-name
By default, no VPN instances
exist.
For more information about this
command, see
MPLS Command
Reference.
3.
Configure an RD for the VPN
instance.
route-distinguisher
route-disting
uisher
By default, a VPN instance is not
configured with an RD.
For more information about this
command, see
MPLS Command
Reference.
4.
Return to system view.
quit
N/A
5.
Enable IP multicast routing
for the VPN instance and
enter MRIB view of the VPN
instance.
•
Enable IPv4 multicast routing
and enter MRIB view of the
VPN instance:
multicast routing
vpn-instance vpn-instance-
name
•
Enable IPv6 multicast routing
and enter IPv6 MRIB view of
the VPN instance:
ipv6 multicast routing
vpn-instance vpn-instance-
name
By default, IP multicast routing is
disabled in a VPN instance.