Forum Discussion
RicFer
Nimbostratus
Dec 03, 2013Howto - Add a bunch of Static Routes
Hi Community,
We are having a big network change and have to add some static routes on our BIG-IP LTM (Vers 11.2.1) e.g. about 32 Routes.
Question: is there a smart way we can achieve this in a fast...
Kevin_K_51432
Dec 03, 2013Historic F5 Account
Hi, what about a copy / paste method? You could create a flat file and then just use the "merge" option to load it. You'll have to change the name for each "net route" declaration:
vi /config/this
net route /Common/route_one {
interface /Common/internal
network 10.10.10.0/32
}
net route /Common/route_two {
interface /Common/internal
network 11.10.10.0/32
}
net route /Common/route_three {
interface /Common/internal
network 12.10.10.0/32
}
tmsh load sys config merge file /config/this
tmsh save sys config
One benefit, is you could create a UCS file prior to the work and if anything doesn't go quite a planned, just load the UCS and get the BIG-IP back to where it was prior to adding the new routes.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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