vpn-instance
Use vpn-instance to apply a DHCPv6 address pool to a VPN instance.
Use undo vpn-instance to restore the default.
Syntax
vpn-instance vpn-instance-name
undo vpn-instance
Default
The DHCPv6 address pool is not applied to any VPN instance.
Views
DHCPv6 address pool view
Predefined user roles
network-admin
mdc-admin
Parameters
vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, the DHCPv6 address pool belongs to the public network.
Usage guidelines
If a DHCPv6 address pool is applied to a VPN instance, the DHCPv6 server assigns IPv6 addresses in this address pool to clients in the specified VPN instance.
The DHCPv6 server identifies the VPN instance to which a DHCPv6 client belongs according to the following information:
The client's VPN information stored in authentication modules.
The VPN information of the DHCPv6 server's interface that receives DHCPv6 packets from the client.
The VPN information from authentication modules takes priority over the VPN information of the receiving interface.
Examples
# Apply DHCPv6 address pool 0 to the VPN instance abc.
<Sysname> system-view [Sysname] ipv6 dhcp pool 0 [Sysname-dhcp6-pool-0] vpn-instance abc