mihai_178850
Apr 02, 2015Nimbostratus
Get 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 according to my specific criteria. How can I see if the route-advertisement option is already enabled or not for a VIP?
With iControl it was easy from the API: get_route_advertisement_state(VIP) -> 1 = enabled, 0 = disabled
Does anyone know how I can do this with iCall?
Thanks, Mihai
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 }