How to configure Administrative Distance

Thanks for the explanation!

1 Like

in which scenario do we need to change the AD for certain routes?

Hello Thiziri

Administrative Distance is a value that should not be changed in most circumstances. These values have been defined by engineers to be ideal for most scenarios. However, there are cases where you may want to change the AD in order to achieve a particular routing behavior.

Some cases where you would change the AD include:

  1. Route Redistribution: If you are redistributing routes from one routing protocol into another, you may want to manipulate the AD to control which routes are preferred.
  2. Backup Routes: If you want to create a backup route that is only used when the primary route fails, you can manipulate the AD to make the backup route less desirable under normal circumstances. This is the case when you configure a Floating Static Route.
  3. Routing Protocol Preference: If you’re using multiple routing protocols and want to prefer routes learned from one protocol over another in a different way from the default, you can adjust the AD accordingly.

These are just some of the cases where you can manipulate the administrative distance. Keep in mind that these cases are very specialized and would be applied in somewhat complex network deployments.

I hope this has been helpful!

Laz