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

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

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

I can’t, it was detected like a spam by devcentralf5

but it’s like your output but only with ipv6 address format

the manual conversion rules for F5 internal ipv6 --> real ipv4 adress can be see here:

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…

the only solution is to upgrade to version 11.X.

Thanks stanislas

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