1-10 
socket state = SS_PRIV SS_ASYNC 
SOCK_DGRAM: 
SOCK_RAW: 
Table 1-8 Description on the fields of the display ipv6 socket command 
Field  Description 
SOCK_STREAM 
Socket type, which can be: 
z  SOCK_STREAM: Refers to TCP. 
z  SOCK_DGRAM: Refers to UDP. 
z  SOCK_RAW: Refers to raw IP. 
Task  Task name and ID of the created socket
 
socketid  ID assigned by the kernel to the created socket
 
Proto Protocol ID
 
LA  Local address and local port number
 
FA  Remote address and remote port number
 
sndbuf  Size of the sending buffer
 
rcvbuf  Size of the receiving buffer
 
sb_cc  Number of bytes sent by the sending buffer
 
rb_cc  Number of bytes received by the receiving buffer
 
socket option  Socket option set by the application
 
socket state  State of the socket
 
SOCK_DGRAM UDP socket 
SOCK_RAW  Raw IP socket 
 
display ipv6 statistics 
Syntax 
display ipv6 statistics 
View 
Any view 
Parameters 
None 
Description 
Use the display ipv6 statistics command to display statistics of IPv6 packets and ICMPv6 packets. 
You can use the reset ipv6 statistics command to clear all IPv6 and ICMPv6 packet statistics. 
Examples 
# View the statistics of IPv6 packets and IPv6 ICMP packets. 
<Sysname> display ipv6 statistics