cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
339
Views
0
Helpful
2
Replies

OSPF Admin distance

dpuranik
Level 1
Level 1

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

2 Replies 2

thisisshanky
Level 11
Level 11

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

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

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

Review Cisco Networking for a $25 gift card