Router>enable password:****** |
Router#conf t Router (config)#hostname currentrouter Router (config)#username targetrouter password abc |
Router (config)# isdn switch-type switch-type
|
Router (config)# interface type port_number Router (config-if)# ip address ipaddress subnetmask |
Router (config-if)# interface bri port_number Router (config-if)# ip addr ipaddress subnetmask |
Router (config-if)# isdn spid1 SPID_no [LDN] Router (config-if)# isdn spid2 SPID_no [LDN] |
Router (config-if)# encapsulation ppp Router (config-if)# ppp authentication chap |
Router (config-if)# dialer load-threshold 128
|
Router (config-if)# ppp multilink
|
Router (config-if)# dialer map protocol targerBRIport_ipaddress name targetrouter_number
|
Router (config-if)# dialer-group groupnumber
|
Router (config-if)# dialer-list groupnumber protocol protocol_type permit
|
Router (config-if)# ip route targetrouter_ipnetwork subnetmask targetBRIport_ipaddress
|
current router (branch1) is at a remote site and the target router (main1) is at a central site.
)
Table: Example ISDN Configuration Configuration for the Current Router
Router> enable
password:pail1 Router# config term Router (config-if)# hostname branch1 branch1 (config-if)# username main1 password secret1 branch1 (config)# isdn switch-type basic-dms100 branch1 (config)# interface Ethernet 0 branch1 (config)# ip address 172.16.80.170 255.255.255.0 branch1 (config-if)# interface bri 0 branch1 (config-if)# ip address 172.16.71.1 255.255.255.0 branch1 (config-if)# isdn spid1 415988488501 9884885 branch1 (config-if)# isdn spid2 415988488602 9884886 branch1 (config-if)# dialer load-threshold 128 branch1 (config-if)# ppp multilink branch1 (config-if)# encapsulation ppp branch1 (config-if)# ppp authentication chap branch1 (config-if)# dialer map ip 172.16.71.2 name main1 9884883 branch1 (config-if)# dialer group 1 branch1 (config-if)# exit branch1 (config)# dialer-list 1 protocol ip permit branch1 (config-if)# ip route 172.16.0.0 255.255.0.0 172.16.71.2 branch1 (config-if)# ip route 0.0.0 .0 172.16.71.2 branch1 (config)# exit branch1# copy running-config startup-config branch1#
Configuration for the Target Router
Router> enable password: pail2 Router# config term Router (config)# hostname main1 main1 (config)# username branch1 password secret1 main1 (config)# isdn switch-type basic-dms100 main1 (config)# interface Ethernet 0 main1 (config)# ip address 172.16.64.190 255.255.255.0 main1 (config-if)# interface bri 0 main1 (config-if)# ip address 172.16.71.2 255.255.255.0 main1 (config-if)# isdn spid1 415955488201 9884882 main1 (config-if)# isdn spid2 415988488302 9884883 main1 (config-if)# dialer load-threshold 128 main1 (config-if)# ppp multilink main1 (config-if)# encapsulation ppp main1 (config-if)# ppp authentication chap main1 (config-if)# dialer map ip 172.16.71.1 name branch1 9884885 main1 (config-if)# dialer group 1 main1 (config-if)# exit main1 (config)# dialer-list 1 protocol ip permit main1 (config-if)# ip route 172.16.80.0 255.255.0.0 172.16.71.1 Router (config-if)# exit main1# copy running-config startup-config main1# |