By binding an interface to a VPN instance, you can change the interface to a VPN interface. Then, packets entering this interface are forwarded according to the forwarding information of the VPN instance.
The configuration on the Hub-PE involves two interfaces or sub-interfaces:
One is bound to VPN-in for receiving the routes advertised by Spoke-PEs.
One is bound to VPN-out for advertising the routes of all the Hub sites and Spoke sites.
Perform the following steps on the Hub-PE and all the Spoke-PEs:
The system view is displayed.
The view of the interface to be bound to the VPN instance is displayed.
After the ip binding vpn-instance command is run on an interface, the Layer 3 features such as the IP address and routing protocol configured on the interface are deleted.
IPv6 is enabled on the interface.
An IPv6 address is configured for the interface.
The configuration is committed.