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.

Troubleshooting Guide
CloudEngine 16800, 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches
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).
What is VPN Target in VPN Instances?

What is VPN Target in VPN Instances?

A VPN target, also called the route target (RT), is a BGP extension community attribute. BGP/MPLS IP VPN uses VPN targets to control VPN routes advertisement.

A VPN instance is associated with one or more VPN target attributes. VPN target attributes are classified into the following types:

  • Export target: After a PE device learns IPv4 routes from directly connected sites, it converts the routes to VPN-IPv4 routes and sets the export target attribute for those routes. The export target attribute is advertised with the routes as a BGP extended community attribute.
  • Import target: After a PE device receives VPN-IPv4 routes from other PE devices, it checks the export target attribute of the routes. If the export target is the same as the import target of a VPN instance on the local PE device, the local PE device adds the route to the routing table of the VPN instance.

BGP/MPLS IP VPN uses VPN targets to control advertisement and receiving of VPN routes between sites. VPN export targets are independent of import targets. An export target and an import target can be configured with multiple values to implement flexible VPN access control and VPN networking.

For example, if the import target of a VPN instance contains 100:1, 200:1, and 300:1, any route with the export target of 100:1, 200:1, or 300:1 is added to the routing table of the VPN instance.

Updated: 2020-01-07

Document ID: EDOC1000060766

Views: 655273

Downloads: 3042

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next