• How to Configure BRI ISDN in a Cisco Router

      1 comment

    When would you need this: When you have ISDN WAN link and you want the router to use it.

    Special Requirements: The router should have BRI interface(s).

    There are two ways to configure ISDN in a Cisco router. The first one is to setup the ISDN connection to be always on. This method will be very costly because most ISDN service providers charge not only by monthly subscription, but by the amount of data that you transfer. Having the connection opened 24/7, will cause extra expenses because all kinds of traffic will pass through the ISDN link.

    The second method is Dial on Demand Routing (DDR). DDR employs a mechanism that filters the traffic into interesting (worth connecting for) and non-interesting (not worth it). Using the DDR the call scenario will be that the router does not setup the connection until “Interesting” traffic needs to be routed to the other side. Once the connection is setup, ALL kinds of traffic (interesting and non-interesting) will pass unless you filter the passing traffic with an access-list. Then, the router sets a down-counter (idle-timer), and if no interesting traffic comes in and the timer goes to zero, the connection is terminated. If interesting traffic comes in before the idle-timer is finished, the traffic is passed and the idle-timer is reset. What made this function possible is the very small call-setup time in ISDN.

    If you are connecting two nodes using ISDN, keep reading. However if you are connecting more than two nodes, you will need to refer to this procedure for configuring DDR Dialer Profiles.

    Configuring Dial-on-Demand-Routing ISDN:

    1. The first thing to do is to setup routing. Static routing is usually preferred with DDR. Setting dynamic routing protocol, will cause the link to be on all (or most) of the time. Thus, static routing is a better solution. You can setup dynamic routing and tune it a bit for the DDR. This tuning might include changing the timers of routing updates.

    I will give an example of static routing;

    Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1

    Router(config)#ip route 192.168.2.1 255.255.255.255 bri0

    Or, a default route,

    Router(config)#ip route 0.0.0.0 0.0.0.0 bri0

    Remember that you need to setup routing on both ends of the WAN link.

    2. Specify the type of the ISDN switch. This piece of information should be provided to you by the ISDN service provider. You can issue this command,

    Router(config)#isdn switch-type SSSSS

    where SSSSS
    is the ISDN switch type. Issuing this command in the global configuration mode will cause ALL your ISDN interfaces to be set to use this type of switch. You can set different types of switches for different interfaces if you issue the command in the interface configuration mode like the following example:

    Router(config)#int bri0

    Router(config-if)#isdn switch-type SSSS1

    Router(config-if)#int bri1

    Router(config-if)#isdn switch-type SSSS2

    After defining the switch type, identify the SPIDs in the BRI interface configuration mode,

    Router(config-if)#isdn spid1 XXXXXXX YYY

    Router(config-if)#isdn spid2 XXXXXXX YYY

    The numbers used here should be provided to you by the ISDN service provider. Most providers in Europe do not use SPIDs in their ISDN networks. So, unless you are supplied with SPID numbers from the provider, just neglect all the commands of setting SPIDs in this procedure.


     

     

    Read the rest of the article in the Router Geek Book: Guide to Cisco Routers Configuration

     

    Write a comment