5
3.
Configuring routing between an MCE and a PE
Configuring VPN instances
Creating a VPN instance
About VPN instances
A VPN instance is a collection of the VPN membership and routing rules of its associated site. A VPN
instance might correspond to more than one VPN.
Procedure
1.
Enter system view.
system-view
2.
Create a VPN instance and enter VPN instance view.
ip vpn-instance
vpn-instance-name
3.
Configure an RD for the VPN instance.
route-distinguisher
route-distinguisher
By default, no RD is configured for a VPN instance.
4.
(Optional.) Configure a description for the VPN instance.
description text
By default, no description is configured for a VPN instance.
5.
(Optional.) Configure a VPN ID for the VPN instance.
vpn-id vpn-id
By default, no VPN ID is configured for a VPN instance.
Associating a VPN instance with a Layer 3 interface
1.
Enter system view.
system-view
2.
Enter interface view.
interface interface-type interface-number
This interface connects the device to the CE.
3.
Associate a VPN instance with the interface.
ip binding vpn-instance vpn-instance-name
By default, an interface is not associated with a VPN instance and it belongs to the public
network.
CAUTION:
Associating a VPN instance with an interface or disassociating a VPN instance from an
interface will clear the IP address and routing protocol settings of the interface.
Configuration of this command deletes the IP address of the current interface. You must
reconfigure an IP address for the interface after configuring the command.
Содержание MS4520V2-24TP
Страница 7: ...ii Example Configuring IPv6 MCE 34...