Routing protocol seed metric for redistribution
router rip
redistribute static
redistribute eigrp 1
redistribute ospf 1
default-metric 1
router ospf 1
redistribute static metric 200 subnets
redistribute rip metric 200 subnets
redistribute eigrp 1 metric 100 subnets
router igrp/eigrp 1
redistribute static metric 10000 100 255 1 1500
redistribute ospf 1 metric 10000 100 255 1 1500
redistribute rip metric 10000 100 255 1 1500
* or use default-metric 10000 100 255 1 1500
Allow/deny even/odd routes
access-list 1 120.10.0.0 0.0.254.255 ==> 120.10.(0,2,4,6,8).x ===> Even numbers
access-list 1 120.10.1.0 0.0.254.255 ==> 120.10.(1,3,5,7,9).x ===> Odd numbers
lab notes
- permit only odd routes – routes should be in the rip database
- access-list 1 per 199.1.1.0 0.0.254.0
- router rip
- distance 255 135.5.1.1 255.255.255.255 1
- set cost t0 300 do not use ip ospf bandwidth
- 300 * 1544000(link bw) = 463.2 round up 464
- auto-cost reference-bandwidth 464
- rip, ospf 1, ospf 256 – you need to redistribute mutually, even though your redistributed between ospf 1 and ospf 256.
- watch out for typo’s in the AS when redistributing.
- do not see ospf routes: solution:
- redistribute ospf 256 match internal external 1 external 2
- clear ip ospd redistribution -flushes type 5 and type 7 routes.
- always set a seed metric when redistributing:
- rip – 1 – cisco recomments you use the lowest.
- ospf – cost – 10^8/BW – for ethernet 1000 for 1544 serial 64767 (if you forget this then ospf will default to 20 for all protocols except bgp which will dedault to 1).
- eigtp – bandwidth delay reliability load mtu 1000 100 255 1 15000
- bgp – no metric
- area X range only works on ABR
- summary-address only works on ASBR
- Common ways to solve issues with redistribution, distance, distribute-lists, route-maps and tags.
- OSPF and BGP router ID must match
- Whenever you see ” minimum number of commands” start thinking of all the ways to do something because something is likely out of the ordinary