R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

432
ADVPN tunnel commands
advpn ipv6 network
Use advpn ipv6 network to configure a private IPv6 network for an IPv6 ADVPN tunnel interface.
Use undo advpn ipv6 network to remove a private IPv6 network from an IPv6 ADVPN tunnel interface.
Syntax
advpn ipv6 network prefix prefix-length [ preference preference-value ]
undo advpn ipv6 network prefix prefix-length
Default
No private IPv6 network is configured.
Views
Tunnel interface view
Predefined user roles
network-admin
mdc-admin
Parameters
prefix prefix-length: Specifies the prefix length of the private IPv6 network address.
preference preference-value: Specifies the preference of the private network route, in the range of 1 to
255. The default is 8.
Usage guidelines
Each VAM client registers the private networks for an ADVPN tunnel with the VAM server. If a VAM client
receives a packet with the destination address resolved as a registered private address, the VAM server
sends the registered VAM client information to the client.
This command takes effect only after the vam ipv6 client command is executed to bind a VAM client to
an IPv6 ADVPN tunnel interface configured with an IPv6 address.
You can configure multiple private IPv6 networks for a tunnel interface.
Set the preference of the private network route higher than other dynamic routing protocols, and lower
than a static route. A higher preference value represents a lower priority.
Examples
# Configure private IPv6 network 1001::/64 for Tunnel 1, and set the route preference to 20.
<Sysname> system-view
[Sysname] interface tunnel 1 mode advpn udp ipv6
[Sysname-Tunnel1] advpn ipv6 network 1001:: 64 preference 20
Related commands
vam ipv6 client
advpn network
Use advpn network to configure a private IPv4 network for an IPv4 ADVPN tunnel interface.