Fortinet black logo

CLI Reference

network udp list

network udp list

Use this command to view a list of UDP raw socket details, including:

  • sl—Kernel socket hash slot.
  • local_address—IP address and port number pair of the local FortiWeb network interface in hexadecimal, such as DD01010A:0050.
  • rem_address—Remote host’s network interface and port number pair. If not connected, this will contain 00000000:0000.
  • st—TCP state code in hexadecimal (e.g. 0A for listening, 01 for connection established, or 06 for waiting for data)
  • tx_queue—Kernel memory usage by the transmission (Tx) queue.
  • rx_queue—Kernel memory usage by the retransmission (Rx) queues. This is not used by UDP, since the protocol itself does not support retransmission.
  • tr, tm-> when, retrnsmt—Kernel socket state debugging information. These are not used by UDP, since the protocol itself does not support retransmission.
  • uid—User ID of the socket’s creator (on FortiWeb, always 0).
  • timeout—Connection timeout.
  • inode—Pseudo-file system inode of the process.
  • ref, pointer—Pseudo-file system references.

To use this command, your administrator account’s access control profile must have at least r permission to the sysgrp area. For details, see Permissions.

Syntax

diagnose network udp list

Example

diagnose network udp list

sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode ref pointer drops

307: 00000000:00A1 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2498 2 ffff88003acba080 0

447: 00000000:3F2D 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2874 2 ffff88003acbac80 0

Related topics

network udp list

network udp list

Use this command to view a list of UDP raw socket details, including:

  • sl—Kernel socket hash slot.
  • local_address—IP address and port number pair of the local FortiWeb network interface in hexadecimal, such as DD01010A:0050.
  • rem_address—Remote host’s network interface and port number pair. If not connected, this will contain 00000000:0000.
  • st—TCP state code in hexadecimal (e.g. 0A for listening, 01 for connection established, or 06 for waiting for data)
  • tx_queue—Kernel memory usage by the transmission (Tx) queue.
  • rx_queue—Kernel memory usage by the retransmission (Rx) queues. This is not used by UDP, since the protocol itself does not support retransmission.
  • tr, tm-> when, retrnsmt—Kernel socket state debugging information. These are not used by UDP, since the protocol itself does not support retransmission.
  • uid—User ID of the socket’s creator (on FortiWeb, always 0).
  • timeout—Connection timeout.
  • inode—Pseudo-file system inode of the process.
  • ref, pointer—Pseudo-file system references.

To use this command, your administrator account’s access control profile must have at least r permission to the sysgrp area. For details, see Permissions.

Syntax

diagnose network udp list

Example

diagnose network udp list

sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode ref pointer drops

307: 00000000:00A1 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2498 2 ffff88003acba080 0

447: 00000000:3F2D 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2874 2 ffff88003acbac80 0

Related topics