Forum Discussion

weikang_Hu_9799's avatar
weikang_Hu_9799
Icon for Nimbostratus rankNimbostratus
Sep 03, 2007

How can I dump the connection table and persistence table by iControl API

Hi :

 

Can we dump the connection/persistence table for the BIGIP-941 by iControl .

 

Also can I dump the Source-IP information for those active connections for a given VS ?

5 Replies

  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    If you're looking to get information out of the connection table, the best place to start is the System::Connections interface. You can get more information about it and available methods here:

     

     

    http://devcentral.f5.com/wiki/default.aspx/iControl/System__Connections.html

     

     

    HTH,

     

    Colin
  • Just be wary of the "get_all_active_connections" and get_active_connections(get_list()) methods as the results sets will likely be VERY large and could have possible side effects of slightly slowing down the performance of the device. We suggest you call get_list() and split that array up in manageable chunks (<100) and loop over those chunks in calling get_active_connections() with that truncated array as input to it's search criteria.

     

     

    -Joe
  • Any chance the F5 will support sFlow or similar in future versions?
  • is it possible to call get_active_connection_v2() with a self built connectionID?

     

    I would like to do the same as

     

     

    show sys connection cs-server-addr cs-server-port
  • ykkim's avatar
    ykkim
    Icon for Nimbostratus rankNimbostratus
    I'm a lot interested in this topic. (Thanks for asking. weikang Hu)

     

    I read the Colin's answer above. Then I tried to test the API but I couldn't find proper function in my Java iControl v10 library. There is no "System::Connections" section even in iControl SDK document (for both v10 and v11). How can I call the mentioned function?