Example 24 Forwarding Route Table of the ringo Router

ringo#show ip route

C 192.168.10.0/24 is directly connected, Loopback20

172.16.0.0/16 is variably subnetted, 6 subnets, 2 masks

D 172.16.33.0/24 [90/1812992] via 172.16.10.3, 00:07:13, Ethernet0

D 172.16.34.0/24 [90/1812992] via 172.16.10.3, 00:07:13, Ethernet0

D 172.16.16.4/30 [90/2195456] via 172.16.10.4, 00:07:13, Ethernet0

D 172.16.16.0/30 [90/1787392] via 172.16.10.3, 00:07:13, Ethernet0

C 172.16.10.0/24 is directly connected, Ethernet0

D 172.16.2.0/24 [90/307200] via 172.16.10.4, 00:07:14, Ethernet0

ringo#

Example 2-5 lists the configuration of the route map) on the ringo router. Example 2-5. Configuration of the ringo Router i interface Loopback20 ip address 192.168.10.10 255.255.255.0

i interface Ethernet0 ip address 172.16.10.10 255.255.255.0

i router eigrp 65001 network 172.16.0.0 network 192.168.10.0 no auto-summary no eigrp log-neighbor-changes

router ospf 7 log-adj acency-changes redistribute eigrp 65001 subnets route-map set_tag3 network 172.1(5. 10.10 0.0.0.0 area 0 default-metric 10

Route-map called access-list 5 permit 172.16.10.3 access-list 50 permit any

Match route 172.16.10.3 only "Match all remaining routes route-map set_tag3 permit 100 match ip route-source 5 set tag 3

Match routes from 172.16.10.3 / ACL 5 "set the tag to three route-map set_tag3 permit 200 match ip address 50 set metric-type type-1 set tag 500

'Second Route-map instance 'Call access-list 50 to match all routes 'Set OSPF route type to External Type-1 'Set the tag to 500 for these routes

In the precgding ex ample, the second ins tance of the route m ap calls ACL 50. Ac cess I ist 50 will all remaining ro utes to pe redistr ibuted and will set a tag of 500 and the metr ic- type; to an OSPF type-external.

By viewieg the OSP F database, you can clearly se e the tags and how redist ribution is woreing. Exa Semonstra tes the show ip ospn data base comma nd on the ri ngo router.

Was this article helpful?

0 0

Post a comment