Forum Discussion
BIG-IP, iRULE, and BGP peers
On BIG-IP DNS(GTM), I need to connect to various networks(ISPs) via BGP and then use the prefixes advertised dynamically in my iRules. Was wondering on the following approaches which I would appreciate your input:
1- So the base question is, how can I fetch RIB information in my iRule? For instance, using IMSH to setup the BGP peering, and then use iRule with an script on the system to read the prefixes.(either event triggered or periodically)
2- How to use iControl/RestAPI to send prefixes to the F5 from an external machine?
3- And in regards with smarter control of BIGIP, what are the advantages on moving to bigip v12 against v11?
Thanks
1 Reply
- Leonardo_Souza
Cirrocumulus
In theory the information from ZebOS (imish is the shell for ZebOS), should be available from TMM (F5 system). You just need to find the correct command to get that information. I only found the route command, but does not have any command useful for your case:
https://devcentral.f5.com/wiki/irules.route.ashx
Here is the BGP documentation:
About your second questions, I don't think there is any iControlRest layer for imish. iControlRest is a layer on top of tmsh, so should not work with imish commands.
About v11 or v12, that is a long conversation. If you need a new feature in v12, just go with v12. If you just want stability, go for 11.5.X or 11.6.X. Read this solution as is very important if you are unsure about the version:
https://support.f5.com/csp/article/K5903
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