10-12-2019 08:19 AM
Hi,
Is There Any Scenario To Use The "Permanent" Parameter At The End Of a Static Route Command
ip route .... permanent
10-12-2019 08:47 AM
- https://community.cisco.com/t5/routing/static-route-with-permanent/td-p/630673
- https://learningnetwork.cisco.com/thread/78181
Google is our friend....
M
10-12-2019 09:30 AM - edited 10-12-2019 09:53 AM
Hello
One good example would apply it to a default static route on a stub router - A router that has only one way of forwarding all traffic outwards to - As such this route and its defined next hop should really never change so you could make it a permanent route
10-12-2019 10:34 AM
Paul gives a good example of a scenario where it would be appropriate to use the permanent parameter on a static route. Another scenario might be where you were running BGP and had a network that you want to advertise in BGP. Part of the requirement for advertising a route in BGP is that the precise same route (same address, same mask) must appear in the IP routing table. Many of us might use a static route to null 0 for that route. But it would also be appropriate to configure a static route with the permanent parameter which would guarantee that the route was always present in the routing table.
HTH
Rick
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: