Parameter | Description | Value |
---|---|---|
local-ip ipv4-address |
Displays the IPv4 UDP connection with a specified local IP address. |
The address is a 4-digit decimal number, in the format of X.X.X.X. |
local-port local-port |
Displays the IPv4 UDP connection with a specified local port number. |
The value ranges from 0 to 65535. |
remote-ip ipv4-address |
Displays the IPv4 UDP connection with a specified remote IP address. |
The address is a 4-digit decimal number, in the format of X.X.X.X. |
remote-port remote-port |
Displays the IPv4 UDP connection with a specified remote port number. |
The value ranges from 0 to 65535. |
cid cid |
Displays information about the IPv4 UDP connection with a specified APP CID. |
The value is a hexadecimal integer ranging from 0 to ffffffff. |
socket-id socket-id |
Displays the IPv4 UDP connection with a specified socket ID. |
The value is an integer that ranges from 0 to 2147418111. |
Usage Scenario
UDP is a communications protocol used for packet switching on the Internet. It uses the simplest transmission model to send messages from one user application to another. To monitor the UDP connection status, run the display udp status command to check the following information:
Precautions
No information is displayed if there is no UDP connection on the device.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display udp status
---------------------------------------------------------------------------------------------
SockId Cid LAddr LPort FAddr FPort FeNode
---------------------------------------------------------------------------------------------
1 0x80532723 0.0.0.0 67 0.0.0.0 0 260
1 0x801B0562 0.0.0.0 646 0.0.0.0 0 0
---------------------------------------------------------------------------------------------
Item | Description |
---|---|
SockId | IPv4 UDP socket ID. |
Cid | Cid of the APP component. |
LAddr | Local IPv4 address of a UDP connection. |
LPort | Local port number of a UDP connection. |
FAddr | Remote IPv4 address of a UDP connection. |
FPort | Remote port number of a UDP connection. |
FeNode | Node ID of a board. |