R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)
433
Use undo advpn network to remove a private IPv4 network from an IPv4 ADVPN tunnel interface.
Syntax
advpn network ip-address { mask-length | mask } [ preference preference-value ]
undo advpn network ip-address { mask-length | mask }
Default
No private IPv4 network is configured.
Views
Tunnel interface view
Predefined user roles
network-admin
mdc-admin
Parameters
ip-address: Specifies the private IPv4 network address.
mask-length: Specifies the mask length of the private IPv4 network address.
mask: Specifies the mask of the private IPv4 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 client command is executed to bind a VAM client to an IPv4
ADVPN tunnel interface configured with an IPv4 address.
You can configure multiple private IPv4 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 IPv4 network 10.0.5.0 with mask 255.255.255.0 for Tunnel 1, and set the route
preference to 20.
<Sysname> system-view
[Sysname] interface tunnel 1 mode advpn udp ipv4
[Sysname-Tunnel1] advpn network 10.0.5.0 255.255.255.0 preference 20
Related commands
vam client
advpn session dumb-time
Use advpn session dumb-time to set the dumb time that an ADVPN tunnel stays quiet after it failed to be
established.
Use undo advpn session dumb-time to restore the default.