Chapter 7: Route Optimization

Commands:

7.1.2 and 7.5.9 Using and configuring a Passive Interface

Router(config-router)# passive-interface type number

7.1.3 Using and configuring Route  Filters

Router(config)#distribute-list access-list number [in | out] [interface name]

7.2.1 Gateway of Last Resort

Router(config)# ip default-network xxx.xxx.xxx.xxx
Router(config)# ip default-gateway
Router(config-router)#redistribute static
(also in 7.3.4 and 7.4.3)
Router(config-router)#default metric bandwidth delay reliability load MTU

7.2.2 Gateway of Last Resort fails

Router#debug ip packet (also 7.3.4)
Router#show ip route

7.2.6 Using IP Classles

Router(config)# ip classless

7.4.1 RIP and 0.0.0.0

Router#debug ip rip

7.4.4 0.0.0.0 and IGRP

Router(config)# ip default- network 0.0.0.0
Router#debug ip igrp transactions
Router(config)# ip default network x.x.x.x

7.4.5 Floating Static Routes

Router#debug ip routing

7.5.4, 7.5.5, 7.5.8 and 7.5.9 Redistribution Guidelines

Router(config-router)#redistribute protocol [process-id] [metric metric-value] [metric-type type-value] [subnets]

router(config-router)#default-metric bandwidth delay reliability loading mtu

router(config-router)#default-metric number

7.5.5 Administrative Distance

router(config-router)#distance weight [address mask [access-list-number | name]]

7.5.10 Verifying Redistribution

Router#show running-config
Router#debug
Router#trace x.x.x.x

Example 1: EIGRP and IGRP redistributes automatically as long as the same process-id is used.

Router(config)# router eigrp 44 (or any AS number)
Router(config)# router igrp 44 (or any AS number)

Example 2:

Router(config)# router rip
Router(config-router)# redistribute igrp
Router(config)# router igrp
Router(config-router)# redistribute rip

Example 3:

Router(config)# router igrp 192
Router(config-router)# redistribute ospf 1 metric 56 100 255 1 1500 {k values}

Router(config)# router ospf 1
Router(config-router)# redistribute igrp 192 metric 12 metric-type 1 subnets
{ metric = metric for redistributed network; metric-type = 1 adds internal and external path costs; 2 internal costs only (default)}