Updated Date: 07/07/2026
Restore the original ZebOS routing configuration from tmsh
The routing config sync status is in the prompt. If you encounter a config sync failure that you are not able to fix, or if you need to return to your original ZebOS BGP routing configuration, you can restore the ZebOS configuration with the backed up file. Restoring a UCS should fully restore the ZebOS configuration. Note that restoring a UCS will interrupt routing. For more information on restoring using UCS, see https://support.f5.com/csp/article/K13132.
-
To delete the router you configured in
tmsh,type the command:tmsh delete net routing all route-domain <route-domain ID>Do this for every route-domain with a routing configuration. You are required to specify the route-domain.
-
To disable the db variable:
tmsh modify sys db tmrouted.tmos.routing value disable -
To verify that the router is deleted:
tmsh list net routing -
To re-enable the routing protocol:
tmsh modify net route-domain 0 routing-protocol add { BGP }You also have to specify any additional protocols you were using in your previous configuration. For example: OSPF, PIM, RIP, and so on.
-
To restore the backed up configuration:
# mv /config/zebos/rd0/<filename> /config/zebos/rd0/ZebOS.confFor example:
# mv /config/zebos/rd0/ZebOS.conf.Apr-20-2017-15:59:07 /config/zebos/rd0/ZebOS.conf -
To restart
tmrouted:bigstart restart tmroutedRestarting
tmroutedis required to restore the ZebOS configuration after you move the backup file toZebOS.conf. -
To check to see if the configuration was restored:
imish -e 'show running-config' -
To verify the device is still in an established state with the neighbor:
imish -e 'show bgp neighbor' -
To see the routes in the routing table:
tmsh show net routeYour configuration should now be back in ZebOS.