The debugging udp ipv6 packet command enables debugging of UDP IPv6 packets and outputs debugging information.
The undo debugging udp ipv6 packet command disables debugging of UDP IPv6 packets.
The debugging udp packet command enables debugging of UDP packets and outputs debugging information.
The undo debugging udp packet command disables debugging of UDP packets.
By default, the debugging of UDP packets is disabled.
debugging udp packet [ src-ip src-address ] [ src-port src-port ] [ dest-ip dest-address ] [ dest-port dest-port ] [ socket-id socket-id ]
debugging udp ipv6 packet [ src-ip src-address6 ] [ src-port src-port ] [ dest-ip dest-address6 ] [ dest-port dest-port ] [ socket-id socket-id ]
undo debugging udp packet [ src-ip src-address ] [ src-port src-port ] [ dest-ip dest-address ] [ dest-port dest-port ] [ socket-id socket-id ]
undo debugging udp ipv6 packet [ src-ip src-address6 ] [ src-port src-port ] [ dest-ip dest-address6 ] [ dest-port dest-port ] [ socket-id socket-id ]
Parameter | Description | Value |
---|---|---|
src-ip src-address6 |
Displays packets of the specified source IPv6 address. |
The address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
src-ip src-address |
Displays packets of the specified source IPv4 address. |
The value is in dotted decimal notation. |
src-port src-port |
Displays packets of the specified source UDP port number. |
The value is an integer ranging from 0 to 65535. |
dest-ip dest-address6 |
Displays packets of the specified destination IPv6 address. |
The address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
dest-ip dest-address |
Displays packets of the specified destination IPv4 address. |
The value is in dotted decimal notation. |
dest-port dest-port |
Displays packets of the specified destination UDP port number. |
The value is an integer ranging from 0 to 65535. |
socket-id socket-id |
Displays the data length of a UDP packet. |
The value is an integer ranging from 0 to 2147418111. |
packet |
Debugs a packet. |
- |
Usage Scenario
The debugging udp ipv6 command enables debugging of IPv6 UDP packets sent and received by the host and outputs debugging information. For example, to detect interworking between BGP 4+ connections, run the debugging udp ipv6 command.
The debugging udp command enables debugging of UDP packets sent and received by the host and outputs debugging information so that you can locate problems. For example, to detect sending and receiving of BFD packets run the debugging udp command.<HUAWEI> debugging udp ipv6 packet
1 Aug 4 2011 12:14:18 HUAWEI %%01SOCKET/7/debug_udp_packet(d):CID=0x80652793:
UDP6 debug packet information:
380: Output: pid = 6629209,socketid = 17, ifindex = 2,
(Time = 1337310519,src = 2001:db8:1::1, dst = 2001:db8:2::1,
datalen = 208)
<HUAWEI> debugging udp packet
2037-11-24 22:12:46 RT5 %%01SOCKET/7/debug_udp_packet(d):CID=2154103793;
UDP debug packet information:
650: Output: pid = 6620139,socketid = 7209, ifindex = 25,
(Time = 75, src = 10.5.5.5:40000, dst = 10.0.0.2:1, datalen = 76)
Item | Description |
---|---|
pid | Path ID. |
ifindex | Index of an interface. |
dst | Destination IP address. |
src | Source IP address. |
socketid | Socket ID. |