Forum Discussion
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
Cirrocumulus
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] configAlthough 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?
- simour_214944
Nimbostratus
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
Cirrocumulus
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
- simour_214944
Nimbostratus
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:
https://support.f5.com/kb/en-us/solutions/public/10000/400/sol10467.html
- simour_214944
Nimbostratus
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...
- Stanislas_Piro2
Cumulonimbus
the only solution is to upgrade to version 11.X.
- simour_214944
Nimbostratus
Thanks stanislas
- Hamish
Cirrocumulus
Isn't bagpipe still available in v10? If you're happy with that, use it.. Migrate to tmsh when you've to v11...
- arpydays
Nimbostratus
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}' |moreif you want to filter on client or server IP:port add that after 'bp conn'
cheers
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com