display udp status

Function

The display udp status command displays information about IPv4 UDP connections.

Format

display udp status [ local-ip ipv4-address | local-port local-port | remote-ip ipv4-address | remote-port remote-port ] * [ cid cid ] [ socket-id socket-id ]

Parameters

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.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
ip-stack read

Usage Guidelines

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:

  • IPv4 UDP Socket ID
  • APP Cid
  • Local IPv4 address
  • Local port number
  • Remote IPv4 address
  • Remote port number
  • FeNode ID

Precautions

No information is displayed if there is no UDP connection on the device.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display?the?status?of?IPv4?UDP?connections.
<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                
---------------------------------------------------------------------------------------------
Table 1 Description of the display udp status command output
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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >