For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

ingo_braun's avatar
ingo_braun
Icon for Nimbostratus rankNimbostratus
Jun 28, 2019
Solved

REST API active connections with partitions

Hi community,   getting the active connections from TMSH with partitions needs a %3 for addresses in partition 3: (tmos.ltm)# show /sys connection cs-server-addr XXX.XXX.XXX.XXX%3   How can ...
  • Dario_Garrido's avatar
    Jun 28, 2019

    Hello Ingo.

    This works for me using route domain %2 (12.1.4).

    curl -sku admin:XXXX https://localhost/mgmt/tm/sys/connection?options=cs-server-addr+10.130.42.192%252 | json-format | sed 's/\\n/\n/g'
    {
      "kind": "tm:sys:connection:connectionstats",
      "selfLink": "https://localhost/mgmt/tm/sys/connection?options\u003dcs-server-addr+10.130.42.192%252\u0026ver\u003d12.1.4.1",
      "apiRawValues": {
        "apiAnonymous": "Sys::Connections
    10.130.42.3%2:18244  10.130.42.192%2:8  10.130.42.3%2:18244  10.130.42.192%2:8  icmp  8  (tmm: 0)  none
    10.130.42.3%2:18247  10.130.42.192%2:8  10.130.42.3%2:18247  10.130.42.192%2:8  icmp  2  (tmm: 3)  none
    10.130.42.3%2:18241  10.130.42.192%2:8  10.130.42.3%2:18241  10.130.42.192%2:8  icmp  12  (tmm: 1)  none
    Total records returned: 3
    "
      }
    }

    KR,

    Dario.