Modifies the administrative distance for RIP routes.
Router(config-router)#distance <1-255> <source IP> <wildcard bits> <list>
|<source IP>||The IP from which the routes are comming from|
|<wildcard bits>||The wildcard mask|
First, the administrative distance for all rip routes is changed by issuing the command distance 100.
The rip route tables are displayed, showing the newly changed adminstrative distance.
R1(config-router)#do show ip route rip
Next, we’ll be changing the administrative distance of 220.127.116.11 to 80. To do this, an access list must be created first.
R2(config-router)#access-list 66 permit 18.104.22.168
Here’s the rip route displaying the changed administrative distance of 22.214.171.124.
R2(config-router)#do show ip route rip