cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
846
Views
0
Helpful
4
Replies

Route selection by Prefix length or AD

irfan_1505
Level 1
Level 1

suppose i am getting two routes from one from ospf and one from EIGRP. and ip getting maximum prefix match with ospf then which route it will select... OSPF or EIGRP.

4 Replies 4

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Irfan,

the most specific route is used.

if both protocols propose the same prefix and prefix len the lower AD is installed in the routing table.

Hope to help

Giuseppe

Thanks friend...

then there is no meaning of AD if the maximum match prefix route is coming from higher AD...

Hello Irfan,

most specific route first

AD is looked at to break a tie in prefix length

Hope to help

Giuseppe

Getting Started

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco