Reset Mgre Statistics - H3C MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

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

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
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 clears mGRE session statistics for all
mGRE tunnel interfaces.
peer ipv4-address: Specifies a peer public address. If you do not specify this option, the command
clears statistics about all mGRE sessions on the specified mGRE tunnel interface.
Examples
# Clear statistics about mGRE sessions on interface Tunnel1.
<Sysname> reset mgre statistics interface tunnel 1
# Clear statistics about the mGRE session with peer public address 192.168.1.200 on interface
Tunnel1.
<Sysname> reset mgre statistics interface tunnel 1 peer 192.168.1.200
1152

Advertisement

Table of Contents
loading

Table of Contents