Forum Discussion
mihai_178850
Nimbostratus
Apr 02, 2015Get route-advertisement state for a VIP
Hi guys,
I'm stumbling a bit on something that seems to be quite easy to find in the docs of iControl but not for iCall...
I have a TCL array of VIPs (name or IPs..I can do both) that I selected...
- Apr 02, 2015
Although it doesn't simply provide a true/false response, you can at least parse fewer lines with:
(tmos) list ltm virtual-address 1.1.1.1 route-advertisement ltm virtual-address 1.1.1.1 { route-advertisement enabled }
mihai_178850
Nimbostratus
Apr 02, 2015Just tried also with:
set obs [tmsh::get_config /ltm virtual-address ip-address]
which should return an object in the format that the scripting engine expects..but ran into the same error (probably I'm not getting the syntax right) when trying to do get_field_value/get_field_name on it.
If I print just $obs I get:
ltm virtual-address ip-address {
address ip-address
mask 255.255.255.255
route-advertisement enabled
traffic-group Redundant
unit 2
}
But so far it seems I am missing an important bit or not seeing it in front of my eyes..how to access the contents.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects