No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Configuration Guide - VPN 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - VPN
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Binding an Interface to a VPN Instance

Binding an Interface to a VPN Instance

By binding an interface to a VPN instance, you can change the interface to be 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.

If a Hub-PE and a Hub-CE are connected through a single link, one interface or sub-interface on the Hub-PE is bound to the VPN instance vpnhub.

Perform the following steps on the Hub-PE and all the Spoke-PEs.


  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run ip binding vpn-instance vpn-instance-name

    The interface is bound to the VPN instance.


    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.

  4. Run ip address ip-address { mask | mask-length }

    An IP address is configured for the interface.

  5. Run quit

    Return to the system view.

  6. Run commit

    The configuration is committed.

Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 31939

Downloads: 59

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next