Table of Contents

Routing Loops with More than Two Routing Domains and Per-Route AD settings

Per-Route AD Settings

R19(config)# ip access-list 2 permit 1.18.18.0 0.0.0.255 R19(config)# router ospf 1 R19(config-router)# distance 98 0.0.0.18 0.0.0.0 2 R19# show ip route ospf ## Check if AD changed for specific route ##

R20(config)# router eigrp 100
R20(config-router)# network 88.0.0.0
R19(config)# router eigrp 100
R19(config-router)# distance 88 20.19.20.20 0.0.0.0 3 # Only applies to iEIGRP routes from ACL 3 #
R19# show ip route eigrp # Look for the 88.88.88.0/24 and make sure it has an AD of 88 #

Preventing Routing Loops by Filtering Using Tag

Using Tags for Route Filtering
R20(config)# router rip
R20(config-router)# version 2
R20(config-router)# no auto-summary
R20(config-router)# network 18.0.0.0
R20(config-router)# redistribute ospf 1 metric 9
!
R18(config)# router rip
R18(config-router)# version 2
R18(config-router)# no auto-summary
R18(config-router)# network 18.0.0.0
R18(config-router)# redistribute ospf 1 metric 9
!
R18(config)# access-list 1 permit 2.2.2.0 0.0.0.255
R18(config)# route-map Set-Tag permit 10
R18(config-route-map)# match ip add 1
R18(config-route-map)# set tag 888
R18(config)# router rip
R18(config)# redistribute ospf 1 metric 9 route-map Set-Tag
!
R18# show ip route 2.2.2.0 # Look for the tag #