Configuration Example: ISDN and DDR with No Dialer Profiles


Figure 26-1 shows the network topology for the ISDN and DDR with no dialer profiles configuration that follows using the commands covered in this chapter.

Figure 26-1. ISDN/DDR with No Dialer Profiles Configuration


Edmonton Router

router>en

 

router#config t

 

router(config)#host Edmonton

Sets host name

Edmonton(config)#no ip domain-lookup

Turns off DNS resolution to avoid wait time due to DNS lookup of spelling errors

Edmonton(config)#enable secret cisco

Sets encrypted password to cisco

Edmonton(config)#line con 0

 

Edmonton(config-line)#login

 

Edmonton(config-line)#password class

Sets console line password to class

Edmonton(config-line)#logging synchronous

Returns prompt to same location after info messages interrupt

Edmonton(config-line)#exit

 

Edmonton(config)#int fa 0/0

 

Edmonton(config-if)#ip add 172.16.10.1 255.255.255.0

Assigns IP address to interface

Edmonton(config-if)#no shut

Turns interface on

Edmonton(config-if)#exit

 

Edmonton(config)#username Calgary password academy

For PPP encapsulation across ISDN (optional)

Edmonton(config)#isdn switch-type basic-ni

Sets ISDN switch type for all interfaces to match service provider

Edmonton(config)#dialer-list 1 protocol ip permit

Defines interesting trafficall IP

Edmonton(config)#ip route 0.0.0.0 0.0.0.0 172.16.20.2

Creates a static route that will send all traffic not defined in the routing table to the next-hop address of 172.16.20.2

Edmonton(config)#int bri 0/0

 

Edmonton(config-if)#ip add 172.16.20.1 255.255.255.0

Assigns IP address to interface

Edmonton(config-if)#encap ppp

Turns on PPP encapsulation

Edmonton(config-if)#ppp authen chap

Turns on CHAP authentication

Edmonton(config-if)#dialer-group 1

Assigns traffic from dialer list 1 to this group

Edmonton(config-if)#isdn spid1 51055512340001 5551234

Assigns SPID 1

Edmonton(config-if)#isdn spid2 51055512350001 5551235

Assigns SPID 2

Edmonton(config-if)#dialer idle-timeout 90

Specifies that the interface will disconnect after 90 seconds of no traffic

Edmonton(config-if)#dialer map ip 172.16.20.2 name Calgary 5554000

Sets map to find remote router

Edmonton(config-if)#no shut

 

Edmonton(config-if)#

 

Edmonton#copy run start

Saves configuration to NVRAM


Calgary Router

router>en

 

router#config t

 

router(config)#host Calgary

Sets host name

Calgary(config)#no ip domain-lookup

Turns off DNS resolution to avoid wait time due to DNS lookup of spelling errors

Calgary(config)#enable secret cisco

Sets encrypted password

Calgary(config)#line con 0

 

Calgary(config-line)#login

 

Calgary(config-line)#password console

Sets console line password

Calgary(config-line)#logging synchronous

Returns prompt to same location after info messages interrupt

Calgary(config-line)#exit

 

Calgary(config)#int fa 0/0

 

Calgary(config-if)#ip add 172.16.30.1 255.255.255.0

Assigns IP address to interface

Calgary(config-if)#no shut

Turns interface on

Calgary(config-if)#exit

 

Calgary(config)#username Edmonton password academy

For PPP encapsulation across ISDN (optional)

Calgary(config)#isdn switch-type basic-ni

Sets ISDN switch type for all interfaces to match service provider

Calgary(config)#dialer-list 1 protocol ip permit

Defines interesting trafficall IP

Calgary(config)#ip route 0.0.0.0 0.0.0.0 172.16.20.1

Creates a static route that will send all traffic not defined in the routing table to the next-hop address of 172.16.20.1

Calgary(config)#int bri 0/0

 

Calgary(config-if)#ip add 172.16.20.2 255.255.255.0

Assigns IP address to interface

Calgary(config-if)#encap ppp

Turns on PPP encapsulation

Calgary(config-if)#ppp authen chap

Turns on CHAP authentication

Calgary(config-if)#dialer-group 1

Assigns traffic from dialer list 1 to this group

Calgary(config-if)#isdn spid1 51055540000001 5554000

Assigns SPID 1

Calgary(config-if)#isdn spid2 51055540010001 5554001

Assigns SPID 2

Calgary(config-if)#dialer idle-timeout 60

Specifies that the interface will disconnect after 60 seconds of no traffic

Calgary(config-if)#dialer map ip 172.16.20.1 name Edmonton 5551234

Sets map to find remote router

Calgary(config-if)#no shut

 

Calgary(config-if)#

 

Calgary#copy run start

Saves configuration to NVRAM





CCNA Self-Study(c) CCNA Portable Command Guide
CCNA Portable Command Guide
ISBN: 1587201585
EAN: 2147483647
Year: 2006
Pages: 261
Authors: Scott Empson

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net