| Basic ISDN Configuration |
![]() |
![]() |
| Written by Administrator | ||||||||||||||||||||||||||||||||||||||||||||
| Friday, 19 August 2011 22:31 | ||||||||||||||||||||||||||||||||||||||||||||
IntroductionConfiguration of ISDN interfaces on Cisco routers are usually considered a straight-forward process, however there are some details which can cause your ISDN dialer interface to fail. This article will take you through the basic steps of configuring a Cisco Router to work with ISDN. Below is a table of ISDN Switch Types. Before you attempt to configure ISDN you need to ensure that you know which type of ISDN switch you are connecting to at the Telco.
For a very basic BRI ISDN configuration on a Cisco Router, you need to perform the following steps (that's providing you are not using DDR - Demand Dial Routing); Configure the Switch Type (Using switch-type) Configure the ISDN Dialer Map; this basically maps the IP Address of the end router's IP Address with its telephone number (Using dialer-map) Configure your ISDN Interface IP Address (using interface & ip address) Configure a routing rule (using ip route) For Example, Router(config)# isdn switch-type basic-5ess
Router(config)# isdn dialer map ip 10.10.10.2 name main_office 66552 Router(config)# ip route 192.168.0.0 255.255.255.0 10.10.10.2 Router(config)# interface BRI 0 Router(config-if)# ip address 10.10.10.1 255.255.255.0 N.B. If using the DMS-100 and National-1 switch types (as well as AT&T 5ESS), you will need to obtain from you telco the Service Profile Identifier (SPIDs) of which you require one per each Bearer Channel. For these switch types, these need to be configured using the isdn spid1 and isdn spid2 commands. The SPIDs are used to authenticate call requests at the telco's switch. The format for using the SPIDs is isdn spid1 spid-number ldn and isdn spid2 spid-number ldn.
Demand Dial Routing Since ISDN is a circuit switched technology, you usually pay for the amount of time that the line is active. For this reason, you generally do not want to raise the ISDN line for just any type of traffic. In order to accommodate this, you can configure what's called Demand Dial Routing or, DDR for short. The idea behind DDR is that you to specify the ‘interesting traffic' that will be able to raise the ISDN line. For example, you can set as ‘interesting traffic', all packets destined towards a specific remote network you connect to. If none of the routed traffic that is heading for that network (on the other side of the ISDN line), the line doesn't get raised. This saves on unnecessary costs due to none essential traffic raising the line. The way you specify ‘interesting traffic' is with the use of Access Control Lists (ACL's). If the traffic destined for the remote network doesn't match this interesting traffic, then the line stays down, otherwise the line is raised and traffic is allowed to travel to the remote network. It's worth mentioning here that although you have defined this “Interesting” traffic, it doesn't mean that other traffic will not be allowed to travel along the ISDN link. If the link is active, any traffic (unless blocked by Access Lists) is allowed to travel the link, therefore keep in mind that the “Interesting” traffic is used only to bring the line up. You can then create a 2 nd set of ACL's which defining the traffic that can traverse the ISDN line. Also, the DDR works using a counter, like a time-out counter, once the counter reaches a preset configurable threshold, the line will drop again. This threshold is reduced each time “Interesting” traffic is sent over the ISDN Link, therefore it's also only the “Interesting” traffic that is used to maintain the link. Steps in configuring DDR (assumes part of the basic steps above have already been configured) Define Interesting Traffic (Using dialer-list & access-list) Assign Interesting Traffic to an Interface (Using dialer-group) Define the destination IP address, hostname and telephone number to dial (Using dialer map) Define any additional options (Using dialer idle-timeout, dialer fast-idle, dialer load-threshold)
The Additional Options
For Example; Router(config)# isdn dialer map ip 10.10.10.2 name main_office 66552
Router(config)# access-list 101 permit tcp any any eq http Router(config)# dialer-list 1 protocol ip list 101 Router(config)# interface BRI 0 Router(config-if)# dialer-group 1 What this example does, is allowing all web traffic (http) from anywhere to anywhere. As you can see, the dialer-list is specifying the 101 access list to dialer-list 1. The dialer-group is then specifying the 1, which links to the dialer-list 1. Dialer Profiles On Cisco's website it states that “Dialer Profiles implementation of DRR is based on a separation between the logical and physical interface configurations. Dialer profiles also allow the logical and physical configurations to be bound together dynamically on a per-call basis.” There are several advantages of Dialer Profiles over Legacy DDR, it is much more scalable then Legacy DDR because Legacy DDR is based on a static binding between the per-destination call and the physical interface configuration. Dialer profiles are point-to-point interfaces which mean we no longer need the layer 3 to layer 2 mapping (layer 2 meaning the telephone number) since the profile can only dial a single location (hence point-to-point). Since the logical and physical configurations are dynamic, it allows physical interfaces to take on different characteristics based on the logical call requirements that is utilising the physical interface. The final advantage that we will include here is that it enables you to have a backup interface that isn't tying up one of the physical interfaces. Providing a spare interface is available, the backup can be used when it's required. Dialer Profiles are made up of a Dialer Interface, dialer pool and physical interface. Optionally, you can also have a map class. These are highlighted in the table below
Steps in creating a Dialer Profile (assumes part of the basic steps above have already been configured, such as ISDN type); Define a Dialer Interface Configure a Dialer String Assign Physical Interface to a Dialer Pool, plus any additional Physical attributes Other steps from the previous sections may need to be performed, for example; if you wanted to active the link using interesting traffic, DDR needs to be configured.
For Example; Define Dialer Interface Router(config)# interface dialer1
Router(config-if)# ip address 10.10.10.1 255.255.255.0 Router(config-if)# encapsulation ppp Router(config-if)# ppp authentication chap Router(config-if)# dialer remote-name remoteoffice Router(config-if)# dialer string 999666 Router(config-if)# dialer pool 1 Router(config-if)# dialer-group 1 Router(config-if)# exit Configure Physical Interface Router(config)# interface bri0
Router(config-if)# encapsulation ppp Router(config-if)# dialer pool-member 1 Router(config-if)# ppp authentication chap Router(config-if)# exit Configure DDR to specify “Interesting” traffic (http) used to bring the line up Router(config)# access-list 101 permit tcp any any eq http
Router(config)# dialer-list 1 protocol ip list 101 A Simple Example The following example includes a variety of different items discussed in this document, in order to help you see how they are applied in a real-case scenario. As always, depending on the security policies and network complexity, the configuration can change quite a bit. For simplicity reasons, we've keep the complexity to a minimum. Our scenario is based upon two routers who occasionally require to connect their networks via an ISDN dial line, in order to transfer data between them.
Router 1 – Remote Office Router1(config)#isdn switch-type basic-5ess Router1(config)#interface dialer1 Router1(config)#description Outgoing To HQ Router1(config-if)#ip address 10.10.10.1 255.255.255.252 Router1(config-if)#encapsulation ppp Router1(config-if)#ppp authentication chap pap callin Router1(config-if)#ppp chap hostname remote-office Router1(config-if)#ppp chap password cisco Router1(config-if)#ppp pap sent-username remote-office password cisco Router1(config-if)#dialer string 999666 Router1(config-if)#dialer pool 1 Router1(config-if)#dialer-group 1 Router1(config-if)#dialer idle-timeout 300 Router1(config-if)#ppp multilink Router1(config-if)#dialer load-threshold 125 either Router1(config-if)#exit Router1(config)#interface bri0 Router1(config-if)#encapsulation ppp Router1(config-if)#dialer pool-member 1 Router1(config-if)#ppp authentication chap Router1(config-if)#exit Router1(config)#access-list 101 permit tcp any any eq http Router1(config)#dialer-list 1 protocol ip list 101 Router1(config)#ip route 192.168.0.0 255.255.255.0 10.10.10.2
Router 2 – HeadQuaters HQ(config)#username remote-office password cisco HQ(config)#isdn switch-type basic-5ess HQ(config)#interface dialer1 HQ(config)#description Incoming From Remote-Office HQ(config-if)#ip address 10.10.10.2 255.255.255.252 HQ(config-if)#encapsulation ppp HQ(config-if)#ppp authentication chap pap callin HQ(config-if)#dialer pool 1 HQ(config-if)#ppp multilink HQ(config-if)#exit HQ(config)#interface bri0 HQ(config-if)#encapsulation ppp HQ(config-if)#dialer pool-member 1 HQ(config-if)#exit HQ(config)#ip route 192.168.5.0 255.255.255.0 10.10.10.1
Summary Here's the complete configuration without comments. You should now be able to understand what each command represents: Router 1 - Remote Office Router1(config)# isdn switch-type basic-5ess
Router1(config)# interface dialer1 Router1(config)# description Outgoing To HQ Router1(config-if)# ip address 10.10.10.1 255.255.255.252 Router1(config-if)# encapsulation ppp Router1(config-if)# ppp authentication chap pap callin Router1(config-if)# ppp chap hostname remote-office Router1(config-if)# ppp chap password cisco Router1(config-if)# ppp pap sent-username remote-office password cisco Router1(config-if)# dialer string 999666 Router1(config-if)# dialer pool 1 Router1(config-if)# dialer-group 1 Router1(config-if)# dialer idle-timeout 300 Router1(config-if)# ppp multilink Router1(config-if)# dialer load-threshold 125 either Router1(config-if)# exit Router1(config)# interface bri0 Router1(config-if)# encapsulation ppp Router1(config-if)# dialer pool-member 1 Router1(config-if)# ppp authentication chap Router1(config-if)# exit Router1(config)# access-list 101 permit tcp any any eq http Router1(config)# dialer-list 1 protocol ip list 101 Router1(config)# ip route 192.168.0.0 255.255.255.0 10.10.10.2
Router 2 - Headquaters HQ(config)# username remote-office password cisco
HQ(config)# isdn switch-type basic-5ess HQ(config)# interface dialer1 HQ(config)# description Incoming From Remote-Office HQ(config-if)# ip address 10.10.10.2 255.255.255.252 HQ(config-if)# encapsulation ppp HQ(config-if)# ppp authentication chap pap callin HQ(config-if)# dialer pool 1 HQ(config-if)# ppp multilink HQ(config-if)# exit HQ(config)# interface bri0 HQ(config-if)# encapsulation ppp HQ(config-if)# dialer pool-member 1 HQ(config-if)# exit HQ(config)# ip route 192.168.5.0 255.255.255.0 10.10.10.1 Related Articles
|










