Cisco Router 826 Routers Software Configuration Guide
Have a look at the manual Cisco Router 826 Routers Software Configuration Guide online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 53 Cisco manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
2-27 Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide 78-14565-03 Chapter 2 Network Scenarios Configuring Dial Backup Follow the steps below to configure the dynamic route on the Cisco 836 router ISDN port, beginning in global configuration mode. NoteThe floating static route depends on the routing protocol convergence times when dynamic routing is activated. Configuring Dialer Watch Use the steps in the table below to configure the dialer watch on the Cisco 836 router’s ISDN port, beginning in global configuration mode.Command Purpose Step 1router ripEnables RIP routing. Step 2network 22.0.0.0Defines the primary interface network. 22.0.0.0 is the network value of the primary interface. Step 3ip route 0.0.0.0 0.0.0.0 192.168.2.2 150Assigns the lower routing administrative distance value for the backup interface route. 192.168.2.2 is the peer IP address of the backup interface. Command Purpose Step 1interface Dialer0Enters configuration mode for the dial backup interface. Step 2dialer watch-group 1Specifies the group number for the watch list. Step 3exitExits to return to global configuration mode. Step 4ip route 0.0.0.0 0.0.0.0 22.0.0.2Assigns the primary route. 22.0.0.2 is the peer IP address of the primary interface. Step 5ip route 0.0.0.0 0.0.0.0 192.168.2.2 150Assigns the lower routing administrative distance value for the backup interface route. 192.168.2.2 is the peer IP address of the backup interface. Step 6dialer watch-list 1 ip 22.0.0.2 255.255.255.255Assigns an IP address to the watch list via the dialer watch command. If the connection on the primary interface is lost and the IP address is unavailable on the Cisco 836 router, the dial-out feature on the backup interface is triggered. 22.0.0.2 is the peer IP address of the primary interface.
2-28 Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide 78-14565-03 Chapter 2 Network Scenarios Configuring Dial Backup Configuration Example The next three configuration examples shows sample configurations for the three dial backup interface and remote management methods. The following is an example of configuring dial backup and remote management using the backup interface command. Cisco836# ! vpdn enable ! vpdn-group 1 accept-dialin protocol pppoe ! !Specifies the ISDN switch type isdn switch-type basic-net3 ! interface Ethernet0 ip address 192.168.1.1 255.255.255.0 hold-queue 100 out ! !ISDN interface to be used as a backup interface interface BRI0 no ip address encapsulation ppp dialer pool-member 1 isdn switch-type basic-net3 ! interface ATM0 backup interface BRI0 no ip address no atm ilmi-keepalive pvc 1/40 encapsulation aal5snap pppoe-client dial-pool-number 2 ! dsl operating-mode auto ! ! Dial backup interface, associated with physical BRI0 interface. Dialer pool 1 associates it with BRI0’s dialer pool member 1 interface Dialer0 ip address negotiated encapsulation ppp dialer pool 1 dialer idle-timeout 30 dialer string 384040 dialer-group 1 ! ! Primary interface associated with physical ATM0’s interface, dialer pool 2 associates it with ATM0’s dial-pool-number2 interface Dialer2 ip address negotiated ip mtu 1492 encapsulation ppp dialer pool 2 dialer-group 2 no cdp enable ! ip classless !Primary and backup interface given route metric ip route 0.0.0.0 0.0.0.0 22.0.0.2
2-29 Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide 78-14565-03 Chapter 2 Network Scenarios Configuring Dial Backup ip route 0.0.0.0 0.0.0.0 192.168.2.2 80 ip http server ! !Specifies interesting traffic to trigger backup ISDN traffic dialer-list 1 protocol ip permit The following is an example of configuring dial backup and remote management using floating static routes. Cisco836# ! vpdn enable ! vpdn-group 1 accept-dialin protocol pppoe ! !Specifies the ISDN switch type isdn switch-type basic-net3 ! interface Ethernet0 ip address 192.168.1.1 255.255.255.0 hold-queue 100 out ! !ISDN interface to be used as a backup interface interface BRI0 no ip address encapsulation ppp dialer pool-member 1 isdn switch-type basic-net3 ! interface ATM0 no ip address no atm ilmi-keepalive pvc 1/40 encapsulation aal5snap pppoe-client dial-pool-number 2 ! dsl operating-mode auto ! ! Dial backup interface, associated with physical BRI0 interface. Dialer pool 1 associates it with BRI0’s dialer pool member 1 interface Dialer0 ip address negotiated encapsulation ppp dialer pool 1 dialer idle-timeout 30 dialer string 384040 dialer-group 1 ! ! Primary interface associated with physical ATM0’s interface, dialer pool 2 associates it with ATM0’s dial-pool-number2 interface Dialer2 ip address negotiated ip mtu 1492 encapsulation ppp dialer pool 2 dialer-group 2 ! ip classless no cdp enable !Primary and backup interface given route metric (This example using static routes, thus atm0 line protocol must be brought down for backup interface to function.) ip route 0.0.0.0 0.0.0.0 22.0.0.2
2-30 Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide 78-14565-03 Chapter 2 Network Scenarios Configuring Dial Backup ip route 0.0.0.0 0.0.0.0 192.168.2.2 150 ip http server ! !Specifies interesting traffic to trigger backup ISDN traffic dialer-list 1 protocol ip permit The following is an example of configuring dial backup and remote management using dialer watch. Cisco836# ! vpdn enable ! vpdn-group 1 accept-dialin protocol pppoe ! !Specifies the ISDN switch type isdn switch-type basic-net3 ! interface Ethernet0 ip address 192.168.1.1 255.255.255.0 hold-queue 100 out ! !ISDN interface to be used as a backup interface interface BRI0 no ip address encapsulation ppp dialer pool-member 1 isdn switch-type basic-net3 ! interface ATM0 no ip address no atm ilmi-keepalive pvc 1/40 encapsulation aal5snap pppoe-client dial-pool-number 2 ! dsl operating-mode auto ! ! Dial backup interface, associated with physical BRI0 interface. Dialer pool 1 associates it with BRI0’s dialer pool member 1. Note “dialer watch-group 1” associates a watch list with corresponding “dialer watch-list” command interface Dialer0 ip address negotiated encapsulation ppp dialer pool 1 dialer idle-timeout 30 dialer string 384040 dialer watch-group 1 dialer-group 1 ! ! Primary interface associated with physical ATM0 interface, dialer pool 2 associates it with ATM0’s dial-pool-number2 interface Dialer2 ip address negotiated ip mtu 1492 encapsulation ppp dialer pool 2 dialer-group 2 no cdp enable ! ip classless
2-31 Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide 78-14565-03 Chapter 2 Network Scenarios Configuring Dial Backup !Primary and backup interface given route metric ip route 0.0.0.0 0.0.0.0 22.0.0.2 ip route 0.0.0.0 0.0.0.0 192.168.2.2 80 ip http server ! !Watch for interesting traffic dialer watch-list 1 ip 22.0.0.2 255.255.255.255 !Specifies interesting traffic to trigger backup ISDN traffic dialer-list 1 protocol ip permit ! Configuring the Aggregator and ISDN Peer Router The aggregator is typically a concentrator router where the Cisco 836 router ATM PVC will terminate. In the configuration example shown below, the aggregator is configured as a PPPoE server to correspond with the Cisco 836 router configuration example that is given in this chapter. The ISDN peer router is any router that has an ISDN interface and can communicate through a public ISDN network to reach the Cisco 836 router ISDN interface. The ISDN peer router provides Internet access for the Cisco 836 router during the ATM network downtime. The following is a configuration example of an aggregator used in the Cisco 836 router network. ! vpdn enable no vpdn logging ! vpdn-group 1 accept-dialin protocol pppoe virtual-template 1 ! interface Ethernet3 description “4700ref-1” ip address 40.1.1.1 255.255.255.0 media-type 10BaseT ! interface Ethernet4 ip address 30.1.1.1 255.255.255.0 media-type 10BaseT ! interface Virtual-Template1 ip address 22.0.0.2 255.255.255.0 ip mtu 1492 peer default ip address pool adsl ! interface ATM0 no ip address pvc 1/40 encapsulation aal5snap protocol pppoe ! no atm limi-keepalive ! ip local pool adsl 22.0.0.1 ip classless ip route 0.0.0.0 0.0.0.0 22.0.0.1 50 ip route 0.0.0.0 0.0.0.0 30.1.1.2.80
2-32 Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide 78-14565-03 Chapter 2 Network Scenarios Configuring Dial Backup The following is a configuration example of an ISDN peer router used in the Cisco 836 router network. ! isdn switch-type basic-net3 ! interface Ethernet0 ip address 30.1.1.2 255.0.0.0 ! interface BRI0 description “to 836-dialbackup” no ip address encapsulation ppp dialer pool-member 1 isdn switch-type basic-net3 ! interface Dialer0 ip address 192.168.2.2 255.255.255.0 encapsulation ppp dialer pool 1 dialer string 384020 dialer-group 1 peer default ip address pool isdn ! ip local pool isdn 192.168.2.1 ip http server ip classless ip route 0.0.0.0 0.0.0.0 192.168.2.1 ip route 40.0.0.0 255.0.0.0 30.1.1.1 ! dialer-list 1 protocol ip permit ! Configuring Remote Management for the Cisco SOHO 97 Router Complete the following steps to configure remote management for the Cisco SOHO 97 router. Configuration Example The following configuration example for a Cisco SOHO 97 router specifies the IP address for the ATM interface via PPP/IPCP address and supports dial-in maintenance over the console port. ! !Remote management account username dialin password cisco modemcap entry MY_USR_MODEM:MSC=&F1S0=1 Command Purpose Step 1interface Async1Enters configuration mode for the async interface. Step 2line con 0Enters configuration mode for the console interface. Step 3modem enableChanges the console port to the auxiliary port. Step 4line aux 0Enters configuration mode for the auxiliary interface. Step 5flowcontrol hardwareEnables hardware signal flow control.
2-33 Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide 78-14565-03 Chapter 2 Network Scenarios Configuring Dial Backup ! interface Ethernet0 ip address 192.168.1.1 255.255.255.0 ip nat inside hold-queue 100 out ! interface ATM0 no ip address no atm ilmi-keepalive pvc 0/35 encapsulation aal5mux ppp dialer dialer pool-member 1 ! dsl operating-mode auto ! interface Async1 no ip address encapsulation ppp dialer in-band autodetect encapsulation ppp async default routing async dynamic routing async mode dedicated pap authentication pap callin peer default ip address 192.168.2.2 ! ip nat inside source list 101 interface Dialer1 overload ip classless ip route 0.0.0.0 0.0.0.0 Dialer1 150 ! no ip http server ip pim bidir-enable ! ! access-list 101 permit ip 192.168.0.0 0.0.255.255 any dialer-list 1 protocol ip permit ! line con 0 exec-timeout 0 0 modem enable stopbits 1 line aux 0 exec-timeout 0 0 script dialer Dialout modem Dialin modem autoconfigure discovery transport input all stopbits 1 speed 38400 flowcontrol hardware line vty 0 4 login local ! scheduler max-task-time 5000 end
2-34 Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide 78-14565-03 Chapter 2 Network Scenarios Configuring Dial Backup Configuring Dial Backup and Remote Management for Cisco 831 Router and Cisco SOHO 91 Router Figure 2-11 shows how dial backup and remote management work in a DSL modem environment when the primary line goes down. Note that the cable modem environment is currently not supported. Figure 2-11 Cisco 831 Router Dial Backup and Remote Management in a DSL Modem Environment Follow the steps below to configure dial backup and remote management for the Cisco 831 router.1Main WAN link; primary connection to Internet service provider 2Dial backup; serves as a failover link when primary line goes down 3Remote management; serves as a dial-in access to allow change or update of Cisco IOS configurations 82270 2 1 3 3 2 DSL 831Ethernet DSL modem Modem Modem Modem PC3620 PSTN Command Purpose Step 1ip name-server 206.13.28.12Enters your ISP DNS IP address. Step 2ip dhcp pool 1Configures CPE as a local DHCP server. Step 3vpdn enableEnables VPDN. Step 4vpdn-group 1Specifies VPDN group for protocol PPPoE. Step 5chat-script Dialout ABORT ERROR ABORT BUSY ““ “AT” OK “AT D T 5555102 T” TIMEOUT 45 CONNECT \c Configures a chat script for a modem. Step 6interface Async1Enters configuration mode for the async interface. Step 7interface Dialer3Enters configuration mode for the dialer interface.
2-35 Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide 78-14565-03 Chapter 2 Network Scenarios Configuring Dial Backup Configuration Example for the Cisco 831 Router The following example configures dial backup and remote management on a Cisco 831 router. ! version 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router ! memory-size iomem 20 enable password cisco ! ip subnet-zero ip name-server 206.13.28.12 ip name-server 206.13.31.12 ip name-server 63.203.35.55 ip dhcp excluded-address 192.168.1.1 ! ip dhcp pool 1 import all network 192.168.1.0 255.255.255.0 default-router 192.168.1.1 ! ip audit notify log ip audit po max-events 100 vpdn enable ! vpdn-group 1 request-dialin protocol pppoe ! ! Need to use your own correct ISP phone number modemcap entry MY-USER_MODEM:MSC=&F1S0=1 chat-script Dialout ABORT ERROR ABORT BUSY ““ “AT” OK “ATDT 5555102\T” TIMEOUT 45 CONNECT \c ! Step 8ip nat inside source list 101 interface Dialer3 overloadEstablishes the Ethernet interface as the inside interface. Step 9ip route 0.0.0.0 0.0.0.0 ! (dial backup peer address @ISP)Sets the IP route to point to the dialer interface as a default gateway. Step 10access-list 101 permit ip 192.168.0.0 0.0.255.255 anyDefines an extended access list permitting addresses that need translation. Step 11dialer watch-list 1 ip ! (peer address @ISP) 255.255.255.255Evaluates the status of the primary link, based on the existence of routes to the peer. Step 12line con 0Enters configuration mode for the console interface. Step 13modem enableChanges the console port to the auxiliary port. Step 14line aux 0Enters configuration mode for the auxiliary interface. Step 15flowcontrol hardwareEnables hardware signal flow control. Command Purpose
2-36 Cisco 826, 827, 828, 831, 836, and 837 and Cisco SOHO 76, 77, 78, 91, 96, and 97 Routers Software Configuration Guide 78-14565-03 Chapter 2 Network Scenarios Configuring Dial Backup ! ! ! interface Ethernet0 ip address 192.168.1.1 255.255.255.0 ip nat inside ip tcp adjust-mss 1452 hold-queue 100 out ! interface Ethernet1 no ip address no ip route-cache no ip mroute-cache pppoe enable pppoe-client dial-pool-number 1 ! !Dial backup and remote management physical interface interface Async1 no ip address encapsulation ppp dialer in-band dialer pool-member 3 async default routing async dynamic routing async mode dedicated ppp authentication pap callin ! ! Primary wan link interface Dialer1 ip address negotiated ip mtu 1492 ip nat outside encapsulation ppp dialer pool 1 ppp authentication pap callin ppp pap sent-username account password 7 pass ppp ipcp dns request ppp ipcp wins request ppp ipcp mask request ! ! Dialer backup logical interface interface Dialer3 ip address negotiated ip nat outside encapsulation ppp no ip route-cache no ip mroute-cache dialer pool 3 dialer idle-timeout 60 dialer string 5555102 modem-script Dialout dialer watch-group 1 ! ! Remote management PC ip address peer default ip address 192.168.2.2 no cdp enable ! ! Need to use your own ISP account and password ppp pap sent-username account password 7 pass ppp ipcp dns request ppp ipcp wins request ppp ipcp mask request ! ! IP NAT over Dialer interface using route-map ip nat inside source route-map main interface Dialer1 overload