273Creating a VPN instanceA VPN instance is a collection of the VPN membership and routing rules of its associated site. A VPNinstance might correspond to more than one VPN.To create and configure a VPN instance:Step Command Remarks1. Enter system view. system-view N/A2. Create a VPN instance andenter VPN instance view.ip vpn-instancevpn-instance-nameBy default, no VPN instancesexist.3. Configure an RD for the VPNinstance.route-distinguisherroute-distinguisherBy default, no RD is configured fora VPN instance.4. (Optional.) Configure adescription for the VPNinstance.description textBy default, no description isconfigured for a VPN instance.The description should containthe VPN instance's relatedinformation, such as itsrelationship with a certain VPN.5. (Optional.) Set an ID for theVPN instance. vpn-id vpn-id By default, no ID is configured fora VPN instance.6. (Optional.) Configure anSNMP context for the VPNinstance.snmp context-namecontext-nameBy default, no SNMP context isconfigured.Associating a VPN instance with an interfaceAfter creating and configuring a VPN instance, associate the VPN instance with the interfaceconnected to the CE.To associate a VPN instance with an interface:Step Command Remarks1. Enter system view. system-view N/A2. Enter interface view. interface interface-typeinterface-number N/A3. Associate a VPN instancewith the interface.ip binding vpn-instancevpn-instance-nameBy default, an interface is notassociated with a VPN instanceand belongs to the public network.The ip binding vpn-instancecommand clears the IP address ofthe interface. Therefore,reconfigure an IP address for theinterface after configuring thiscommand.Configuring route related attributes for a VPN instanceStep Command Remarks1. Enter system view. system-view N/A