Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

OSPF Admin distance

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

  • Other Network Infrastructure Subjects
2 REPLIES

Re: OSPF Admin distance

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

New Member

Re: OSPF Admin distance

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

102
Views
0
Helpful
2
Replies