Forum Discussion

simour_214944's avatar
simour_214944
Icon for Nimbostratus rankNimbostratus
Aug 10, 2015

show sys connection in ipv4 format

Hi,

 

I Want to see connection table with a command like :

 

show sys connection cs-client-addr X.X.X.X%route-domain

 

but The output is in ipv6 format, as I understood for manage route-domain, bigip use this ip family

 

If I use the old bigpipe command, I have a ipv4 output

 

it's possible to see directly in ipv4 format on tmsh with route-domain ? and not converting manually

 

Thanks for any tips

 

9 Replies

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    What version are you using?

    I just checked with a VE (11.6.0HF3)

    [root@bigltm:ModuleNotLicensed:Active:Standalone] config  tmsh show sys connection cs-client-addr 192.168.1.16%0
    Sys::Connections
    192.168.1.16:39533  192.168.2.1:80  192.168.1.16:39533  192.168.2.1:80  tcp  2  (tmm: 1)  none
    Total records returned: 1
    [root@bigltm:ModuleNotLicensed:Active:Standalone] config  
    

    Although I don't have anything other than RD0 to check other (non-default) RD's handy... Is it possible this is a feature common to non-default RD's only?

  • this version

     

    Main Package Product BIG-IP Version 10.2.4 Build 855.0 Edition Hotfix HF9

     

    I don't use the the RD0

     

    Thanks

     

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    Hmm... Apologies. Don't have any v10's to check. Maybe that was a v10 feature that was altered in v11...

     

    Can you show some output?

     

    H

     

  • anyone an idea ?

     

    for me it's a pretty basic need, I can't figure out how it's not possible to see easily in ipv4 format with tmsh...

     

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    Isn't bagpipe still available in v10? If you're happy with that, use it.. Migrate to tmsh when you've to v11...

     

  • picking up on what Hamish wrote, try this for something similar to tmsh show sys connection;

    bp conn show all | awk 'BEGIN {RS="VIRTUAL"} {printf "%-30s %-30s %-30s %-30s\n",$9,$11,$22,$24}' |more

    if you want to filter on client or server IP:port add that after 'bp conn'

    cheers