! Listing 6.23: Multiple protocol complete configuration--Router WarehouseA ! !Copyright (C) 2001 by Vincent C Jones. All Rights Reserved. ! !Revision History: ! 25 Feb 2001: Use "modem autoconfigure" rather than "script reset" version 11.0 ! hostname WarehouseA ! enable secret TopSecret ! ! Data Center router name and password for Async dial backup username AsyncServer password AsyncSecret no ip domain-lookup ! Configure IPX routing on this router ipx routing 0000.0ADC.1901 ipx internal-network ADC1901 modemcap entry HayesSet:MSC=&fl1m1&c1&d2&k3s0=2 chat-script hayes ABORT ERROR ABORT "NO " ABORT BUSY "" "at" "" "at&f" OK "atl1m1&c1&d2&k3S0=2" OK "at dt \T" TIMEOUT 90 CONNECT \c ! interface Loopback0 description Address which is always up for management access ip address 10.220.25.1 255.255.255.255 ! interface Ethernet0 description Computer Room end of the Warehouse LAN ip address 10.210.25.2 255.255.255.0 no ip redirects ipx network AD21800 encapsulation SAP standby 1 priority 110 standby 1 preempt standby 1 authentication OnlyOne standby 1 ip 10.210.25.1 ! interface Serial0 description 2524 Integrated T1 CSU/DSU no ip address encapsulation frame-relay ! interface Serial0.22 point-to-point description Backup PVC for frame relay (target 10.200.0.22) ip address 10.220.25.33 255.255.255.252 bandwidth 1544 delay 2500 ipx delay 7 ipx network ADC1920 frame-relay interface-dlci 22 ! interface Serial0.23 point-to-point description Primary PVC for frame relay (target 10.200.0.21) ip address 10.220.25.21 255.255.255.252 bandwidth 1544 delay 2000 ipx delay 1 ipx network ADC1914 frame-relay interface-dlci 23 ! interface Serial1 description No interface installed in this slot no ip address shutdown ! interface BRI0 description No interface installed in this slot no ip address shutdown ! interface Async1 description Analog backup for the ISDN backup on WarehouseB ip unnumbered Loopback0 encapsulation ppp bandwidth 33 delay 15000 ipx ipxwan 0 unnumbered WarehouseA ipx delay 30 ipx output-rip-delay 200 ipx output-sap-delay 200 ipx sap-interval 5 async default routing async mode interactive dialer in-band dialer idle-timeout 300 dialer map ipx 0.0AC8.00CC.0000 name AsyncServer broadcast 12125551111 dialer map ip 10.200.0.4 name AsyncServer broadcast 12125551111 dialer hold-queue 10 timeout 60 dialer-group 1 ppp authentication chap ! router eigrp 1 redistribute static route-map Protect network 10.0.0.0 distribute-list 22 in Async1 distribute-list 20 in Serial0.22 distribute-list 21 in Serial0.23 no auto-summary ! ! Simplify testing when logged in via telnet ip host TestISDN 10.200.0.2 ip host TestAsync 10.200.0.4 ip classless ! Hierarchy of default routes ! Primary Frame Relay link ip route 0.0.0.0 0.0.0.0 10.200.0.21 200 ! Secondary Frame Relay link ip route 0.0.0.0 0.0.0.0 10.200.0.22 201 ! ISDN link if it is up and running ip route 0.0.0.0 0.0.0.0 10.200.0.3 205 ! Either Async link, but only if up and running ip route 0.0.0.0 0.0.0.0 10.200.0.5 207 ! Force up Async link on this router ip route 0.0.0.0 0.0.0.0 10.200.0.4 210 ! ! Simplify ISDN testing ip route 10.200.0.2 255.255.255.255 10.210.27.1 ip route 10.200.0.4 255.255.255.255 Async1 ! Route to all LAN users, just in case ip route 10.210.24.0 255.255.248.0 Ethernet0 ! Route to protect our local segment ip route 10.210.26.0 255.255.255.0 Ethernet0 ! Routes to other LAN destinations to avoid one-armed routing ip route 10.210.27.0 255.255.255.128 Ethernet0 ip route 10.210.27.128 255.255.255.128 Ethernet0 ip route 10.210.28.0 255.255.255.128 Ethernet0 ip route 10.210.28.128 255.255.255.128 Ethernet0 ip route 10.210.29.0 255.255.255.128 Ethernet0 ip route 10.210.29.128 255.255.255.128 Ethernet0 logging 10.201.0.119 ! Log to NOC logging 10.210.26.30 ! Log to a very local system ! ! Static routes denied redistribution access-list 10 permit 10.210.27.0 0.0.0.255 access-list 10 permit 10.210.28.0 0.0.3.255 ! Static routes redistributed with low metrics access-list 11 permit 10.210.26.0 0.0.0.255 ! Static routes redistributed with high metrics access-list 12 permit 10.210.24.0 0.0.7.255 ! ! Don't let too many routes in access-list 20 permit 10.200.0.22 ! Secondary target access-list 20 permit 0.0.0.0 access-list 21 permit 10.200.0.21 ! Primary target access-list 21 permit 0.0.0.0 access-list 22 permit 10.200.0.5 ! Async target ! Define interesting traffic for DDR access-list 102 deny eigrp any any access-list 102 permit ip any any access-list 902 deny 1 !RIP access-list 902 deny 4 !SAP access-list 902 permit -1 !any ! ! Route map to control redistribution of statics route-map Protect deny 25 match ip address 10 ! route-map Protect permit 30 match ip address 11 set metric 10000 100 255 1 1500 ! route-map Protect permit 35 match ip address 12 set metric 10000 50000 255 1 1500 ! dialer-list 1 protocol ip list 102 dialer-list 1 protocol ipx list 902 ! line con 0 password aSecret login line aux 0 ! Dual roles: dial out for backup and dial in for net management password aSecret script dialer hayes login modem InOut modem autoconfigure type HayesSet transport input all speed 38400 flowcontrol hardware line vty 0 4 password aSecret login ! end