No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FITAP V200R010C00 Command Reference

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display ipv6 socket

display ipv6 socket

Function

The display ipv6 socket command displays information about sockets, including the socket type, socket ID, and task ID.

Format

display ipv6 socket [ socktype socket-type | task-id task-id socket-id socket-id ]

Parameters

Parameter Description Value
socktype socket-type Specifies the type of a socket. The value can be:
  • 1: indicates SOCK_STREAM, corresponding to the TCP-based socket.
  • 2: indicates SOCK_DGRAM, corresponding to the UDP-based socket.
  • 3: indicates SOCK_RAW, corresponding to the RawIP-based socket.
The value is an integer that ranges from 1 to 3.
socket-id socket-id Specifies the socket ID. The value is an integer that ranges from 1 to 131072.
task-id task-id Specifies the task ID. The value is an integer that ranges from 1 to 150.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

To locate a fault, you can use this command to view detailed information about sockets of all types or a specified type.

If no parameter is specified, this command displays information about all types of sockets.

Precautions

If there is no socket information, no information is displayed.

Example

# Display information about a socket with a specified socket type, socket ID, and task ID.

<Huawei> display ipv6 socket
SOCK_STREAM:                                                                    
Task = FTPS(161), socketid = 1, Proto = 6,                                      
LA=0.0.0.0:21, FA=0.0.0.0:0,                                                    
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0,                             
socket option = SO_ACCEPTCONN SO_REUSEADDR SO_KEEPALIVE SO_LINGER SO_SENDVPNID(2
3553) SO_SETKEEPALIVE SO_SETACL,                                                
socket state = SS_PRIV                                                          
                                                                                
Task = _S0f(8), socketid = 1, Proto = 6,                                        
LA=0.0.0.0:23, FA=0.0.0.0:0,                                                    
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0,                             
socket option = SO_ACCEPTCONN SO_REUSEADDR SO_LINGER SO_SENDVPNID(23553) SO_SETA
CL,                                                                             
socket state = SS_PRIV SS_NBIO                                                  
                                                                                
Task = _S0f(8), socketid = 16, Proto = 6,                                       
LA=172.16.129.120:23, FA=172.16.254.203:1381,                                 
sndbuf = 8192, rcvbuf = 8192, sb_cc = 527, rb_cc = 0,                           
socket option = SO_REUSEADDR SO_KEEPALIVE SO_LINGER SO_OOBINLINE SO_SENDVPNID(0)
 SO_SETKEEPALIVE SO_SETACL,                                                     
socket state = SS_ISCONNECTED SS_PRIV SS_NBIO                                   
                                                                                
Task = _S0f(8), socketid = 15, Proto = 6,                                       
LA=172.16.129.120:23, FA=172.16.254.206:1354,                                 
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0,                             
socket option = SO_REUSEADDR SO_KEEPALIVE SO_LINGER SO_OOBINLINE SO_SENDVPNID(0)
 SO_SETKEEPALIVE SO_SETACL,                                                     
socket state = SS_ISCONNECTED SS_PRIV SS_NBIO                                   
                                                                                
SOCK_DGRAM:                                                                     
Task = NTPT(38), socketid = 1, Proto = 17,                                      
LA=0.0.0.0:123, FA=0.0.0.0:0,                                                   
sndbuf = 9216, rcvbuf = 41600, sb_cc = 0, rb_cc = 0,                            
socket option = SO_REUSEADDR SO_LINGER SO_UDPCHECKSUM SO_SENDVPNID(23553),      
socket state = SS_PRIV                                                          
                                                                                
Task = _S0f(10), socketid = 1, Proto = 17,                                      
LA=0.0.0.0:161, FA=0.0.0.0:0,                                                   
sndbuf = 9216, rcvbuf = 41600, sb_cc = 0, rb_cc = 0,                            
socket option = SO_REUSEPORT SO_UDPCHECKSUM SO_SENDVPNID(23553),                
socket state = SS_PRIV                                                          
                                                                                
Task = WEB (85), socketid = 1, Proto = 17,                                      
LA=0.0.0.0:2000, FA=0.0.0.0:0,                                                  
sndbuf = 9216, rcvbuf = 41600, sb_cc = 0, rb_cc = 0,                            
socket option = SO_UDPCHECKSUM SO_SENDVPNID(23553),                             
socket state = SS_PRIV SS_ASYNC                                                 
                                                                                
Task = HTPD(81), socketid = 1, Proto = 17,                                      
LA=0.0.0.0:2100, FA=0.0.0.0:0,                                                  
sndbuf = 9216, rcvbuf = 41600, sb_cc = 0, rb_cc = 0,                            
socket option = SO_UDPCHECKSUM,                                                 
socket state = SS_PRIV SS_ASYNC                                                 
                                                                                
Task = APP(124), socketid = 1, Proto = 17,                                      
LA=0.0.0.0:3503, FA=0.0.0.0:0,                                                  
sndbuf = 9216, rcvbuf = 41600, sb_cc = 0, rb_cc = 0,                            
socket option = SO_UDPCHECKSUM,                                                 
socket state = SS_PRIV SS_RECALL                                                
                                                                                
Task = LBS(148), socketid = 1, Proto = 17,                                      
LA=0.0.0.0:6412, FA=0.0.0.0:0,                                                  
sndbuf = 9216, rcvbuf = 1048576, sb_cc = 0, rb_cc = 0,                          
socket option = SO_UDPCHECKSUM,                                                 
socket state = SS_PRIV SS_NBIO SS_ASYNC                                         
                                                                                
Task = HTPD(81), socketid = 3, Proto = 17,                                      
LA=0.0.0.0:7073, FA=0.0.0.0:0,                                                  
sndbuf = 9216, rcvbuf = 41600, sb_cc = 0, rb_cc = 0,                            
socket option = SO_UDPCHECKSUM,                                                 
socket state = SS_PRIV SS_ASYNC                                                 
                                                                                
Task = APP(124), socketid = 2, Proto = 17,                                      
LA=0.0.0.0:31009, FA=0.0.0.0:0,                                                 
sndbuf = 9216, rcvbuf = 41600, sb_cc = 0, rb_cc = 0,                            
socket option = SO_UDPCHECKSUM,                                                 
socket state = SS_PRIV SS_RECALL                                                
                                                                                
Task = _S0f(10), socketid = 2, Proto = 17,                                      
LA=0.0.0.0:49152, FA=0.0.0.0:0,                                                 
sndbuf = 9216, rcvbuf = 41600, sb_cc = 0, rb_cc = 0,                            
socket option = SO_UDPCHECKSUM,                                                 
socket state = SS_PRIV                                                          
                                                                                
Task = HTPD(81), socketid = 2, Proto = 17,                                      
LA=0.0.0.0:50100, FA=0.0.0.0:0,                                                 
sndbuf = 9216, rcvbuf = 41600, sb_cc = 0, rb_cc = 0,                            
socket option = SO_UDPCHECKSUM,                                                 
socket state = SS_PRIV SS_ASYNC                                                 
                                                                                
SOCK_RAWIP:                                                                     
SOCK_RAWLINK:                                                                   
Translation
Download
Updated: 2019-05-14

Document ID: EDOC1100064353

Views: 89030

Downloads: 61

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next