55
Related commands
interface tunnel (Layer 3—IP Services Command Reference)
New command: reset mgre session
Use reset mgre session to reset dynamic mGRE sessions.
Syntax
reset mgre session [ interface tunnel interface-number [ peer ipv4-address ] ]
Views
User view
Predefined user roles
network-admin
Parameters
interface tunnel interface-number: Specifies an mGRE tunnel interface by its number in the range
of 0 to 4095. If you do not specify this option, the command resets dynamic mGRE sessions for all
mGRE tunnel interfaces.
peer ipv4-address: Specifies a peer public address. If you do not specify this option, the command
resets all dynamic mGRE sessions for the specified mGRE tunnel interface.
Usage guidelines
If you do not specify any parameters, this command resets all dynamic mGRE sessions. When an
mGRE session is reset, the NHC reregisters with the NHS.
Examples
# Reset the mGRE sessions on interface Tunnel1.
<Sysname> reset mgre session interface tunnel 1
# Reset the mGRE session with peer address 202.12.12.12 on interface Tunnel1.
<Sysname> reset mgre session interface tunnel 1 peer 202.12.12.12
Related commands
display mgre session
New command: reset mgre statistics
Use reset mgre statistics to clear mGRE session statistics.
Syntax
reset mgre statistics [ interface tunnel interface-number [ peer ipv4-address ] ]
Views
User view