
When an IP, TCP, UDP, RAWIP, or RAWLINK fault occurs, run the following
debugging
commands in the user view to locate the fault.
For details on
debugging
commands, see the
Quidway S2700 Series Ethernet Switches
Debugging Reference
.
Procedure
l
Run the
debugging ip packet
[
error
] [
acl
acl-number
] [
verbose
] command in the user
view to debug IP packets.
l
Run the
debugging ip icmp
[
verbose
] command in the user view to debug ICMP packets.
l
Run the
debugging udp packet
[
src-ip
src-address
] [
src-port
src-port
] [
dest-ip
dest-
address
] [
dest-port
dest-port
] or
debugging udp packet
[
task-id
task-id
] [
socket-id
socket-id
] command in the user view to debug UDP packets.
l
Run the
debugging tcp packet
[
src-ip
src-address
] [
src-port
src-port
] [
dest-ip
dest-
address
] [
dest-port
dest-port
] [
flag
flag-number
] or
debugging tcp packet
[
task-id
task-id
] [
socket-id
socket-id
] [
flag
flag-number
] command in the user view to debug
UDP packets.
l
Run the
debugging tcp event
[
local-ip
local-address
] [
local-port
local-port
] [
remote-
ip
remote-address
] [
remote-port
remote-port
] or
debugging tcp event
[
task-id
task-
id
] [
socket-id
socket-id
] command in the user view to debug TCP events.
l
Run the
debugging tcp md5
[
src-ip
src-address
] [
src-port
src-port
] [
dest-ip
dest-
address
] [
dest-port
dest-port
] or
debugging tcp md5
[
task-id
task-id
] [
socket-id
socket-id
] command in the user view to debug TCP Message Digest Algorithm 5 (MD5)
authentication.
l
Run the
debugging rawip packet
[
src-ip
src-address
] [
dest-ip
dest-address
]
[
protocol
protocol-number
] [
verbose
verbose-number
] or
debugging rawip packet
[
task-id
task-id
] [
socket-id
socket-id
] [
verbose
verbose-number
] command in the user
view to debug RAWIP packets.
l
Run the
debugging rawlink packet
[
src-mac
src-mac
] [
dest-mac
dest-mac
]
[
verbose
verbose-number
] or
debugging rawlink packet
[
task-id
task-id
] [
socket-id
socket-id
] [
verbose
verbose-number
] command in the user view to debug RAWLINK
packets.
----End
3.5 Configuration Examples
This section provides several configuration examples of IP performance.
3.5.1 Example for Disabling the Sending of ICMP Host Unreachable
Packets
This section provides a configuration example of disabling the sending of ICMP host
unreachable packets.
Networking Requirements
As shown in
, to limit the sending of ICMP redirection packets, Switch A, Switch B,
and Switch C are required and these devices are connected through their Ethernet interfaces.
Quidway S2700 Series Ethernet Switches
Configuration Guide - IP Service
3 IP Performance Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
42