12 Config Isdnbri 15

download 12 Config Isdnbri 15

of 40

Transcript of 12 Config Isdnbri 15

  • 7/30/2019 12 Config Isdnbri 15

    1/40

    Configuring ISDN

    BRIModule 15

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

  • 7/30/2019 12 Config Isdnbri 15

    2/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    State a relevant use and context for ISDN networking

    Identify ISDN protocols, function groups, referencepoints, and channels

    Relate Point-to-Point Protocol (PPP) anddial-on-demand routing (DDR) functions to ISDN

    Describe Ciscos implementation of ISDN BRI

    Configure an ISDN call, open a circuit, and pass dataover an interface

    Monitor and analyze ISDN operation through the router

    Objectives

    Upon completion of this module, you will be able toperform the following tasks:

  • 7/30/2019 12 Config Isdnbri 15

    3/40

    ISDN BRI

    Overview

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

  • 7/30/2019 12 Config Isdnbri 15

    4/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Uses higher-quality end-to-end digital facilities

    Sets up call faster than basic telephone service

    Carries varied feeds (for example, packets,voice, video)

    Meets demand for telecommuting bandwidth

    Improves Internet response (especially forWorld Wide Web)

    Using ISDN Services

  • 7/30/2019 12 Config Isdnbri 15

    5/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Routing over ISDN

    ISDN

    IP

    IPX

    AppleTalk

    All others

    HDLC

    PPP

    Others

    Choose one encapsulation option

    X.25

    FrameRelay

    Connect to other WANs

    All major routing protocols can use ISDN

  • 7/30/2019 12 Config Isdnbri 15

    6/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Obtaining ISDN Services

    S

    CO COS

    SS S

    S

    SS

    S

    S

    SS S

    Many providers and switch types

    Services vary by regions and countries

  • 7/30/2019 12 Config Isdnbri 15

    7/40Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Standards from the ITU (CCITT)

    ISDN Protocols

    ISDN Concepts,Aspects, andInterfaces

    I-SeriesI.100 Series-Concepts, Structures,

    TerminologyI.400-User-Network Interfaces (UNIs)

    Switching andSignaling

    Q.921-LAPD (Link Access Procedureon the D Channel)

    Q.931-ISDN Network Layer BetweenTerminal and Switch

    Q-Series

    Protocols Key Examples

    TelephoneNetwork andISDN

    E.163-International TelephoneNumbering Plan

    E.164-International ISDN Addressing

    Issue

    E-Series

  • 7/30/2019 12 Config Isdnbri 15

    8/40Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    LT ETNT1TE1

    TATE2

    ISDN Functions/ReferencePoints

    S/T U V

    R

    Reference points characterize differentinterfaces

    Functions are devices or hardware

    functions

  • 7/30/2019 12 Config Isdnbri 15

    9/40Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    TE1

    Native ISDN Interface

    Router Connections to ISDN

    Terminal Adapter

    TATE2R

    Non-ISDN InterfaceExamples:

    EIA/TIA-232V.35X.21

    Example of a nonnative ISDN interfaceint s 0

    NT1U

    ISDN

    Local Loop to CO

    Network Termination 1(ISDN Modem)

    NT1 physically terminates the local loop

    S/T

    Example of a native interfaceint bri 0

  • 7/30/2019 12 Config Isdnbri 15

    10/40Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Customer Premises to ISDN

    BRI

    PRI

    Cisco 4x00 and7000 series routers

    CSU

    CPE in North America

    CPE outside North America

    Cisco2500, 3000, or 4000

    series routers

    NT1

    ISDNServiceProvider

    Switch

  • 7/30/2019 12 Config Isdnbri 15

    11/40Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Cisco ISDN Features

    Multiprotocol support Available on several router series

    SNMP support with ISDN MIB group

    Multiple bearer channels

    Bandwidth on demand

    Optional incoming call screening

    PPP with compression options

    Services only when needed by using DDR

  • 7/30/2019 12 Config Isdnbri 15

    12/40Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    1. Interesting packet arrives

    Dial-on-Demand Routing forISDN

    Remote Call

    DestinationNT1 or

    DSU/CSU

    ISDN

    Service

    Provider

    BRI or

    PRI

    NT1 or CSU/DSU

    1.

    2.

    NT1 or CSU/DSU

    3.

    4.

    TokenRing

    2. Use host ID and dial string3. Make outgoing call to ISDN switch

    4. Access circuit-switched destination

  • 7/30/2019 12 Config Isdnbri 15

    13/40

    Configuring

    ISDN BRI

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

  • 7/30/2019 12 Config Isdnbri 15

    14/40Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    ISDN Channels for BRI Are 2B+D

    BRI is used globally for ISDN services

    ISDNNT1

    2B

    Channel Mostly Used for:B Circuit-switched data (HDLC, PPP)

    Capacity64 kbps

    Channel Mostly Used for:

    D

    Capacity

    16 kbps Signaling information (LAPD)

    D

    int bri 0

  • 7/30/2019 12 Config Isdnbri 15

    15/40Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    ISDN Configuration Tasks

    Interface configuration

    Select interface specifications

    Configure ISDN addressing

    Optional feature configuration

    ISDN

    Global configuration

    Select switch type

    Specify traffic to trigger DDR call

  • 7/30/2019 12 Config Isdnbri 15

    16/40Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Router (config) #

    isdn switch-type switch-type

    Selecting the ISDN SwitchType

    Specifies the type of ISDN switch withwhich the router communicates

    Other line configuration requirementsvary for specific providers

  • 7/30/2019 12 Config Isdnbri 15

    17/40Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Router (config) #

    dialer-list dialer-group protocolprotocol-name [permit | deny ]

    Router (config-if) #

    dialer-group group-number

    Router (config-if) #

    dialer mapprotocol next-hop-addressname[ name ] speedspeed dial-stringbroadcast

    Specifying Traffic to TriggerCall

  • 7/30/2019 12 Config Isdnbri 15

    18/40Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    interface bri interface-number

    Router (config) #

    Selecting InterfaceSpecifications

    Selects the interface for ISDN BRIoperation

    encapsulation [ppp| hdlc]

    Router (config-if) #

    Selects framing for ISDN BRI

  • 7/30/2019 12 Config Isdnbri 15

    19/40Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Router (config-if) #

    isdn spid1 spid-number [ ldn ]

    Setting SPIDs if Necessary

    Sets a B channel Service ProfileIdentifier (SPID) required by manyservice providers

    Router (config-if) #

    isdn spid2 spid-number [ ldn ]

    Sets a SPID for the second B channel

  • 7/30/2019 12 Config Isdnbri 15

    20/40Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Configuring for a Simple ISDNCall

    Use PPP encapsulation

    All IP traffic to destination triggers ISDN call

    Carrier uses AT&T basic rate switch

    Service provider assigns connectionparameters

    EO

    ISDN

    Service

    Provider

    BRI0

    NT1

    Cisco A

    172.16.126.1

    T0

    TokenRingNT1

    172.16.126.2

    Cisco B

    EO

    172.16.29.9

  • 7/30/2019 12 Config Isdnbri 15

    21/40Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    ! set up switch type, static route and dialer for ISDN on Cisco Aisdn switch-type basic-5essip route 172.16.29.0 255.255.255.0 172.16.126.2dialer-list 1 protocol ip permit!! configure BRI interface for PPP; set address and maskinterface bri 0encapsulation ppp

    ip address 172.16.126.1 255.255.255.0!! refer to protocols in dialer-list to identify interesting packetsdialer-group 1!! select call start, stop, and other ISDN provider detailsdialer wait-for-carrier-time 15dialer idle-timeout 300isdn spid1 0145678912

    ! call setup details for routerdialer map ip 172.16.126.2 name cisco-b 526-1234

    BRI Simple ConfigurationExample

  • 7/30/2019 12 Config Isdnbri 15

    22/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    #show interface bri 0 1BRI0: B-Channel 1 is up, line protocol is upHardware is BRIMTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255Encapsulation PPP, loopback not set, keepalive not setlcp state = OPENncp ccp state = OPEN ncp ipcp state = OPENncp osicp state = NOT NEGOTIATED ncp ipxcp state = NOT NEGOTIATED

    ncp xnscp state = NOT NEGOTIATED ncp vinescp state = NOT NEGOTIATEDncp deccp state = NOT NEGOTIATED ncp bridgecp state = NOT NEGOTIATEDncp atalkcp state = NOT NEGOTIATED ncp lex state = NOT NEGOTIATEDLast input 1w4d, output 1w4d, output hang neverLast clearing of "show interface" counters neverOutput queue 0/40, 0 drops; input queue 0/75, 0 drops5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec

    165 packets input, 9434 bytes, 0 no bufferReceived 0 broadcasts, 0 runts, 0 giants0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort165 packets output, 9418 bytes, 0 underruns0 output errors, 0 collisions, 10 interface resets, 0 restarts48 carrier transitions

    Monitoring PPP on BRI

  • 7/30/2019 12 Config Isdnbri 15

    23/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Apply extended access lists for call trigger

    Enable caller ID screening

    Select rate adaptation

    Establish subaddresses

    Specify multilink PPP

    Optional InterfaceConfiguration

    ISDN

  • 7/30/2019 12 Config Isdnbri 15

    24/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    On cisco-a, allow all IP traffic except Telnet andIGRP to trigger ISDN call to 172.16.59.0

    Allow only IP traffic to all other destinations Carrier uses Northern Telecom DMS-100 switch

    Service provider assigns ID, timers, and dial string

    Extended Access List ISDNCalls

    Cisco B

    172.16.59.12

    ISDN

    Service

    Provider

    BRI0

    NT1

    172.16.49.1

    NT1

    172.16.49.2

    Cisco A

    NT1

    Cisco C

    172.16.39.0

  • 7/30/2019 12 Config Isdnbri 15

    25/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    isdn switch-type basic-dms100

    ip route 172.16.59.0 255.255.255.0 172.16.129.2

    ! set up conditions for call to cisco-b: only IP but not for telnet or IGRP

    access-list 101 deny tcp 172.16.49.0 0.0.0.255 172.16.59 0 0.0.255 eq 23

    access-list 101 deny igrp 172.16.49.2 0.0.0.255 172.16.59 0 0.0.255

    access-list 101 permit ip 172.16.49.2 0.0.0.255 0.0.0.0 255.255.255.255

    dialer-list 2 list 101

    !

    ! interface details follow

    interface bri 0

    ip address 172.16.49.1 255.255.255.0

    ! in group that refers to access statements in dialer-list for call trigger

    dialer-group 2

    dialer wait-for-carrier-time 15

    dialer idle-timeout 300isdn spid1 0246864211

    isdn spid2 0246864212

    ! call setup details for router and NT1

    dialer map ip 172.16.129.2 name cisco-b 945

    BRI Access List Example

  • 7/30/2019 12 Config Isdnbri 15

    26/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Caller Identification Screening

    Call setup messagewith local ISDNnumbers

    1234

    Router BRouter AISDN

    RouterISDN

    number

    A 1234

    Compare with

    allowed numbers

    Extra level of call management

    Accept Call

    Call not set up (and charged) until acceptance

    Alternative: PPP encapsulation and CHAP

  • 7/30/2019 12 Config Isdnbri 15

    27/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    isdn caller numberRouter (config-if) #

    Router (config-if) #

    isdn answer2 [ called-party-number ]

    or

    Sets the number to which interface responds

    Router (config-if) #

    isdn answer1 [ called-party-number ]

    Configuring Call Screening

    Enables caller ID screening

  • 7/30/2019 12 Config Isdnbri 15

    28/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Configured for outgoing calls

    Selecting ISDN RateAdaptation

    ISDN

    BRI0BRI156 kbps

    64 kbpsBRI0

    56 kbps

    Requested lower speed from call ishonored

    64 kbps

    Assigned on a per-destination basis

  • 7/30/2019 12 Config Isdnbri 15

    29/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    dialer mapprotocol next-hop-addressspeedspeed

    Router (config-if) #

    Configuring Rate Adaptation

    Negotiate speed for calls to thisdestination

  • 7/30/2019 12 Config Isdnbri 15

    30/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    ISDN SBus and Subaddresses

    Multipoint Sbus

    2B2B

    ISDN phone

    D D

    SBus

    ISDN Number

    Connect NT1 to SBus with multipoint devices

    4085551212

    ISDN

    Fax

    NT1NT1

    Subaddress

    :2

    :1:3

    :2

    Specify subaddress for each multipoint device,for example, 4085551212:2

  • 7/30/2019 12 Config Isdnbri 15

    31/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    dialer map protocol next-hop-address name

    hostname dial-string[ :isdn-subaddress ]

    Router (config-if) #

    Configuring Subaddresses

    Specifies subaddress numbers usedin ISDN multipoint connections

  • 7/30/2019 12 Config Isdnbri 15

    32/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Multilink PPP Operation

    LCP Option Negotiation

    MRRU

    Bundle

  • 7/30/2019 12 Config Isdnbri 15

    33/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    ppp multilinkRouter (config-if) #

    Configuring Multilink PPP

    Enables multilink on rotary groupRouter (config-if) #

    dialer load-thresholdloaddirection

    [ outbound | inbound | either ]

    Brings up links and adds them tobundle

  • 7/30/2019 12 Config Isdnbri 15

    34/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    isdn switch-type basic-net3interface bri 0ip address 172.16.11.1 255.255.255.0! accept only these calls in delivered by switchisdn caller 4153261415isdn caller 4153261417dialer map ip 172.16.11.2 speed 56 4153261415dialer map ip 172.16.11.3 4153261417:2dialer-group 1

    Advanced ConfigurationExample

    ISDN

    BRI0

    56 kbps

    64 kbps

    172.16.11.1

    172.16.11.2

    172.16.11.3

    BRI0

    BRI0001

    002

    (4153261415)

    (4153261417)

    (4085261416)TokenRing

    NT1

    NT1

    NT1

  • 7/30/2019 12 Config Isdnbri 15

    35/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    isdn switch-type basic-net3interface bri 1ip address 172.16.11.3 255.255.255.0

    ! accept only these incoming callsisdn caller 4153261415isdn caller 4085261416dialer map ip 172.16.11.1 4085261416isdn answer1 4153261417:2dialer-group 1

    Advanced ConfigurationExample (cont.)

    172.16.11.3

    ISDN

    BRI0

    56 kbps

    64 kbps

    172.16.11.1

    172.16.11.2

    BRI0

    BRI0001

    002

    (4153261415)

    (4153261417)

    (4085261416)TokenRing

    NT1

    NT1

    NT1

  • 7/30/2019 12 Config Isdnbri 15

    36/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Router>show controller bri 0BRI unit 0D Chan Info:Layer 1 is ACTIVATEDidb 0x32089C, ds 0x3267D8, reset_mask 0x2buffer size 1524RX ring with 2 entries at 0x2101600 : Rxhead 0

    00 pak=0x4122E8 ds=0x412444 status=D000 pak_size=001 pak=0x410C20 ds=0x410D7C status=F000 pak_size=0TX ring with 1 entries at 0x2101640:tx_count = 0,tx_head = 0,tx_tail = 000 pak=0x000000 ds=0x000000 status=7C00 pak_size=00 missed datagrams, 0 overruns, 0 bad frame addresses0 bad datagram encapsulations, 0 memory errors0 transmitter underruns

    -- More --

    Verifying ISDN

  • 7/30/2019 12 Config Isdnbri 15

    37/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Router>show interface bri0 1

    BRI0: 1 is up, line protocol is upHardware is BRIMTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, rely 255/255, load 1/255Encapsulation PPP, loopback not set, keepalive set (10 sec)DTR is pulsed for 1 seconds on resetLCP OpenOpen: IPCPLast input 4d10, output 4d10, output hang never

    Last clearing of "show interface" counters neverQueueing strategy: fifoOutput queue 0/40, 0 drops; input queue 0/75, 0 drops5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec

    26 packets input, 866 bytes, 0 no bufferReceived 0 broadcasts, 0 runts, 0 giants0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort

    34 packets output, 1017 bytes, 0 underruns0 output errors, 0 collisions, 12 interface resets, 0 restarts8 carrier transitions

    Verifying ISDN (cont.)

  • 7/30/2019 12 Config Isdnbri 15

    38/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    Router# show dialerBRI0 - dialer type = ISDNDial String Successes Failures Last called Last status81012345678902 2 0 0:03:02 Successful0 incoming call(s) have been screened.BRI0: B-Channel 1Idle timer (30 secs), Fast idle timer (20 secs)

    Wait for carrier (30 secs), Re-enable (15 secs)Time until disconnect 9 secsCurrent call connected 0:03:03Connected to 81012345678902BRI0: B-Channel 2Idle timer (30 secs), Fast idle timer (20 secs)Wait for carrier (30 secs), Re-enable (15 secs)Current call connected 0:03:04

    Connected to 81012345678902Packet MuxingGroup = 81012345678902 : No. members = 2 : Rec. seq = A : Send seq = AGroup = 81012345678902 : lost packets = 0 : Out of order = 3Group = 81012345678902 : Unassigned = 0 : First link = BRI0: B-Channel 1

    Monitoring Multilink PPP

  • 7/30/2019 12 Config Isdnbri 15

    39/40

    Configuring ISDNCopyright 1998, Cisco Systems, Inc.

    One signaling channel and multiple data channels

    ISDN has two operational modes:

    BRI on the Cisco 1000, 2500, 3000, and 4000 series

    PRI on the Cisco 7000 and 4000 series

    You may need an external TA; you will need an externalNT1 or DSU/CSU

    Set parameter values for attaching as specified for theISDN-provider switch

    Use standard DDR commands for making an ISDN call Caller ID screening provides security

    Multilink PPP provides load balancing

    Summary

  • 7/30/2019 12 Config Isdnbri 15

    40/40

    Lab: L14

    ISDN Basic RateInterface

    Implementation