H3C Technologies H3C S5120 Series Switches User Manual

Page 220

Advertising
background image

1-6

To do…

Use the command…

Remarks

Enter system view

system-view

Enable sending of ICMP timeout packets

ip ttl-expires enable

Required

Disabled by default.

Enable sending of ICMP destination
unreachable packets

ip unreachables enable

Required

Disabled by default.

The device stops sending “TTL timeout” ICMP error packets after sending ICMP timeout packets is

disabled. However, “reassembly timeout” error packets will be sent normally.

Displaying and Maintaining IP Performance Optimization

To do…

Use the command…

Remarks

Display current TCP connection
state

display tcp status

Available in any view

Display TCP connection statistics

display tcp statistics

Available in any view

Display UDP statistics

display udp statistics

Available in any view

Display statistics of IP packets

display ip statistics

Available in any view

Display ICMP statistics

display icmp statistics

Available in any view

Display socket information

display ip socket [ socktype
sock-type ] [ task-id socket-id ]

Available in any view

Display FIB information

display fib [ | { begin | include |
exclude } regular-expression | acl
acl-number | ip-prefix
ip-prefix-name
]

Available in any view

Display FIB information matching
the specified destination IP
address

display fib ip-address [ mask |
mask-length
]

Available in any view

Clear statistics of IP packets

reset ip statistics

Available in user view

Clear statistics of TCP connections

reset tcp statistics

Available in user view

Clear statistics of UDP traffic

reset udp statistics

Available in user view

Currently, the S5120-SI series Ethernet switches do not support the display fib ip-prefix

ip-prefix-name command. That is, they do not display FIB entries matching a specified IP prefix list.

Advertising