R3303-HP 6600/HSR6600 Routers Layer 3 - IP Services Command Reference
153
mask requests 0 mask replies 0
time exceeded 0
Related commands
• display ip interface
• reset ip statistics
display ip socket
Use display ip socket to display socket information.
Syntax
display ip socket [ socktype sock-type ] [ task-id socket-id ] [ slot slot-number ] [ | { begin | exclude |
include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
socktype sock-type: Displays the socket information for this type. The sock type is in the range of 1 to 3,
corresponding to TCP, UDP, and raw IP respectively.
task-id: Displays the socket information for this task. Task ID is in the range of 1 to 200.
socket-id: Displays the information for the socket. Socket ID is in the range of 0 to 3072.
slot slot-number: Displays socket information for the specified card. The slot-number argument specifies
the slot number of the card.
The following matrix shows the option and router compatibility:
Option 6602 HSR6602 6604/6608/6616
slot slot-number No Yes Yes
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the TCP socket information.
<Sysname> display ip socket
SOCK_STREAM:
Task = VTYD(38), 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,










