R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference

250
reset gateway-mode forwarding-cache statistics
Use reset gateway-mode forwarding-cache statistics to clear the packet statistics of gateway-mode
forwarding entries.
Syntax
reset gateway-mode forwarding-cache statistics slot slot-number
Views
User view
Default command level
2: System level
Parameters
slot slot-number: Clears the packet statistics of gateway-mode forwarding entries on the card specified by
its slot number.
Examples
# Display the gateway-mode forwarding entries of the router by destination IP address
202.202.202.2/24.
<HP> display gateway-mode forwarding-cache destination-ip 202.202.202.2 24
Gateway-mode Forwarding-cache:
============================================================================
Source IP/Port Dest IP/Port Pro In_If Out_If Bytes
222.222.222.91/1031 202.202.202.2/1025 UDP GE0/0/1 GE0/0/2 65646840
222.222.223.100/1094 202.202.202.2/1025 UDP GE0/0/1 GE0/0/2 65646840
222.222.225.9/1111 202.202.202.2/1025 UDP GE0/0/1 GE0/0/2 65646840
============================================================================
Total found: 3 items
# Clear the packet statistics of gateway-mode forwarding entries, and then display the result.
<HP>reset gateway-mode forwarding-cache statistics
<HP>display gateway-mode forwarding-cache destination-ip 202.202.202.2 24
Gateway-mode Forwarding-cache:
==========================================================================
Source IP/Port Dest IP/Port Pro In_If Out_If Bytes
222.222.222.91/1031 202.202.202.2/1025 UDP GE0/0/1 GE0/0/2 0
222.222.223.100/1094 202.202.202.2/1025 UDP GE0/0/1 GE0/0/2 0
222.222.225.9/1111 202.202.202.2/1025 UDP GE0/0/1 GE0/0/2 0
==========================================================================
Total found: 3 items