RIP distance command

Started by certforumz, November 23, 2011, 12:36:22 AM

Previous topic - Next topic

certforumz

The syntax for the distance command is

distance <admin-distance> {ip-address {wildcard-mask}} [ip-standard-list]| [ip-extended-list]

example: distance 150 10.1.1.0 0.0.0.255

The router will assign an administrative distance as specified in the command instead of the default AD. This command is very useful when you want to assign different AD for redistributed routes into RIP from other protocols. In the example, a AD of 150 is assigned to the routes specified.

This distance command should not be confused with route metrics that are used by the various routing protocols - RIP, EIGRP, OSPF, ISIS, etc