Fortinet black logo

CLI Reference

diagnose netlink udp

diagnose netlink udp

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 network interface in hexadecimal, such as DD01010A:0050.
  • rem_address — Remote host 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 FortiADC, always 0).
  • timeout — Connection timeout.
  • inode — Pseudo-file system inode of the process.
  • ref, pointer — Pseudo-file system references.

Syntax

diagnose netlink udp

Example

FortiADC-VM # diagnose netlink udp

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

171: 0100007F:0FA0 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 1165 2 ffff88006bf90000 0

202: 00000000:87BF 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 4962 2 ffff88006bf91500 0

223: 00000000:F7D4 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 38534860 2 ffff88005f319180 0

318: 00000000:3033 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 38504036 2 ffff88005f318700 0

319: 00000000:D034 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 3279 2 ffff88006bf90e00 0

320: 64901EAC:0035 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2854 2 ffff88006bf90a80 0

320: 0100007F:0035 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2851 2 ffff88006bf90700 0

475: 00000000:ECD0 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 24123242 2 ffff88005f318000 0

494: 00000000:24E3 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 38500439 2 ffff88005f318a80 0

546: 00000000:2D17 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 20533867 2 ffff88005f318380 0

610: 00000000:9957 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 37907911 2 ffff88005f319500 0

1010: 00000000:52E7 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 3576 2 ffff88006bf90380 0

diagnose netlink udp

diagnose netlink udp

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 network interface in hexadecimal, such as DD01010A:0050.
  • rem_address — Remote host 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 FortiADC, always 0).
  • timeout — Connection timeout.
  • inode — Pseudo-file system inode of the process.
  • ref, pointer — Pseudo-file system references.

Syntax

diagnose netlink udp

Example

FortiADC-VM # diagnose netlink udp

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

171: 0100007F:0FA0 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 1165 2 ffff88006bf90000 0

202: 00000000:87BF 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 4962 2 ffff88006bf91500 0

223: 00000000:F7D4 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 38534860 2 ffff88005f319180 0

318: 00000000:3033 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 38504036 2 ffff88005f318700 0

319: 00000000:D034 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 3279 2 ffff88006bf90e00 0

320: 64901EAC:0035 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2854 2 ffff88006bf90a80 0

320: 0100007F:0035 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 2851 2 ffff88006bf90700 0

475: 00000000:ECD0 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 24123242 2 ffff88005f318000 0

494: 00000000:24E3 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 38500439 2 ffff88005f318a80 0

546: 00000000:2D17 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 20533867 2 ffff88005f318380 0

610: 00000000:9957 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 37907911 2 ffff88005f319500 0

1010: 00000000:52E7 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 3576 2 ffff88006bf90380 0