|
|
This chapter describes the commands used to configure Integrated Services Digital Network (ISDN) calling, such as on-demand dialing and security.
To make a manual ISDN call on a specified link to a specified telephone number, use the call command.
CAll [object] [number]| object | Can consist of a link or a channel. |
| number | The telephone number of the remote ISDN device. If no telephone number is entered, the router calls the number configured in the current profile with the set number command. If no number is entered and the current profile has not been configured with a number, this command has no effect. |
None
System or profile mode
The object parameter can take one of three forms described below:
A logical data stream that connects the unit to the remote device. A connection can have multiple links associated with it. The syntax format for connection is as follows:
C#
A logical 64/56 kbps data path assigned to users, numbered sequentially beginning with one. The unit is limited to two links. The two syntax formats for link are as follows:
L# or #
The # parameter can be either 1 or 2.
The three syntax formats for a connection and an associated link are as follows:
C#/L# or C#/# or #/#
Channels provide a physical data path over the WAN. Channels are one or more time slots kept in sequence through the WAN that do not require any kind of inverse multiplexing. The unit can support 64K channels or (in INS release only) 128K channels. The syntax format for a channel is as follows:
CH#
The # parameter can be 1 or 2.
If no link number is specified, the call is placed on both links. If no destination telephone number is specified, the unit uses the number configured for the current profile.
The following example makes a manual call on the second link to 408 555-1212 while in profile mode for profile 2503:
Host:2503> call 2 4085551212
set button
set number
To specify when an on-demand ISDN call will be made, use the demand command.
DEmand [link] [THreshold = kbps] [DUration= seconds] [SOurce =WAN | LAn | BOth]| link | Specifies the link with which all the following parameters are associated. |
| threshold | Minimum data rate (in kbps) that must exist on the channel before the call will be made. The range is 0 to 128.1
Inband negotiation traffic (traffic that terminates at the router) is not taken into account for the threshold level. |
| duration | Length of time (in seconds) that the traffic is to be above the data threshold before the call is made. The range is 1 to 255. |
| source | Source of traffic that is counted. |
| wan | Traffic received from the ISDN line. |
| lan | Traffic received from the LAN. |
| both | The value of LAN or the ISDN traffic, whichever is higher. |
Channel 1--threshold 0 duration 1 source lan
Channel 2--threshold 48 duration 1 source both
System or profile mode
On-demand dialing must be enabled with the set auto command.
The following example determines when on-demand dialing will take place for profile 2503's connection:
Host:2503> demand 1 threshold 10 duration 2 source lan
This specifies link 1 will dial if 10 kbps is exceeded continuously for two seconds.
set auto
set delay
set ppp callback
set ppp negotiation retry
set ppp negotiation count
set ppp bacp
set ringback
set timeout
timeout
show negotiation
To manually terminate an ISDN call, use the disconnect command.
DIsconnect [object | ALl]| object | ISDN B channel or link. Can be 1 or 2. If no channel or link is entered, any connected calls are terminated. |
| All | Disconnects all calls. |
None
Profile mode
The object parameter can take one of three forms described below:
A logical data stream that connects the unit to the remote device. A connection can have multiple links associated with it. The syntax format for a connection is as follows:
C#
A logical 64/56 kbps data path assigned to users, numbered sequentially beginning with one. The unit is limited to two links. The two syntax formats for link are as follows:
L# or #
The # parameter can be either 1 or 2.
The three syntax formats for a connection and an associated link are as follows:
C#/L# or C#/# or #/#
Channels provide a physical data path over the WAN. Channels are one or more time slots kept in sequence through the WAN that do not require any kind of inverse multiplexing. The unit can support 64K channels or (in INS release only) 128K channels. The syntax format for a channel is as follows:
CH#
The # parameter can be 1 or 2.
The router may automatically reconnect the call after using the disconnect command. This can occur if on-demand dialing is enabled and a telephone number has been entered with the set number command. If the router receives enough packets to meet the demand threshold parameters, a new call is made.
The following example disconnects a call on the first link:
Host> disconnect 1
The following example disconnects any calls on both links of the current connection:
Host> disconnect
set number
To reassign a released service profile identifier (SPID) to the router, use the establish command.
EStablish [spid id]| spid id | Specify the number of the SPID you are establishing (1 or 2) as set by the set spid command. |
None
System mode
This command is applicable only in the United States. It reassigns one of the SPIDs after it has been released to a device other than the router. For example, if you have two SPIDs and the router is using both of them for data. One of the SPIDs has to be released if an ISDN phone is to be used.
The following example reassigns the SPID ID2 to the router following a release:
establish 2
The following is a typical sequence of events:
release
To release the Layer 2 link and Terminal Identifier (TEI) Unassigned associated with a SPID, use the release command.
RElease [spid id]| spid id | Specify the number of the SPID you are releasing (1 or 2) as set by the set spid command. |
None
System mode
This command is used to release a SPID being used by the router, so that it can be used by another device on the same ISDN line (SBus). Use this command when your ISDN line only supports two SPIDs and one B channel per SPID (DMS-100). When released, the SPID still resides in memory, so you do not have to reenter the SPID. To reassign the SPID back to the router, use the establish command.
The following example releases the Channel 1 SPID from the router so that it can be used by another device on the same ISDN line:
Host> release 1
establish
To delete one or all of the directory numbers, use the reset directory number command.
REset DIrectorynumber ALl | number [.subaddress]None
System mode
To delete a directory number entered with the set directory number command:
Host>reset di allor Host>reset di 14085559020
set directory number
set phone
To disassociate a directory number that has been associated with an interface, use the reset phone command.
REset PHONE1 | PHONE2 | DOVNone
System mode
This command applies only to routers with analog telephone support.
To disassociate a directory number that has been entered with the set phone command:
Host> reset phone1
set phone
To extend the connection (after the idle time out has expired) based on the frequency of the Advise of Charge During Call (AOC-D), use the set aoctimeout command. The feature is also known as the fee pulse mode.
SEt AOctimeout ON [seconds] | OFf| on | Enables the action time. |
| seconds | The seconds required to terminate the logical connection. Recommend using the default value. This parameter has a range of 1 to 120 seconds. The default value is 4 seconds. |
| off | Disables the action time. |
None
Profile mode
The aoctimeout command can only be used in conjunction with the set timeout command. Before using this command, configure the set timeout command parameters, threshold kbps and duration seconds.
The following example enables the use of AOC-D supplemental service:
Host: set aoctimeout on
set timeout
To set voice encoding, use the set alawvoice command.
SEt ALawvoice ON | OFf| on | Voice encoding is set to A-law. |
| off | Voice encoding is set to µ-law (Mu-law). |
On
System mode
For the NET3 switch type, the set alawvoice command changes the voice encoding to µ-law (Mu-law) for countries such as Taiwan. Most countries that use the NET3 switch type use A-law voice encoding. This command is needed for countries (such as Taiwan) that require µ-law.
The following example sets voice encoding to A-law:
Host> set alawvoice on
To enable or disable on-demand dialing, use the set auto command.
SEt [link] AUto ON | OFflink | Link on which on-demand dialing is enabled or disabled. Can be set to 1 or 2. If no Link is specified, on-demand dialing will be enabled or disabled on both links. |
|---|---|
| on | Enables on-demand dialing. |
| off | Disables on-demand dialing. |
channel 1--enabled (on)
channel 2--enabled (on)
Profile mode
The following example disables on-demand dialing for the second channel:
Host> set 2 auto off
demand
set ppp callback
set ppp negotiation retry
set ppp negotiation count
set ppp bacp
set ringback
set timeout
show negotiation
To enable or disable automatic service profile identifiers (SPID) detection, use the set autodetection command.
SEt AUTODetection ON | OFfOff
System mode
The auto-SPID and auto-switch detection features simplify the use of ISDN terminal equipment, because there are fewer parameters to enter. Before the feature is enabled, the user only enters the local directory numbers and area code. No SPID number or switch type is required. This reduces the possibility of mistakes made by the user or the carrier. It also allows less sophisticated users to operate ISDN equipment.
During the detection process, the control software tries to register SPIDs with the switch based on the local directory numbers and area code. After a successful registration, the control software stores the detected SPIDs and switch type in NVRAM, as if they were entered by the user.
If auto detection fails to register SPIDs with the ISDN switch, the system prompts the user with an error message. The user will be required to manually enter SPID number(s) and switch type.
The auto detection feature only applies to USA and Canada ISDN switches which are most likely a 5ESS Custom, DMS100 Custom, NI-1, or NI-2 switch. The auto detection mechanism might not work with any other switch, such as Siemens switch.
The user can enter up to six directory numbers in software Release 4.0(1) and higher, three for each interface. Including the area code helps the auto detection software speed up the registration process.
The following limitations are inherit in SPID autodetection.
The following example disables on-demand dialing for the second channel:
Host>set 1 directorynumber4085551234 Host>set 2 directorynumber4085552345 Host>set autodetection on
set directory number
set spid
set switch
To set a backup number, use the set backupnumber command.
SEt [link] BackupNUmber = [subaddress]link | A logical 64/56 kbps data path assigned to users, numbered sequentially beginning with one. The unit is limited to two links. |
|---|---|
| backupnumber | A 1 to 20 digit telephone number of a device. |
| .subaddress | Subaddress of a device on a multipoint ISDN line. Can consist of 1 to 10 digits. |
Profile mode
Cisco 700 series routers can place a call to a backup telephone number when an outgoing call is made. The call might not successful because the receiving side is busy or does not answer. Cisco 700 series routers support second number fail-over for manual and auto data calls. Both the called number and the backup numbers must be configured.
The following example sets up a backup number:
Host> set backupnumber 18885551212
set number
To make and disconnect data calls, use the set button command.
SEt BUtton STandard | username | OFf| standard | Used if no selection was made (the Standard profile telephone number is used). If you make more than one choice, the last one will be effective. |
| off | To disable the button, set it to OFF. |
System mode
This command applies only to Cisco 770 series routers and associates a profile with the ISDN make and break button. To use this command, choose an existing profile. The status of the button is displayed in the output of the show config command issued in system mode.
Table 5-1 summarizes the B-channel connection status and the button operation.
| Current Status | Button Operation |
|---|---|
No calls up | Make a data call |
1 Data call only | Disconnect data call |
2 Data calls | Disconnect both data calls |
1 Voice call only | Make a data call |
| 2 Voice calls | No action |
| 1 Data call and 1 Voice call | Disconnect data call |
Host> set button standard
call
To disable or enable the call waiting feature, use the set callwaiting command.
SEt CALLWaiting [INterface=PHONE1 | PHONE2] ON | OFF| PHONE1 | PHONE2 | Sets the call waiting feature for each specified telephone interface. |
| on | Enables the call waiting feature. |
| off | Disables the call waiting feature. |
Enabled
System mode
This command applies only to routers with analog telephone support. If a fax machine or modem is connected to the analog telephone interface PHONE2, disable call waiting for PHONE2.
The following example disables the call waiting interface on PHONE2:
Host> set callwaiting IN=PHONE2 OFF
To change the call conference feature access code, use the set conference command.
SEt CONference = access code
| access code | Call used by the service provider to activate the call conference feature. |
8
System mode
This command applies to NI1 and DMS switches only.
The following example changes the code used by the service provider to activate the call:
Host> set conference = 66
To set the ring cadence duration for the analog telephone equipment for a specific country group, use the set countrygroup command.
SEt COUntryGroup group number| group number | Set a ring cadence for the analog telephone equipment that pertains to a specific country. |
1 (North American countries)
System mode
This command only applies to routers with analog telephone support. Ring cadences for the analog telephone equipment differs for each country. This command allows you to choose the appropriate ring cadence.
Table 5-2 lists each country group, associated group number and the associated ring cadences.
| Country Group | Group Number | Ring Cadence |
|---|---|---|
| USA, Canada | 1 | 2 - 41 |
| Australia, Ireland, Singapore, United Kingdom | 2 | 0.4 - 0.2 - 0.4 - 2 |
| Austria, Portugal, Sweden | 3 | 1 - 5 |
| Belgium | 4 | 1 - 3 |
| Denmark, Finland, Germany, Greece, Italy, Luxembourg, Mexico, Netherlands, Norway, Switzerland | 5 | 1 - 4 |
| Finland, Sweden | 6 | 1 - 9 |
| France | 7 | 1.5 - 3.5 |
| Hong Kong | 8 | 0.4 - 0.2 - 0,4 - 3 |
| Japan, Korea | 9 | 1 - 2 |
| Spain | 10 | 1.5 - 3 |
The following example sets the current country group value to 1. The appropriate ring cadence takes effect immediately:
Host> set countrygroup 1
To set the time between unsuccessful demand call attempts, use the set delay command.
SEt [link] DElay secondsSystem mode
The delay time applies to all ISDN demand call attempts.
If the routers at both ends of an ISDN connection are configured with on-demand dialing enabled and the same delay time, unsuccessful calls can lead to a nonterminating error condition. This occurs when each router repeatedly tries to call the other at exactly the same delay time. Neither call will be successful and both routers will repeat the call attempt at the same delay interval.
The following example sets the first channel to retry demand calls every 15 seconds:
Host> set 1 delay 15
set backup number
To enter the router's directory number, use the set directory number command.
SEt [spid id] DIrectorynumber = number [.subaddress]No directory number is configured.
System mode
To delete a directory number, use the reset directory number command.
The following example sets directory numbers for both SPID 1 and SPID 2:
Host>set 1 directory6592651 Host>set 2 directory6592652
reset directory number
To select the tone provided by the switch or the tone generated by the unit locally, use the set internaltones command.
SEt INTernaltones None | DIaltone | All| None | All tones are provided by the switch. |
| Dialtone | Dialtone is generated locally. All the other tones are provided by the switch. |
| All | All the tones are provided locally. |
None
System mode
This command applies only to (Europe ISDN) Net3 and 1TR6 switches.
Host> set internaltones none
To enable multidestination dialing, use the set multidestination command.
SEt MUltidestination ON | OFfOff (disabled)
System mode
When setting multidestination, make sure you are not creating a bridging loop.
The following example enables multidestination dialing:
Host> set multidestination on
To enter the ISDN telephone number that each link calls, use the set number command.
SEt [link] NUmber = [number .subaddress]No ISDN telephone numbers configured.
Profile mode
To delete a number entered with the set number command, enter the command without the telephone number.
The following example sets a telephone number that is automatically dialed for profile 2503:
Host:2503> set 1 number 14085551234
The following example deletes the dialed number for profile 2503:
Host:2503> set 1 number
set auto
set plan
To select the interface to which the voice calls are routed, use the set phone command.
SEt PHONE1 | PHONE2 | DOV number [.subaddress][ring1 | ring2 | ring3]PHONE1
System mode
The Distinctive Ringing feature provides up to three distinctive ring cadences that can be assigned to directory numbers.
Ring Type 1 | 2 seconds on, 4 seconds off |
|---|---|
| Ring Type 2 | 0.8 seconds on, 0.4 seconds off, 0.8 seconds on, 4 seconds off |
| Ring Type 3 | 0.4 seconds on, 0.2 seconds off, 0.4 seconds on, 0.2 seconds off, 0.8 seconds on, 4 seconds off |
The following example sets the telephone interface, directory number, and ring cadence:
Host>set phone16592651ring1
reset phone
To set the numbering plan for outgoing calls, use the set plan command.
SEt PLan NOrmal | INternational | NAtional | SUbscriber | UNknown ISDN | ABbreviated | CEntrex| NEtworkNormal
Profile mode
The numbering plan is the type of telephone numbering plan the router uses when making calls. Numbering plans are predefined settings that configure calls so that they conform to telephone system requirements.
The following example sets the router to use the international numbering plan when making calls:
Host> set plan international
To set the router's ringback number, use the set ringback command.
SEt [link] RIngback [number [.subaddress]]No ringback number is configured.
Profile level
The ringback number is the number string used by the remote router to make a callback to your router. If a remote router is calling in from a different area code, requires a different access codes or a country code, it might be necessary to specify that ringback number in each profile. For example, the ringback number for a remote router in the same area code might be 555-1234 while the ringback number for a remote router outside the area code might be 1408555-1234, and the ringback number for a remote router on a PBX might be 95551234.
If BACP or BAP is used, the ringback number has another function; to make a second-channel call, the router uses a combination of the number it used to make the first-channel call, and the remote router's second-channel ringback number.
For example, the Cisco router calls 555-1234 to reach the first channel of the remote router. If the second channel telephone number is 555-5678, set the remote router's second-channel ringback number to 5678. The Cisco router uses the prefix of the first number it called (555) plus the second channel's ringback number (5678) to make the second call.
The following example sets the number that a remote router uses when making a callback to the Cisco router on the first ISDN B channel:
Host> set 1 ringback 14155551234
demand
set auto
set ppp callback
set ppp negotiation retry
set ppp negotiation count
set ppp bacp
set timeout
show negotiation
To set the speed of data calls, use the set speed command.
SEt SPeed 56 | 64 | AUto | VOiceAuto
Profile mode
The voice keyword should be used only with ISDN switch types 5ESS, DMS or NI-1.
The following example sets the speed for data calls to 64 kbps for profile 2503:
Host:2503> set speed 64
To enter a service profile identifier (SPID), use the set spid command.
SEt [spid id] SPId [SPID number]No SPIDs are configured.
System mode
To delete a previously entered SPID, use the set spid command without the SPID number argument.
The following example sets two SPIDs for the line:
Host>set 1 spid0408555123401 Host>set 2 spid0405555123402
The following example deletes the first SPID:
Host> set 1 spid
release
establish
show configuration
To configure the central office switch, use the set switch command.
SEt SWitch 5Ess | DMS | NI-1 | INS | VN3 | NET3 | 1TR6 | TPH | PERM64 | PERM128 |The switch type depends on which image of the Cisco 700 software is loaded. For example, if your image is c760-in.b-US.41-1, the default is 5ESS.
System mode
Not all switch settings are available to all users. The switch type available depends on the type of software loaded into the unit.
The following example configures the ISDN switch type as DMS:
Host> set switch dms
To configure the amount of time the ISDN line remains idle before disconnecting, use the set timeout command. This command sets the same parameter as the timeout duration command.
SEt [link] TIMEout [seconds | OFf]| link | The ISDN link to which the timeout parameters apply. |
| seconds | Time (in seconds) that the ISDN line will remain idle before disconnecting. Can be between 1 and 32767 seconds. |
| off | The ISDN line will not disconnect automatically. |
Off
Profile mode
The following example configures both ISDN B channels to disconnect after five minutes for profile 2503:
Host:2503>set 1 timeout300 Host:2503> set 2 timeout300
demand
set aoctimeout
set auto
set ppp callback
set ppp negotiation retry
set ppp negotiation count
set ppp bacp
set ringback
timeout
show negotiation
To change the call conference feature access code, use the set transfer command.
SEt TRansfer = access code
| access code | Call used by the service provider to activate the call transfer feature. |
9
System mode
This command applies to NI1 and DMS switches only.
The following example changes the code used by the service provider to activate the call:
Host> set transfer = 67
The set voicepriority command sets the voice priority mode. It determines if the system will disconnect a B channel assigned to a data call to allow a voice call.
SEt VOicepriority [INcoming | OUtgoing] [INterface=PHONE1Always
System mode
Voice priority can be set in a variety of ways. Table 5-3 lists the settings and the modes for inbound calls.
Table 5-4 lists the settings and the modes for outbound calls.
| Outbound Calls | |||
|---|---|---|---|
| Mode | 2 data calls to destination A | 1 data call to destination A and 1 data call to destination B | 1 data call to destination A, but the telephone's channel is the one in use |
| Always | Bump 1 data call when the telephone goes off-hook | Bump 1 data call when the telephone goes off-hook | Bump the existing dataphone when the call goes off-hook |
| Conditional | Bump 1 data call when the telephone goes off-hook | No bump; ring busy | No bump; ring busy |
| Never | No bump; ring busy | No bump; ring busy | No bump; ring busy |
The following example configures voicepriority for incoming calls on both telephone interfaces to conditional mode:
Host>set voicepriority conditional
To display the current status of the ISDN line and both B channels, use the show status command.
SHow STatusThis command contains no keywords or arguments.
System or profile mode
The following example shows output from the show status command:
Host> show status Status Line Status Line Activated Terminal Identifier Assigned Port Status Interface Connection Link Ch:1 56K Call In Progress Data 7 1 Ch:2 64K Call In Progress Phone1
To display the current settings of voice call routing, use the show voicerouting command.
SHow VOiceroutingThis command contains no keywords or arguments.
System mode
The following example shows the output from the show voicerouting command:
Host> show voicerouting Interface VoicePriority VoicePriority Call Directory Ring In Out Waiting Number Cadence PHONE1 AlWAYS CONDITIONAL ON 6592651 1 6592655 2 6592667 3 PHONE2 ALWAYS CONDITIONAL OFF 6592661 1 6592663 2 6592665 3 DOV N/A N/A N/A UNSPECIFIED N/A N/A N/ATo configure the parameters that specify when the ISDN line will be disconnected, use the timeout command. This is an expanded version of the set timeout command, which only allows you to specify duration.
TImeout link [THreshold= kbps] [DUration= seconds] [SOurce= WAn | LAn | BOth] Channel 1--threshold 0, duration off, source lan
Channel 2--threshold 48, duration off, source both
Profile mode
If the set timeout command is configured to off, this command does not apply.
The following example configures the router to disconnect the second channel if the data rate from either the LAN or the ISDN line falls below 64 kbps for 60 seconds:
Host:2503> timeout 2 threshold 48 duration 60 source both
set timeout
|
|