The DISTANCE command
Posted by Peter Kurdziel on March 31, 2009
Using the distance command with Distance-Vector protocols:
Configure referencing an update source. The update source address should be the IP address of the directly connected distance-vector router advertising the specified set of prefixes.
Using the distance command with Link State routing protocols:
Configure referencing an update source. The update source address must be the Router ID of the router that originated the prefixes being received.
Examples:
There are two distance commands you can use.
- distance 99 0.0.0.0 255.255.255.255 <ACL>
- distance ospf = However, the distance ospf command allows you to set a distance for an entire group of routes, rather than a specific route that passes an access list. A common reason to use the distance ospf command is when you have multiple OSPF processes with mutual redistribution, and you want to prefer internal routes from one over external routes from the other.
Advertisement