Configuring ISDN BRI
Configuring ISDN BRI
Configuring ISDN BRI
This chapter describes tasks that are required to use an ISDN BRI line. It provides an overview of the
ISDN technologies currently available and describes features that you can configure in an ISDN BRI
circuit-switched internetworking environment. This information is included in the following main
sections:
ISDN Overview
How to Configure ISDN BRI
Monitoring and Maintaining ISDN Interfaces
Troubleshooting ISDN Interfaces
Configuration Examples for ISDN BRI
This chapter describes configuration of the ISDN BRI. See the chapter Configuring ISDN PRI for
information about configuring the ISDN PRI.
This chapter does not address routing issues, dialer configuration, and dial backup. For information
about those topics, see the chapters in the Dial-on-Demand Routing Configuration part of this
publication.
For hardware technical descriptions and for information about installing the router interfaces, refer to
the appropriate hardware installation and maintenance publication for your particular product.
To identify the hardware platform or software image information associated with a feature, use the
Feature Navigator on Cisco.com to search for information about the feature or refer to the software
release notes for a specific release. For more information, see the Identifying Supported Platforms
section in the Using Cisco IOS Software chapter.
For a complete description of the BRI commands in this chapter, refer to the Cisco IOS Dial
Technologies Command Reference. To locate documentation of other commands that appear in this
chapter, use the command reference master index or search online.
ISDN Overview
Basic ISDN service is described in the section ISDN Service in the chapter Overview of Dial
Interfaces, Controllers, and Lines. To summarize, Cisco IOS software supports both the ISDN BRI and
the ISDN PRI.
ISDN BRI provides two bearer (B) channels, each capable of transferring voice or data at 64 kbps, and
one 16 kbps data (D) signaling channel, which is used by the telephone network to carry instructions
about how to handle each of the B channels. ISDN BRI (also referred to as 2 B + D) provides a maximum
transmission speed of 128 kbps, but many users use only half the available bandwidth.
Figure 9 in the chapter Overview of Dial Interfaces, Controllers, and Lines illustrates the channel
assignment for each ISDN type.
Requesting BRI Line and Switch Configuration from a Telco Service Provider
Before configuring ISDN BRI on your Cisco router, you must order a correctly configured ISDN line
from your telecommunications service provider. This process varies from provider to provider on a
national and international basis. However, some general guidelines follow:
Ask for two channels to be called by one number.
Ask for delivery of calling line identification. Providers sometimes call this CLI or automatic
number identification (ANI).
If the router will be the only device attached to the BRI, ask for point-to-point service and a
data-only line.
If the router will be attached to an ISDN bus (to which other ISDN devices might be attached), ask
for point-to-multipoint service (subaddressing is required) and a voice-and-data line.
When you order ISDN service for switches used in North America, request the BRI switch configuration
attributes specified in Table 19.
Table 19 North American ISDN BRI Switch Type Configuration Information (continued)
Interface Configuration
The Cisco IOS software also provides custom features for configuring the ISDN BRI interface that
provide such capability as call screening, called party number verification, ISDN default cause code
override, and for European and Australian customers, Dialed Number Identification Service
(DNIS)-plus-ISDN-subaddress binding to allow multiple binds between a dialer profile and an ISDN B
channel.
E1-PRI
BRI 30 X.25 X.25
2B ISDN B channels Host
X.25
22344
X.25
TA
BRI BRI
2B 2B
To place calls on an ISDN interface, you must configure it with dial-on-demand routing (DDR). For
configuration information about ISDN using DDR, see the Dial-on-Demand Routing Configuration
part of this publication. For command information, refer to the Cisco IOS Dial Technologies Command
Reference.
To configure bandwidth on demand, see the chapters Configuring Legacy DDR Spokes or
Configuring Legacy DDR Hubs later in this publication.
For a complete list of ISDN cause codes that are generated by the switch, refer to Appendix B: ISDN
Switch Types, Codes and Values in the Cisco IOS Debug Command Reference.
Although the VoIP gateway generates the cause codes listed in Table 20 by default, there are commands
introduced in previous Cisco IOS releases that can override these defaults, allowing the gateway to send
different cause codes to the switch. The following commands override the default cause codes:
isdn disconnect-causeSends the specified cause code to the switch when a call is disconnected.
isdn network-failure-causeSends the specified cause code to the switch when a call fails because
of internal network failures.
isdn voice-call-failureSends the specified cause code to the switch when an inbound voice call
fails with no specific cause code.
When you implement these commands, the configured cause codes are sent to the switch; otherwise, the
default cause codes of the voice application are sent. For a complete description of these commands,
refer to the Cisco IOS Dial Technologies Command Reference.
Command Purpose
Router(config)# isdn switch-type switch-type Selects the service provider switch type; see Table 19 for switch
types.
The section Global ISDN and BRI Interface Switch Type Example later in this chapter provides an
example of configuring the ISDN BRI switch.
Table 21 lists the ISDN BRI service provider switch types.
Central Office
(CO) Switch
Switch Type Keywords Description/Use Type?
Voice/PBX Systems
basic-qsig PINX (PBX) switch with QSIG signaling per Q.931
Australia, Europe, and UK
basic-1tr6 German 1TR6 ISDN switch Yes
basic-net3 NET3 ISDN BRI for Norway NET3, Australia NET3, Yes
and New Zealand NET3 switches; covers
ETSI-compliant Euro-ISDN E-DSS1 signaling system
vn3 French VN3 ISDN BRI switch Yes
Japan
ntt Japanese NTT ISDN BRI switch
North America
basic-5ess Lucent (AT&T) basic rate 5ESS switch Yes
basic-dms100 Nortel basic rate DMS-100 switch Yes
basic-ni National ISDN switch Yes
All Users
none No switch defined
Note The command parser will still accept the following switch type keywords: basic-nwnet3, vn2, and
basic-net3; however, when viewing the NVRAM configuration, the basic-net3 or vn3 switch type
keywords are displayed respectively.
Command Purpose
Router# show interfaces bri number Displays the MTU size.
Router# show buffers Displays the free buffers.
To configure the buffers and the MTU size, use the following commands in global configuration mode
as needed:
Command Purpose
Router(config)# buffers big permanent number Configures the buffers.
Router(config)# buffers big max-free number
Router(config)# buffers big min-free number
Router(config)# buffers big initial number
Command Purpose
Step 1 Router(config)# interface bri number Specifies the interface and begins interface
configuration mode.
Cisco 7200 series router only
Router(config)# interface bri slot/port
Step 2 Router(config-if)# ip address address mask Specifies an IP address for the interface.
Command Purpose
Router(config-if)# isdn spid1 spid-number [ldn] Specifies a SPID and local directory number for the B1
channel.
Router(config-if)# isdn spid2 spid-number [ldn] Specifies a SPID and local directory number for the B2
channel.
The LDN is optional but might be necessary if the router is to answer calls made to the second directory
number.
Command Purpose
Router(config-if)# encapsulation [ppp | lapb | frame-relay] Configures encapsulation type.
To verify dialer interfaces configured for binding and see statistics on each physical interface bound to
the dialer interface, use the show interfaces EXEC command.
The following example shows that the output under the B channel keeps all hardware counts that are not
displayed under any logical or virtual access interface. The line in the report that states Interface is
bound to Dialer0 (Encapsulation LAPB) indicates that this B interface is bound to the dialer 0 interface
and the encapsulation running over this connection is LAPB, not PPP, which is the encapsulation
configured on the D interface and inherited by the B channel.
Router# show interfaces bri0:1
Any protocol configuration and states should be displayed from the dialer 0 interface.
The router might need to communicate with devices that require a different encapsulation protocol or
the router might send traffic over a Frame Relay or X.25 network. The Dynamic Multiple Encapsulations
feature provides bidirectional support of all serial encapsulations except Frame Relay.
For more information, see the sections Sending Traffic over Frame Relay, X.25, or LAPB Networks
in the chapters Configuring Legacy DDR Spokes and Configuring Legacy DDR Hubs later in this
publication.
To configure the router for automatic detection of encapsulation type on incoming calls, or to configure
encapsulation for Cisco 700 and 800 series (formerly Combinet) router compatibility, see the section
Configuring Automatic Detection of Encapsulation Type in the chapter Configuring ISDN Special
Signaling later in this publication.
Command Purpose
Step 1 Router(config-if)# dialer map protocol (Most locations) Configures a serial interface or ISDN
next-hop-address name hostname speed [56 | 64] interface to call one or multiple sites or to receive calls
dial-string[:isdn-subaddress]
from multiple sites.
or
Router(config-if)# dialer map protocol
(Germany) Uses the command keyword that enables
next-hop-address name hostname spc [speed 56 | ISDN semipermanent connections.
64] [broadcast] dial-string[:isdn-subaddress]
Step 2 Router(config-if)# dialer-group group-number Assigns the interface to a dialer group to control access
to the interface.
Step 3 Router(config-if)# exit Exits to global configuration mode.
Step 4 Router(config)# dialer-list dialer-group Defines a dial-on-demand routing (DDR) dialer list for
protocol protocol-name {permit | deny | list dialing by protocol or by a combination of a protocol
access-list-number | access-group}
and an access list.
Step 5 Router(config)# access-list access-list-number Defines an access list permitting or denying access to
{deny | permit} protocol source address specified protocols, sources, or destinations. Permitted
source-mask destination destination-mask
packets cause the router to place a call to the destination
protocol address.
German networks allow semipermanent connections between customer routers with BRIs and the 1TR6
basic rate switches in the exchange. Semipermanent connections are less expensive than leased lines.
Note The access list reference in Step 5 of this task is an example of the access-list commands allowed by
different protocols. Some protocols might require a different command form or might require
multiple commands. Refer to the relevant protocol chapter in the network protocol configuration
guide (the Cisco IOS Novell IPX Configuration Guide, for example) for more information about
setting up access lists for a protocol.
For more information about defining outgoing call numbers, see the chapters Configuring Legacy DDR
Hubs and Configuring Legacy DDR Spokes later in this publication.
Command Purpose
Router(config-if)# isdn tei [first-call | Determines when ISDN TEI negotiation occurs.
powerup]
Command Purpose
Router(config-if)# isdn caller number Configures caller ID screening.
Note If caller ID screening is configured and the local switch does not deliver caller IDs, the router rejects
all calls.
Note In earlier releases of the Cisco IOS software, ISDN accepted all synchronous calls and performed
some minimal CLI screening before accepting or rejecting a call. Beginning with Cisco IOS Release
12.1 software, DDR provides a separate process that screens for the profile of the caller. The new
screening process also checks that enough resources are available to accept the call and that the call
conforms to predetermined rules. When the call is found acceptable, the screening process searches
for a matching profile for the caller. The call is accepted only when there is a matching profile.
You can specify that the router verify a called-party number or subaddress number in the incoming setup
message for ISDN BRI calls, if the number is delivered by the switch. You can do so by configuring the
number that is allowed. To configure verification, use the following command in interface configuration
mode:
Command Purpose
Router(config-if)# isdn answer1 Specifies that the router verify a called-party number or
[called-party-number][:subaddress] subaddress number in the incoming setup message.
Verifying the called-party number ensures that only the desired router responds to an incoming call. If
you want to allow an additional number for the router, you can configure it, too.
To configure a second number to be allowed, use the following command in interface configuration
mode:
Command Purpose
Router(config-if)# isdn answer2 Specifies that the router verify a second called-party number or
[called-party-number][:subaddress] subaddress number in the incoming setup message.
Command Purpose
Router(config-if)# isdn calling-number Specifies the calling party number.
calling-number
This command can be used with all switch types except German 1TR6 ISDN BRI switches.
Configuring the Line Speed for Calls Not ISDN End to End
When calls are made at 56 kbps but delivered by the ISDN network at 64 kbps, the incoming data can
be corrupted. However, on ISDN calls, if the receiving side is informed that the call is not an ISDN call
from end to end, it can set the line speed for the incoming call.
To set the speed for incoming calls recognized as not ISDN end to end, use the following command in
interface configuration mode:
Command Purpose
Router(config-if)# isdn not-end-to-end {56 | 64} Sets the speed to be used for incoming calls recognized as not
ISDN end to end.
Command Purpose
Router(config-if)# isdn fast-rollover-delay Defines a fast rollover delay.
seconds
A delay of 5 seconds should cover most cases. Configure sufficient delay to make sure the ISDN
RELEASE_COMPLETE message has been sent or received before making the fast rollover call. Use the
debug isdn q931 command to display this information. This pattern of failed second calls is a rare
occurrence.
Command Purpose
Router(config-if)# isdn disconnect-cause Specifies the ISDN cause code to send to the switch.
{cause-code-number | busy | not-available}
The following example sends a BUSY cause code to the switch when an application fails to complete
the call:
interface serial 0:23
isdn disconnect-cause busy
To verify that the ISDN Cause Code Override feature is operating correctly, enter the debug q931
command. The debug q931 command displays a report of any configuration irregularities.
Command Purpose
Router(config-if)# isdn sending-complete Includes the Sending Complete information element in the
outgoing call Setup message.
Command Purpose
Router(config)# dialer called DNIS:subaddress Binds a DNIS to an ISDN subaddress.
Note This command allows multiple binds between a dialer profile and an ISDN B channel. The
configuration requires an ISDN subaddress, which is used in Europe and Australia.
See the section DNIS-plus-ISDN-Subaddress Binding Example later in this chapter for a configuration
example.
Command Purpose
Router(config-if)# isdn v110 only [databits {5 | 7 Selectively accepts incoming V.110 calls based on data bit,
| 8}] [parity {even | mark | none | odd | space}] parity, and stop bit modem communication settings.
[stopbits {1 | 1.5 | 2}]
Command Purpose
Router(config-if)# no isdn v110 padding Disables the padded modem speed report required by the V.110
modem standard.
Step 1 Set up the ISDN lines and ports as described in the sections Configuring the ISDN BRI Switchand
Specifying Interface Characteristics for an ISDN BRI or for ISDN PRI, see the section How to
Configure ISDN PRI in the chapter Configuring ISDN PRI later in this manual.
Step 2 Configure DDR on a selected interface, as described in the Dial-on-Demand Routing Configuration
part of this publication.
To begin DDR network addressing, use the following command in interface configuration mode
:
Command Purpose
Router(config-if)# dialer map protocol Defines the remote recipients protocol address, host name, and
next-hop-address name hostname spc [speed 56 | dialing string; indicates semipermanent connections; optionally,
64] [broadcast] dial-string[:isdn-subaddress]
provides the ISDN subaddress; and sets the dialer speed to 56 or
64 kbps, as needed.
Note Once an ISDN BRI interface is configured for access over leased lines, it is no longer a dialer
interface, and signaling over the D channel no longer applies. Although the interface is called
interface bri n, it is configured as a synchronous serial interface having the default High-Level Data
Link (HDLC) encapsulation. However, the Cisco IOS commands that set the physical characteristics
of a serial interface (such as the pulse time) do not apply to this interface.
Command Purpose
Step 1 Router(config)# isdn switch-type Configures the BRI switch type, as specified by the local service
switch-type provider.
Step 2 Router(config)# isdn leased-line bri Specifies the BRI interface number.
number 128
To disable leased-line service if you no longer want to support it on a specified ISDN BRI, use the
following command in global configuration mode:
Command Purpose
Router(config)# no isdn leased-line bri number Removes leased line configuration from a specified ISDN BRI
interface.
Note This feature is not supported on the Cisco 2500 series router because its BRI hardware does not
support channel aggregation.
To enable leased-line service at 128 kbps on a specified ISDN BRI, use the following commands in
global configuration mode:
Command Purpose
Step 1 Router(config)# isdn switch-type Selects the service provider switch type.
switch-type
Step 2 Router(config)# isdn leased-line bri Configures a specified BRI for access over leased lines.
number 128
To complete the configuration of the interface, see the chapter Configure a Synchronous Serial Ports
in this publication.
To remove the leased-line service configuration from a specified ISDN BRI, use the following command
in global configuration mode:
Command Purpose
Router(config)# no isdn leased-line bri number Removes leased-line configuration from a specified ISDN
BRI interface.
Command Purpose
Router> show interfaces bri number Displays information about the physical attributes of the
ISDN BRI B and D channels.
Cisco 7200 series routers only
Router> show interfaces bri slot/port
Router> show controllers bri number Displays protocol information about the ISDN B and
D channels.
Cisco 7200 series routers only
Router> show controllers bri slot/port
Router> show isdn {active | history | memory | status Displays information about calls, history, memory, status,
| timers} and Layer 2 and Layer 3 timers.
Router> show dialer interface bri number Obtains general diagnostic information about the specified
interface.
Command Purpose
Router# show controllers bri number Checks Layer 1 (physical layer) of the BRI.
Router# debug q921 Checks Layer 2 (data link layer).
Router# debug isdn events Checks Layer 3 (network layer).
Router# debug q931
Router# debug dialer
Router# show dialer
Refer to the Cisco IOS Debug Command Reference for more information about the debug commands.
encapsulation ppp
dialer map ip 10.1.1.2 name coaster 14195291357
dialer map ip 10.1.1.3 name roaster speed 56 14098759854
ppp authentication chap
ppp multilink
dialer-group 1
interface BRI 1
no ip address
encapsulation ppp
dialer rotary-group 1
interface BRI 2
encapsulation ppp
dialer rotary-group 1
interface BRI 3
no ip address
encapsulation ppp
dialer rotary-group 1
interface BRI 4
encapsulation ppp
dialer rotary-group 1
interface Dialer 0
description Dialer group controlling the BRIs
ip address 10.1.1.1 255.255.255.0
encapsulation ppp
dialer map ip 10.1.1.2 name angus 14802616900
dialer-group 1
ppp authentication chap
Compression Examples
The following example enables predictor compression on BRI 0:
interface BRI0
description Enables predictor compression on BRI 0
ip address 10.1.1.1 255.255.255.0
encapsulation ppp
dialer map ip 10.1.1.2 name bon 14195291357
compress predictor
ppp authentication chap
dialer-group 1
For more configuration examples of voice calls over ISDN, refer to the Cisco IOS Voice, Video, and Fax
Configuration Guide.
For additional configuration examples, see the sections Dynamic Multiple Encapsulations and
Verifying the Dynamic Multiple Encapsulations Feature in the chapter Configuring Peer-to-Peer
DDR with Dialer Profiles in this publication.
The following example configures the BRI 0 interface for PPP encapsulation:
interface bri 0
ip address 10.1.1.2 255.255.255.0
encapsulation ppp
bandwidth 128