Maintaining IPv6
Maintaining IPv6 includes clearing IPv6 statistics and monitoring IPv6 running status.
Clearing IPv6 Statistics
Context
IPv6 statistics cannot be restored after being cleared. Therefore, exercise caution before clearing IPv6 statistics.
Procedure
- Run the reset rawip ipv6 statistics command in the user view to clear all Raw IPv6 packet statistics.
- Run the reset ipv6 statistics command in the user view to clear IPv6 traffic statistics.
- Run the reset tcp ipv6 statistics command in the user view to clear TCP6 statistics.
- Run the reset udp ipv6 statistics command in the user view to clear UDP6 statistics.
- Run the reset ipv6 pathmtu [ vpn-instance vpn-instance-name ] dynamic command in the user view to clear dynamic PMTU entries.
- Run the reset ipv6 neighbors { dynamic | vlan vlan-id [ interface-type interface-number ] | interface-type interface-number } command in the user view to clear dynamic IPv6 neighbor entries.
- Run the reset ipv6 nd security nonce interface-type interface-number command in the user view to clear the Nonce value of an IPv6 SEND message on a specified interface.
- Run the reset ipv6 nd security statistics interface-type interface-number command in the user view to clear statistics on IPv6 SEND messages on a specified interface.
- Run the reset ipv6 nd security timestamp interface-type interface-number command in the user view to clear the timestamp of an IPv6 SEND message on a specified interface.
Monitoring IPv6 Running Status
Context
In routine maintenance, you can run the following commands in any view to view the IPv6 running status.
Procedure
- Run the display ipv6 interface [ interface-type interface-number | brief ] command to check IPv6 information on an interface.
- Run the display ipv6 statistics [ interface interface-type interface-number ] command to check IPv6 traffic statistics.
- Run the display icmpv6 statistics [ interface interface-type interface-number ] command to check ICMPv6 traffic statistics.
- Run the display rawip ipv6 statistics command to check Raw IPv6 packet statistics.
- Run the display tcp ipv6 status [ local-ip local-ip ] [ local-port local-port ] [ remote-ip remote-ip ] [ remote-port remote-port ] [ cid cid ] [ socket-id socket-id ] command to check the status of all IPv6 TCP connections.
- Run the display tcp ipv6 statistics command to check IPv6 TCP traffic statistics.
- Run the display udp ipv6 statistics command to check IPv6 UDP packet statistics.
- Run the display udp ipv6 status [ local-ip local-ip ] [ local-port local-port ] [ remote-ip remote-ip ] [ remote-port remote-port ] [ cid cid ] [ socket-id socket-id ] command to check information about IPv6 UDP connections.
- Run the display ipv6 neighbors [ ipv6-address | [ vlan vlan-id ] interface-type interface-number | vpn-instance vpn-instance-name ] command to check neighbor entries.
- Run the display ipv6 socket [ socket-type socket-type ] [ cid cid ] [ socket-id socket-id ] command to check information about IPv6 sockets.
- Run the display ipv6 pathmtu [ vpn-instance vpn-instance-name ] { ipv6-address | all | dynamic | static } command to check all PMTU entries.
- Run the display ipv6 nd security nonce interface-type interface-number command to check the Nonce value of the current secure ND transaction.
- Run the display ipv6 nd security statistics interface-type interface-number command to check the statistics on IPv6 SEND messages.
- Run the display ipv6 nd security timestamp interface-type interface-number command to check the time stamp value of the last received and accepted SEND message (RDlast) and the local time at which the last SEND message for this peer is accepted (TSlast).