S5510 Series

H3C S5510 Series, S3610 Series Command Manual

  • Hello! I am an AI chatbot trained to assist you with the H3C S5510 Series Command Manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
  • How do I display brief information about the basic IP configuration for VLAN interface 1?
    How do I assign an IP address and mask to an interface?
    How do I shut down an interface with the shutdown command?
    What interface view context is needed to assign an IP address?
    How do I remove the IP address?
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Table of Contents
i
Table of Contents
Chapter 1 IP Address Configuration Commands....................................................................... 1-1
1.1 IP Address Configuration Commands...............................................................................1-1
1.1.1 display ip interface ..................................................................................................1-1
1.1.2 display ip interface brief ..........................................................................................1-3
1.1.3 ip address................................................................................................................1-4
Chapter 2 IP Performance Configuration Commands...............................................................2-1
2.1 IP Performance Configuration Commands........................................................................ 2-1
2.1.1 display fib ................................................................................................................ 2-1
2.1.2 display fib ip-address .............................................................................................. 2-3
2.1.3 display fib statistics .................................................................................................2-4
2.1.4 display icmp statistics..............................................................................................2-5
2.1.5 display ip socket......................................................................................................2-6
2.1.6 display ip statistics ..................................................................................................2-9
2.1.7 display tcp statistics ..............................................................................................2-11
2.1.8 display tcp status................................................................................................... 2-14
2.1.9 display udp statistics.............................................................................................2-15
2.1.10 ip forward-broadcast ...........................................................................................2-16
2.1.11 ip redirects enable............................................................................................... 2-17
2.1.12 ip ttl-expires enable.............................................................................................2-17
2.1.13 ip unreachables enable.......................................................................................2-18
2.1.14 reset ip statistics.................................................................................................. 2-19
2.1.15 reset tcp statistics................................................................................................2-19
2.1.16 reset udp statistics .............................................................................................. 2-20
2.1.17 tcp mss................................................................................................................2-20
2.1.18 tcp timer fin-timeout.............................................................................................2-21
2.1.19 tcp timer syn-timeout........................................................................................... 2-22
2.1.20 tcp window...........................................................................................................2-22
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 1
IP Address Configuration Commands
1-1
Chapter 1 IP Address Configuration Commands
1.1 IP Address Configuration Commands
1.1.1 display ip interface
Syntax
display ip interface [ interface-type interface-number ]
View
Any view
Parameter
interface-type interface-number: Specifies an interface by its type and number.
Description
Use the display ip interface command to display the information about a Layer 3
interface. If no parameter is specified, the related information of all Layer 3 interfaces
will be displayed.
Example
# Display information about interface VLAN interface 1.
<Sysname> display ip interface Vlan-interface 1
Vlan-interface1 current state : UP
Line protocol current state : UP
Internet Address is 192.168.0.36/24 Primary
Broadcast address : 192.168.0.255
The Maximum Transmit Unit : 1500 bytes
input packets : 5028, bytes : 234508, multicasts : 388
output packets : 4544, bytes : 263776, multicasts : 0
ARP packet input number: 19819
Request packet: 19808
Reply packet: 11
Unknown packet: 0
TTL invalid packet number: 0
ICMP packet input number: 165
Echo reply: 0
Unreachable: 165
Source quench: 0
Routing redirect: 0
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 1
IP Address Configuration Commands
1-2
Echo request: 0
Router advert: 0
Router solicit: 0
Time exceed: 0
IP header bad: 0
Timestamp request: 0
Timestamp reply: 0
Information request: 0
Information reply: 0
Netmask request: 0
Netmask reply: 0
Unknown type: 0
DHCP packet deal mode: global
Table 1-1 Description on the fields of the display ip interface command
Field Description
current state Current physical state of an interface
Line protocol current state Current state of the Line protocol
Internet Address
IP address of an interface. Primary
behind an IP address indicates the IP
address is a primary one, and Sub
indicates the IP address is a secondary
one
Broadcast address
Broadcast address of the subnet
attached to an interface
The Maximum Transmit Unit Max transmit unit
input packets : 5028, bytes : 234508,
multicasts : 388
output packets : 4544, bytes : 263776,
multicasts : 0
Unicast packets, bytes, and multicast
packets received on an interface
Unicast packets, bytes, and multicast
packets sent on an interface
ARP packet input number: 19819
Request packet: 19808
Reply packet: 11
Unknown packet: 0
Total number of ARP packets received
on an interface, including
z ARP request packets
z ARP reply packets
z Unknown packets
TTL invalid packet number Number of received invalid TTL packets
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 1
IP Address Configuration Commands
1-3
Field Description
ICMP packet input number: 165
Echo reply: 0
Unreachable: 165
Source quench: 0
Routing redirect: 0
Echo request: 0
Router advert: 0
Router solicit: 0
Time exceed: 0
IP header bad: 0
Timestamp request: 0
Timestamp reply: 0
Information request: 0
Information reply: 0
Netmask request: 0
Netmask reply: 0
Unknown type: 0
Total number of ICMP packets received
on an interface, including the following
packets:
z Echo reply packet
z Unreachable packets
z Source quench packets
z Routing redirect packets
z Echo request packets
z Router advertisement packets
z Router solicitation packets
z Time exceed packets
z IP header bad packets
z Timestamp request packets
z Timestamp reply packets
z Information request packets
z Information reply packets
z Netmask request packets
z Netmask reply packets
z Unknown type packets
DHCP packet deal mode
Mode to process DHCP packets, which
can be:
z global: The DHCP server with the
global address pool is enabled on the
interface.
z relay: The DHCP relay agent is
enabled on the interface.
1.1.2 display ip interface brief
Syntax
display ip interface brief [ interface-type interface-number ]
View
Any view
Parameter
interface-type interface-number: Specifies an interface by its type and number.
Description
Use the display ip interface brief command to display brief information about the
basic IP configuration on the specified or all interfaces.
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 1
IP Address Configuration Commands
1-4
If no interface is specified, the basic IP configuration information of all Layer 3
interfaces will be displayed.
Related command: display ip interface.
Example
# Display brief information about the basic IP configuration for VLAN interface 1.
<Sysname> display ip interface brief Vlan-interface 1
*down: administratively down
(s): spoofing
Interface Physical Protocol IP Address
Vlan-interface1 up up 192.168.0.36
Table 1-2 Description on the fields of the display ip interface brief command
Field Description
*down The interface is shut down with the shutdown command.
(s)
Spoofing attribute of the interface. It indicates that an interface
whose link layer is displayed up may have no link present or the link
is set up only on demand.
Interface Interface name
Physical
Physical state of interface
Protocol
Link layer state protocol of interface
IP Address
IP address of interface (if no IP address is configured, “unassigned”
is displayed.)
1.1.3 ip address
Syntax
ip address ip-address { mask | mask-length } [ sub ]
undo ip address [ ip-address { mask | mask-length } [ sub ] ]
View
Interface view
Parameter
ip-address: IP address of interface, in dotted decimal notation.
mask: Subnet mask in dotted decimal notation.
mask-length: Subnet mask length, the number of consecutive ones in the mask.
sub: Secondary IP address for the interface. The availability of this keyword varies by
device.
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 1
IP Address Configuration Commands
1-5
Description
Use the ip address command to assign an IP address and mask to the interface.
Use the undo ip address command to remove all IP addresses.
Use the undo ip address [ ip-address { mask | mask-length } ] command to remove the
IP address.
By default, no IP address is assigned to any interface.
The relationship between the primary address and the secondary addresses is as
follows:
z When you configure a primary IP address for an interface that already has a
primary IP address, the new address will replace the old one.
z The primary and secondary IP addresses can belong to the same network
segment.
z Before deleting the primary IP address, you must delete all the corresponding
secondary IP addresses first.
Note that:
z If you execute the undo ip address command without any parameter, the switch
deletes all IP addresses of the interface.
z The undo ip address ip-address { mask | mask-length } command is used to delete
the primary IP address.
z The undo ip address ip-address { mask | mask-length } sub command is used to
delete a specified secondary IP address.
z If you configure an interface to obtain an IP address through BOOTP, DHCP, you
cannot configure secondary IP addresses for this interface.
Related command: display ip interface.
Note:
You can configure IP addresses for VLAN interface, Tunnel interface and Loopback
interface on S3610&S5510 Series Ethernet Switches.
Example
# Assign VLAN interface 1 a primary IP address and a secondary IP address, with
subnet masks being 255.255.255.0.
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 1
IP Address Configuration Commands
1-6
<Sysname> system-view
[Sysname] interface Vlan-interface 1
[Sysname-Vlan-interface1] ip address 129.12.0.1 255.255.255.0
[Sysname-Vlan-interface1] ip address 202.38.160.1 255.255.255.0 sub
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 2
IP Performance Configuration Commands
2-1
Chapter 2 IP Performance Configuration
Commands
2.1 IP Performance Configuration Commands
2.1.1 display fib
Syntax
display fib [ | { begin | include | exclude } text | acl acl-number | ip-prefix
ip-prefix-name ]
View
Any view
Parameter
| { begin | include | exclude } text: Specifies to display FIB information in the buffer
related to a specified string according to a regular expression.
z The begin keyword specifies to display from the first FIB item that contains the
specified string text.
z The include keyword specifies to display only the FIB items that include the
specified string text.
z The exclude keyword specifies to display only the FIB items that do not include
the specified string text.
z The text argument is a string.
acl acl-number: Specifies to display FIB messages filtered through a specific ACL, in
the range 2000 to 2999.
ip-prefix ip-prefix-name: Specifies to display FIB information filtered through a specific
prefix name, in the range 1 to 19 characters.
Description
Use the display fib command to display FIB forward information. If no parameters are
specified, all FIB forward information will display.
Example
# Display all FIB information.
<Sysname> display fib
FIB Table:
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 2
IP Performance Configuration Commands
2-2
Total number of Routes : 2
Flag:
U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static
R:Reject L:Generated by ARP or ESIS
Destination/Mask Nexthop Flag TimeStamp Interface
127.0.0.0/8 127.0.0.1 U t[1141138116] InLoop0
127.0.0.1/32 127.0.0.1 HU t[1141138116] InLoop0
Table 2-1 Description on the fields of the display fib command
Field Description
Total number of Routes
Total number of routes in the FIB table
Destination/Mask Destination address/length of mask
Nexthop Address of next hop
Flag
Signs of routers:
z “U”—Router is available
z “G”—Gateway is available
z “H”—Host router
z “B”—Black hole router
z “D”—Dynamic router
z “S”—Static router
z “R”—Refused router, which is not available
z “L”—Router created by ARP or ESIS
TimeStamp
Time stamp
Interface Forward interface
# Display FIB forward information filtered through ACL 2000
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.2.0.0 0.0.255.255
[Sysname-acl-basic-2000] display fib acl 2000
Route entry matched by access-list 2000:
Summary counts: 2
Flag:
U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static
R:Reject L:Generated by ARP or ESIS
Destination/Mask Nexthop Flag TimeStamp Interface
127.0.0.0/8 127.0.0.1 U t[1141138116] InLoop0
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 2
IP Performance Configuration Commands
2-3
127.0.0.1/32 127.0.0.1 HU t[1141138116] InLoop0
# Display all lines from the one that contains string “127”
<Sysname> display fib | begin 127
Flag:
U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static
R:Reject L:Generated by ARP or ESIS
Destination/Mask Nexthop Flag TimeStamp Interface
127.0.0.0/8 127.0.0.1 U t[1141138116] InLoop0
127.0.0.1/32 127.0.0.1 HU t[1141138116] InLoop0
# Display FIB forward information filtered through the abc0 prefix list
<Sysname> display fib ip-prefix abc0
Route Entry matched by prefix-list abc0:
Summary count: 2
Flag:
U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static
R:Reject L:Generated by ARP or ESIS
Destination/Mask Nexthop Flag TimeStamp Interface
127.0.0.0/8 127.0.0.1 U t[1141138116] InLoop0
127.0.0.1/32 127.0.0.1 HU t[1141138116] InLoop0
2.1.2 display fib ip-address
Syntax
display fib ip-address1 [ { mask1 | mask-length1 } [ ip-address2 { mask2 |
mask-length2 } | longer ] | longer ]
View
Any view
Parameter
ip-address1, ip-address2: Destination IP address, in dotted decimal notation.
ip-address1 and ip-address2 together determine an address range for the FIB items to
be displayed.
mask1, mask2: IP address mask.
mask-length1, mask-length2: Length of IP address mask, namely, the number of “1” in
succession in the masks.
longer: Displays FIB entries that match the specified address/mask and have masks
longer than or equal to the mask that a user enters. If no masks are specified, FIB
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 2
IP Performance Configuration Commands
2-4
entries that match the natural network address and have the masks longer than or
equal to the natural mask will be displayed.
Description
Use the display fib ip-address command to display FIB items that match the specified
destination IP address. Each line in the export information stands for a FIB item.
Example
# Display the FIB items whose destination address match 10.1.0.0 in the range of
natural masks.
<Sysname> display fib 10.1.0.0 longer
Route Entry Count: 2
Flag:
U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static
R:Reject L:Generated by ARP or ESIS
Destination/Mask Nexthop Flag TimeStamp Interface
10.0.0.0/8 10.1.1.1 U t[1141140133] Vlan1
10.1.1.1/32 127.0.0.1 HU t[1141140133] InLoop0
For explanation about the information above, refer to Table 2-1.
2.1.3 display fib statistics
Syntax
display fib statistics
View
Any view
Parameter
None
Description
Use the display fib statistics command to display statistics about the FIB items.
Example
# Display statistics about the FIB items.
<Sysname> display fib statistics
Route Entry Count : 2
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 2
IP Performance Configuration Commands
2-5
Table 2-2 Description on the fields of the display fib statistics command
Field Description
Route Entry Count
Number of FIB items
2.1.4 display icmp statistics
Syntax
display icmp statistics
View
Any view
Parameter
None
Description
Use the display icmp statistics command to display statistics of ICMP flows.
Related command: display ip interface and reset ip statistics.
Example
# Display statistics of ICMP flows.
<Sysname> display icmp statistics
Input: bad formats 0 bad checksum 0
echo 5 destination unreachable 0
source quench 0 redirects 0
echo reply 10 parameter problem 0
timestamp 0 information request 0
mask requests 0 mask replies 0
time exceeded 0
Output:echo 10 destination unreachable 0
source quench 0 redirects 0
echo reply 5 parameter problem 0
timestamp 0 information reply 0
mask requests 0 mask replies 0
time exceeded 0
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 2
IP Performance Configuration Commands
2-6
Table 2-3 Description on the fields of the display icmp statistics command
Field Description
bad formats
Number of import packets of incorrect format.
bad checksum Number of import packets of incorrect check sum.
echo Number of import/export packets answering request.
destination unreachable
Number of packets with input/output destination
unreachable
source quench
Number of import/export packets with source
quenched.
redirects Number of import/export packets to be redirected
echo reply
Number of import/export packets echoing reply.
parameter problem
Number of import/export packets with incorrect
parameter
timestamp Number of import/export packets for time stamp
information request Number of import packets for information request
mask requests Number of import/export packets with mask request
mask replies Number of import/export packets for mask replies
information reply Number of export packets for information reply
time exceeded Number of import/export expiration packets
2.1.5 display ip socket
Syntax
display ip socket [ socktype sock-type ] [ task-id socket-id ]
View
Any view
Parameter
sock-type: Type of socket, in the range of 1 to 3, corresponding to TCP, UDP and raw IP
respectively.
task-id: Identification of a task, ranging from 1 to 100
socket-id: Identification of a socket, ranging from 0 to 3072
Description
Use the display ip socket command to display socket information.
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 2
IP Performance Configuration Commands
2-7
Example
# Display all socket information.
<Sysname> display ip socket
SOCK_STREAM:
Task = VTYD(36), 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_KEEPALIVE SO_REUSEPORT SO_SENDVPNID(3073)
SO_SETKEEPALIVE,
socket state = SS_PRIV SS_ASYNC
Task = HTTP(34), socketid = 1, Proto = 6,
LA = 0.0.0.0:80, FA = 0.0.0.0:0,
sndbuf = 8192, rcvbuf = 8192, sb_cc = 0, rb_cc = 0,
socket option = SO_ACCEPTCONN SO_REUSEPORT,
socket state = SS_PRIV SS_NBIO
Task = VTYD(36), socketid = 3, Proto = 6,
LA = 192.168.0.236:23, FA = 192.168.0.10:1306,
sndbuf = 8192, rcvbuf = 8192, sb_cc = 483, rb_cc = 0,
socket option = SO_KEEPALIVE SO_OOBINLINE SO_REUSEPORT SO_SENDVPNID(0)
SO_SETKEEPALIVE,
socket state = SS_ISCONNECTED SS_PRIV SS_ASYNC
SOCK_DGRAM:
Task = AGNT(49), 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_UDPCHECKSUM,
socket state = SS_PRIV SS_NBIO SS_ASYNC
Task = RDSO(56), socketid = 1, Proto = 17,
LA = 0.0.0.0:1024, 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 = TRAP(50), socketid = 1, Proto = 17,
LA = 0.0.0.0:1038, FA = 0.0.0.0:0,
sndbuf = 9216, rcvbuf = 41600, sb_cc = 0, rb_cc = 0,
socket option = SO_UDPCHECKSUM SO_SETSRCADDR,
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 2
IP Performance Configuration Commands
2-8
socket state = SS_PRIV
Task = LSSO(54), socketid = 1, Proto = 17,
LA = 0.0.0.0:1645, 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 = LSSO(54), socketid = 2, Proto = 17,
LA = 0.0.0.0:1646, 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 = RDSO(56), socketid = 2, Proto = 17,
LA = 0.0.0.0:1812, 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 = CLST(25), socketid = 1, Proto = 17,
LA = 0.0.0.0:40000, FA = 0.0.0.0:0,
sndbuf = 9216, rcvbuf = 41600, sb_cc = 0, rb_cc = 0,
socket option = SO_UDPCHECKSUM,
socket state = SS_PRIV
SOCK_RAW:
Task = ROUT(63), socketid = 5, Proto = 89,
LA = 0.0.0.0, FA = 0.0.0.0,
sndbuf = 262144, rcvbuf = 262144, sb_cc = 0, rb_cc = 0,
socket option = 0,
socket state = SS_PRIV SS_ASYNC
Task = ROUT(63), socketid = 3, Proto = 103,
LA = 0.0.0.0, FA = 0.0.0.0,
sndbuf = 65536, rcvbuf = 256000, sb_cc = 0, rb_cc = 0,
socket option = SO_SENDVPNID(0),
socket state = SS_PRIV SS_NBIO SS_ASYNC
Task = ROUT(63), socketid = 2, Proto = 65,
LA = 0.0.0.0, FA = 0.0.0.0,
sndbuf = 32767, rcvbuf = 256000, sb_cc = 0, rb_cc = 0,
socket option = 0,
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 2
IP Performance Configuration Commands
2-9
socket state = SS_PRIV SS_NBIO SS_ASYNC
Task = ROUT(63), socketid = 1, Proto = 2,
LA = 0.0.0.0, FA = 0.0.0.0,
sndbuf = 32767, rcvbuf = 256000, sb_cc = 0, rb_cc = 0,
socket option = SO_SENDVPNID(0),
socket state = SS_PRIV SS_NBIO SS_ASYNC
Table 2-4 Description on the fields of the display ip socket command
Field Description
SOCK_STREAM Socket type of TCP
SOCK_DGRAM
Socket type of UDP
SOCK_RAW
Socket type of raw IP
Task Task number
socketid
Socket ID
Proto Protocol used by the socket
LA Local address and local port number
FA
Remote address and remote port
number
sndbuf Size of socket sending buffer
rcvbuf Size of socket receiving buffer
sb_cc
Current data size in the sending buffer (It
is available only when TCP can buffer
the data)
rb_cc
Data size currently in the receiving
buffer
socket option Socket option
socket state Socket state
2.1.6 display ip statistics
Syntax
display ip statistics
View
Any view
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 2
IP Performance Configuration Commands
2-10
Parameter
None
Description
Use the display ip statistics command to display statistics on IP traffics.
Related command: display ip interface and reset ip statistics.
Example
# Display statistics on IP traffics.
<Sysname> display ip statistics
Input: sum 7120 local 112
bad protocol 0 bad format 0
bad checksum 0 bad options 0
Output: forwarding 0 local 27
dropped 0 no route 2
compress fails 0
Fragment:input 0 output 0
dropped 0
fragmented 0 couldn't fragment 0
Reassembling:sum 0 timeouts 0
Table 2-5 Description on the fields of the display ip statistics command
Field Description
sum
Total number of packets received
local Total number of packets with destination being local
bad protocol Total number of packets with unknown protocol
bad format Total number of packets with incorrect format
bad checksum Total number of packets with incorrect checksum .
Input:
bad options Total number of packets with incorrect options
forwarding Total number of packets forwarded
local Total number of packets sent from local
dropped Total number of packets lost while transmitting
no route Can’t find out the total number of packets routered
Output:
compress fails Total number of packets whose compression fails
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 2
IP Performance Configuration Commands
2-11
Field Description
input Total number of fragment packets received
output Total number of fragment packets sent
dropped Total number of fragment packets dropped
fragmented Total number of packets successfully fragmented
Fragment:
couldn't
fragment
Total number of packets that can’t be fragmented
sum Total number of packets reassembled
Reassem
bling:
timeouts
Total number of fragment packets that timeout in
reassembling
2.1.7 display tcp statistics
Syntax
display tcp statistics
View
Any view
Parameter
None
Description
Use the display tcp statistics command to display statistics of TCP connection flows.
Related command: display tcp status and reset tcp statistics.
Example
# Display statistics of TCP connection flows.
<Sysname> display tcp statistics
Received packets:
Total: 753
packets in sequence: 412 (11032 bytes)
window probe packets: 0, window update packets: 0
checksum error: 0, offset error: 0, short error: 0
duplicate packets: 4 (88 bytes), partially duplicate packets: 5 (7 bytes)
out-of-order packets: 0 (0 bytes)
packets of data after window: 0 (0 bytes)
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 2
IP Performance Configuration Commands
2-12
packets received after close: 0
ACK packets: 481 (8776 bytes)
duplicate ACK packets: 7, too much ACK packets: 0
Sent packets:
Total: 665
urgent packets: 0
control packets: 5 (including 1 RST)
window probe packets: 0, window update packets: 2
data packets: 618 (8770 bytes) data packets retransmitted: 0 (0 bytes)
ACK-only packets: 40 (28 delayed)
Retransmitted timeout: 0, connections dropped in retransmitted timeout: 0
Keepalive timeout: 0, keepalive probe: 0, Keepalive timeout, so connections
disconnected : 0
Initiated connections: 0, accepted connections: 0, established connections:0
Closed connections: 0 (dropped: 0, initiated dropped: 0)
Packets dropped with MD5 authentication: 0
Packets permitted with MD5 authentication: 0
Command Manual – IP Address and Performance
H3C S3610&S5510 Series Ethernet Switches Chapter 2
IP Performance Configuration Commands
2-13
Table 2-6 Description on the fields of the display tcp statistics command
Field Description
Total Total number of packets received
packets in sequence
Number of packets arriving in a sequence,
with size in bytes in brackets
window probe packets
Number of window probe packets received
window update packets Number of window update packets received
checksum error
Number of checksum error packets received
offset error
Number of offset error packets received
short error
Number of packets received with length
being too small
duplicate packets
Completely duplicate packets received, with
size in bytes in brackets
partially duplicate
packets
Partially duplicate packets received, with size
in bytes in brackets
out-of-order packets
Out-of-order packets received, with size in
bytes in brackets
packets of data after
window
Number of packets loaded out of receiving
window, with size in bytes in brackets
packets received after
close
Number of packets arriving after connection
closes
ACK packets
ACK packets received, with size in bytes in
brackets
duplicate ACK packets
Duplicate ACK packets received
Received
packets:
too much ACK packets
Number of ACK packets received that sent
no data
Total
Total number of packets sent
urgent packets
Number of urgent packets sent
control packets
Number of control packets sent, with number
of packets containing double sent data in
brackets
window probe packets
Number of window probe packets sent
window update packets Number of window update packets sent
data packets
Number of packets sent, with size in bytes in
brackets
data packets
retransmitted
Number of packets double sent, with size in
bytes in brackets
Sent
packets:
ACK-only packets
Number of ACK packets sent, with number of
delayed ACK packets in brackets
/