05-30-2003 01:09 PM - edited 03-02-2019 07:46 AM
Hi,
I want to change the OSPF Admin distance of 2 different routes, but it is not working
router ospf 1
distance 89 0.0.0.0 255.255.255.255 1
distance 171 0.0.0.0 255.255.255.255 2
access-lsit 1 172.16.10.0 0.0.0.255
access-list 2 192.168.1.0 0.0.0.255
05-30-2003 01:22 PM
I did test this in lab right now, its working.
Do the following,
1. Clear the routing table ( clear ip route *) and see if the distance is updated properly.
2. See whether the mask of 172.16.10.0 is /24 and that of 192.168.1.0 is /24, if the route is coming up with a differnet mask and if you match the access-list with a different wild card mask, it might not work.
HTH
06-03-2003 06:04 AM
Do you see 172.16.10.0/24 is with AD 89 and 192.168.10/24 with AD 171 ?
What IOS ver are you using ?
Thanks
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: