A VPN instance of the IPv6 address family can be configured to manage IPv6 VPN routes.
An instance is created to comprise the VPN forwarding information for each VPN in a BGP/MPLS IPv6 VPN. This instance is called a VPN instance or a VPN routing and forwarding (VRF) table. In related standards (BGP/MPLS IP VPNs), the VPN instance is also called a per-site forwarding table. VPN instances must be created in all BGP/MPLS IPv6 VPN solutions.
In a 6VPE scenario, both IPv4 and IPv6 address families must be enabled in a VPN instance. The IPv4 routing table of the VPN instance manages routes used to establish VPN LDP LSPs, whereas the IPv6 routing table of the VPN instance manages received VPN IPv6 routes.
The system view is displayed.
A VPN instance is created, and its view is displayed.
A VPN instance name is case sensitive. For example, "vpn1" and "VPN1" are different VPN instances.
A description is configured for the VPN instance.
Similar to a host name or an interface description, the VPN instance description helps users memorize the VPN instance.
The IPv4 address family is enabled for the VPN instance, and the VPN instance IPv4 address family view is displayed.
Configurations in a VPN instance can be performed only after an address family is enabled for the VPN instance based on the advertised route and forwarding data type.
An RD is set for the VPN instance IPv4 address family. A VPN instance IPv4 address family takes effect only after being configured with an RD. The RDs of different VPN instances on a PE must be different.
One or multiple VPN targets are configured for the VPN instance IPv4 address family.
A VPN target is a BGP extended community attribute. It is used to control the acceptance and advertisement of VPN routing information. A maximum of eight VPN targets can be configured using the vpn-target command. If you want to configure multiple VPN targets in the VPN instance IPv4 address family view, run the vpn-target command multiple times.
Exit from the VPN instance IPv4 address family view.
The IPv6 address family is enabled for the VPN instance, and the VPN instance IPv6 address family view is displayed.
VPN instances support both the IPv4 and IPv6 address families. Configurations in a VPN instance can be performed only after an address family is enabled for the VPN instance based on the advertised route and forwarding data type.
An RD is set for the VPN instance IPv6 address family.
A VPN instance IPv6 address family takes effect only after being configured with an RD. RDs configured for different VPN instance IPv6 address families on the same PE must be different.
One or multiple VPN targets are configured for the VPN instance IPv6 address family.
A VPN target is a BGP extended community attribute. They are used to control the acceptance and advertisement of VPNv6 routes. A maximum of eight VPN targets can be configured using the vpn-target command. If you want to configure more VPN targets in the VPN instance IPv6 address family view, repeat running the vpn-target command.
The configuration is committed.
You can configure a route-policy in a VPN instance to implement functions, such as filtering routes and limiting the number of allowed routes. For configuration details, see Configuring an IPv4 VPN Instance and Configuring an IPv6 VPN Instance.