Forum Discussion

thornade_91981's avatar
thornade_91981
Icon for Nimbostratus rankNimbostratus
Dec 15, 2011

Show session table for a specific virtual server

Hi,

 

 

I'm looking for a tmsh or bigpipe command to list all connections on a specific virtual server.

 

I already know commands b conn or tmsh sys conn, but both did not solve what I need.

 

 

I'd like to dump all sessions involved in a routing virtual server (0.0.0.0) and b conn or tmsh sys conn could only filter on src/dst address/port. Is there a way to specify the virtual server in place of ip address or port number ?

 

 

Thanks by advance.

 

 

  • An unlikely solution... does it work to use 0.0.0.0 as a cs-server-addr for tmsh show sys conn?

     

     

    Aaron
  • this is from 10.2.3.

    root@ve1023(Active)(tmos) list ltm virtual bar2
    ltm virtual bar2 {
        destination any:domain
        ip-protocol udp
        mask any
        pool gateway_pool
        profiles {
            udp { }
        }
        snat automap
        translate-address disabled
    }
    
    root@ve1023(Active)(tmos) show  sys connection cs-server-addr 0.0.0.0 cs-server-port 53
    Sys::Connections
    200.200.200.101:37440  8.8.8.8:53  8.8.8.8:53  udp  0
    200.200.200.101:38454  8.8.8.8:53  8.8.8.8:53  udp  0
    200.200.200.101:48075  8.8.8.8:53  8.8.8.8:53  udp  0
    200.200.200.101:51260  8.8.8.8:53  8.8.8.8:53  udp  0
    Total records returned: 4
    
    • Walter_Kacynski's avatar
      Walter_Kacynski
      Icon for Cirrostratus rankCirrostratus

      Sadly, 0.0.0.0 isn't limiting to only this virtual on a 12.1.2 instance.

       

  • this is from 10.2.3.

    root@ve1023(Active)(tmos) list ltm virtual bar2
    ltm virtual bar2 {
        destination any:domain
        ip-protocol udp
        mask any
        pool gateway_pool
        profiles {
            udp { }
        }
        snat automap
        translate-address disabled
    }
    
    root@ve1023(Active)(tmos) show  sys connection cs-server-addr 0.0.0.0 cs-server-port 53
    Sys::Connections
    200.200.200.101:37440  8.8.8.8:53  8.8.8.8:53  udp  0
    200.200.200.101:38454  8.8.8.8:53  8.8.8.8:53  udp  0
    200.200.200.101:48075  8.8.8.8:53  8.8.8.8:53  udp  0
    200.200.200.101:51260  8.8.8.8:53  8.8.8.8:53  udp  0
    Total records returned: 4