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

449
Parameters
interface tunnel number: Deletes IPv4 ADVPN tunnels on a tunnel interface specified by the interface
number. If you do not specify this option, the command deletes all IPv4 ADVPN tunnels.
private-address private-ip-address: Deletes the IPv4 ADVPN tunnel with the specified peer private IPv4
address.
Usage guidelines
If the remote tunnel end is a hub in the same group as the local end, the tunnel will be reestablished after
it is deleted.
Examples
# Delete all IPv4 ADVPN tunnels.
<Sysname> reset advpn session
# Delete IPv4 ADVPN tunnels on tunnel interface Tunnel 1.
<Sysname> reset advpn session interface tunnel 1
# Delete the IPv4 ADVPN tunnel with peer private IPv4 address 169.254.0.1 on Tunnel 1.
<Sysname> reset advpn session interface tunnel 1 private-address 169.254.0.1
Related commands
display advpn session
reset advpn session statistics
Use reset advpn session statistics to clear IPv4 ADVPN tunnel statistics.
Syntax
reset advpn session statistics [ interface tunnel number [ private-address private-ip-address ] ]
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
interface tunnel number: Clears statistics for IPv4 ADVPN tunnels on a tunnel interface specified by the
interface number. If you do not specify this option, the command clears statistics for all IPv4 ADVPN
tunnels.
private-address private-ip-address: Clears statistics for the IPv4 ADVPN tunnel with the specified peer
private IPv4 address.
Examples
# Clear statistics for all IPv4 ADVPN tunnels.
<Sysname> reset advpn session statistics
# Clear statistics for IPv4 ADVPN tunnels on tunnel interface Tunnel 1.
<Sysname> reset advpn session statistics interface tunnel 1
# Clear statistics for the IPv4 ADVPN tunnel with peer private IPv4 address 169.254.0.1 on Tunnel 1.
<Sysname> reset advpn session statistics interface tunnel 1 private-address 169.254.0.1