Troubleshooting isdn bri layer 1

Содержание

Advanced Reference

If you are an advanced user, use this reference section to isolate ISDN Layer 1 issues.

Note: ISDN Layer 1 is defined in the ITU-T I.430 standard. You should refer to I.430 for detailed information on ISDN Layer 1 states and signals.

For advanced ISDN Layer 1 troubleshooting, issue the show controller bri number command.

For example, consider this Layer 1 status:

Because the Layer 1 state is neither ACTIVE nor DEACTIVATED, you must issue the show controller bri command to proceed further. The show controller bri number displays information about the BRI controller, including activation status for Layer 1.

Note that Layer 1 is PENDING ACTIVATION and L1 State is F6. Use this table to interpret the L1 State.

L1 State Definitions

L1 State L1 State Name L1 State Description
F1 Inactive In this inactive (powered-off) state, the terminal equipment (TE)1 is not transmitting and can not detect the presence of any input signals.
F2 Sensing This state is entered after the TE has been powered on but has not determined the type of signal (if any) that the TE is receiving. When in this state, a TE may go into a low power consumption mode.
F3 Deactivated This is the deactivated state of the physical protocol. Neither the network termination (NT)2 nor the TE is transmitting. When in this state, a TE may go to a low power consumption mode.
F4 Awaiting Signal When the TE wishes to initiate activation, it sends an Activation signal to the NT and awaits a response.
F5 Identifying Input At first receipt of any signal from the NT, the TE stops sending Activation signals and awaits the activation signal or synchronized frame from the NT.
F6 Synchronized When the TE has received an activation signal from the NT, it responds with a synchronized frame and is awaiting a synchronized frame from the NT.
F7 Activated This is the normal active state, with the protocol activated in both directions. Both the NT and the TE are transmitting normal frames. State F7 is the only state where B-channel and D-channel contain operational data.
F8 Lost Framing This is the condition when the TE has lost frame synchronization and is awaiting re-synchronization.

1 Terminal equipment refers to terminating Layer 1 aspects of TE1, TA, and NT-2 functional groups.

2 Network termination refers to network terminating Layer 1 aspects of NT-1 and NT-2 functional groups.

For more information, refer to Integrated Services Digital Network.

Most of the L1 states are temporary, and you can clear them with the clear interface bri number command or with a router reload. If those states persist for extended periods, contact the telco for further troubleshooting. You should also verify the cabling and other hardware, as described in the section.

Note: For more information on the Layer 1 states described in this section, refer to Section 6.2 in the ITU-T I.430 specification.

Features

This table lists the features that are supported on ISDN BRI VICs:

Feature Description
Voice Ports Two ISDN BRI, total of four B channels, therefore four voice calls per VIC.
ISDN Interface ISDN BRI S/T RJ-45
Connections VIC-2BRI-S/T-TE—Provides TE ISDN interface. Connects to the telco central office switch or a PBX that provides NT. You cannot connect ISDN phones or faxes to this VIC (it would require NT implementation). VIC-2BRI-NT/TE—Provides TE or NT. VIC2-2BRI-NT/TE—Provides TE or NT. Connects as network side or user side to PBX or key system as off-premises connections (ISDN voice BRI). Supports patent-pending flexible Layer 2 (L2) and Layer 3 (L3) configurations.
ISDN Switch Types Supports all Cisco IOS Software ISDN BRI switch types.

The VIC2-2BRI-NT/TE cards are new generation VICs that are a hardware refresh of the older cards of the similar functionality, with resolved manufacture component issues. New functionality is also introduced on these BRI cards (which reduces the number of Stock Keeping Units (SKUs) required).

The VIC2-2BRI-NT/TE is supported on NM-HD-1V, NM-HD-2V, and NM-HD-2VE, where as the VIC-2BRI-S/T-TE and VIC-2BRI-NT/TE are currently supported on NM-1V/2V.

Features not Supported

This is a list of the features that are not supported on ISDN BRI VICs:

  • ISDN supplementary services

  • Data calls on the B channels

  • Group 4 fax (ISDN digital fax)

  • Calls on the ISDN D channel

  • When you use the VIC-2BRI-S/T-TE with a NM-1V, you are only able to place two calls. The second BRI port is shut down.

  • When you use the VIC-2BRI-S/T-TE with a NM-2V, you can place four calls. If you have another VIC in the second slot, the second BRI port on the VIC-2BRI-S/T-TE is shut down.

  • The ISDN BRI VICs are only supported for connectivity to another switching system (for example: a PBX or to the PSTN). Connectivity to ISDN BRI phones is not supported.

Platform Support

Platform Cisco 1601(R), Cisco 1602 (R), Cisco 1605-R Cisco 1603, Cisco 1603-R, Cisco 1604, Cisco 1604-R Cisco 1720, 1750, 1760 Cisco 2600, 2600XM Cisco 3620, Cisco 3640 Cisco 3631 Cisco 3660 Cisco 2691, 3725, 3745
Carrier Module Not Required Not Required Not Required on-board NM- 2W NM-1E2W, NM-1E1R2W, NM-2E2W NM-1FE2W, NM-1FE1R2W, NM-2FE2W, NM-2W Not Required NM-1E2W, NM-1E1R2W, NM-2E2W NM-1FE2W, NM-1FE1R2W, NM-2FE2W, NM-2W on-board NM-1FE2W, NM-1FE1R2W, NM-2FE2W, NM-2W
WIC-1B-S/T All Cisco IOS Software releases not supported all Cisco IOS Software releases all Cisco IOS Software releases All Cisco IOS Software Releases 11.2(4)XA, 11.2(5)P, all 11.3, 11.3T, all 12.x all Cisco IOS Software releases All Cisco IOS Software releases All Cisco IOS Software releases
WIC36-1B-S/T not supported not supported not supported not supported 11.x, 12.0, 12.0T, 12.1, 12.1T, 12.2. Not supported in 12.2T. not supported not supported not supported

Структура потока

Структура потока E1

Передаваемые по линии E1 данные организованы в кадры (англ. frame). Формат кадра E1 показан на рисунке, где кадры называются циклами. Использование именно 16 кадров не обязательно, но рекомендовано для некоторых типов сигнализаций.

Формат кадров

Каждый кадр E1 содержит 256 бит, разделённых на 32 временных интервала (тайм-слота, на рисунке — канальные интервалы, КИ) по 8 бит в каждом и содержащих передаваемые данные одного канала. Скорость передачи составляет 8 000 кадров в секунду и, следовательно, для каждого канала данных обеспечивается полоса 64 кбит/с. Число доступных пользователю тайм-слотов составляет от 0 до 31, в зависимости от сигнализации, чаще всего 30 (слот 0 зарезервирован для служебной информации, слот 16 рекомендован, но не обязателен для служебной информации). Соответственно для передачи данных и голоса могут использоваться слоты с 1 по 31.

Чтобы корректно демультиплексировать принимаемые данные, приёмник должен знать, где начинается каждый кадр. Для этого служит специальный синхросигнал (FAS, англ. frame alignment signal). Он представляет собой фиксированную комбинацию из семи битов (0011011), передаваемых в первом временном интервале чётных кадров.

В каждом кадре без FAS (нечётные кадры) нулевой тайм-слот содержит вспомогательную информацию:

  • Бит 1 служит для передачи дискретной информации.
  • Бит 2 всегда имеет значение «1» и используется в алгоритмах выравнивания кадров.
  • Бит 3, RAI (англ. remote alarm indication), используется для индикации удалённой тревоги и сообщает на другой конец канала, что в локальном оборудовании потеряна синхронизация или отсутствует входной сигнал.
  • Остальные биты, обозначаемые Sa4 — Sa8, предназначены для использования в отдельных странах. Эти биты доступны для пользователей на основе соглашения о значении битов. Оборудование с агентами SNMP может использовать биты Sa4 — Sa8 для управления в пределах основной полосы (in-band). Общая полоса, выделяемая для этих битов (включая Sa4), составляет 4 кбит/с.

Мультикадры

Для расширения объёма полезной информации без расширения полосы кадры организуются в более крупные структуры — мультикадры (англ. multiframes).

В общем случае используются мультикадры двух типов:

  • 256N содержит 2 кадра (один чётный и один нёчетный). Мультикадры 256N используются в основном там, где пользователям доступен тайм-слот 16. В этом режиме максимальное число временных интервалов для передачи полезной информации составляет 31 (максимальная полезная полоса — 1984 кбит/с). Для систем, использующих сигнализацию CCS (англ. common-channel signaling, общая сигнализация), в тайм-слоте 16 часто передается информация CCS.
  • 256S содержит 16 кадров. Мультикадры 256S используются в основном там, где тайм-слот 16 служит для сквозной передачи сигналов с использованием CAS (англ. Channel Associated Signaling). CAS обычно используется на соединениях, служащих для передачи голосовой информации. В этом режиме максимальное число доступных тайм-слотов составляет 30 (максимальная скорость — 1920 кбит/с).

Мультикадры 256S требуют использования специальных последовательностей выравнивания MAS (англ. Multiframe Alignment Sequence), передаваемых в тайм-слоте 16, вместе с битом Y, который сообщает о потере выравнивания мультикадров. Как показано на рисунке, для каждого канала доступны четыре сигнальных бита (A, B, C и D), что обеспечивает возможность сквозной передачи четырёх состояний сигнала. Каждый кадр мультикадра передает сигнальную информацию двух каналов.

Called/Calling Number Configuration

This window allows the user to set the called and calling numbers on corresponding timeslots. Select card (using
Device Selection) and desired Timeslot to enter Called/Calling number. The Called Number and Calling Number can be
edited using short cut key ‘F2’ on the Called Nr or by double-clicking the selected Timeslot.

ISDN Sub-address

ISDN Sub-address can be used to address each device, when more than one ISDN devices are using the same ISDN
line. The sub-address is a sequence of digits, the maximum length of which shall be 20 octets.

Calling party sub-address

The purpose of the Calling party sub-address information element is to identify a sub-address associated with the
origin of a call

Called party sub-address

The purpose of the Called party sub-address information element is to identify the sub-address of the called party of
the call

ISDN BRI S/T Leased-Line WAN Interface Card

This section describes how to connect ISDN BRI S/T leased-line WICs to a network and contains the following sections:

ISDN BRI S/T Leased-Line WICs Overview

The 1-port ISDN BRI S/T leased-line WIC (WIC-1B-S/T-LL) provides a single B channel operating in leased-line mode at 64-kbps. (See .)

Figure 54 WIC-1B-S/T-LL Front Panel

ISDN BRI S/T Leased-Line WIC LEDs

The ISDN BRI S/T leased-line WIC LEDs are shown in . The functions of the LEDs are described in .

Table 11 ISDN BRI S/T Leased-Line WIC LEDs 

LED

Description

B1

ISDN connection on B1 channel when blinking.

B2

ISDN connection on B2 channel (not used).

OK

ISDN port has established a connection with the central office switch (D channel).

Always off for 64 kbps, which is available on B1 only.

Prerequisites for Connecting an ISDN BRI S/T Leased-Line WIC to a Network

Before connecting a WIC to the network, ensure that the WIC is installed in the router, the equipment is properly grounded, and you have the proper cables for connecting the WIC to the network. This section describes the preparation necessary before connecting an ISDN BRI U WIC to the network.

Grounding

Ensure that the equipment you are working with is properly grounded. For instructions on grounding your WIC, see Installing Cisco Interface Cards in Cisco Access Routers.

Cables

Use a straight-through RJ-48C-to-RJ-48C BRI cable (not included) to connect an ISDN BRI S/T leased-line WIC to a network.

Connecting an ISDN BRI S/T Leased-Line WIC to a Network

Warning Hazardous network voltages are present in WAN ports regardless of whether power to the unit is OFF or ON. To avoid electric shock, use caution when working near WAN ports. When detaching cables, detach the end away from the unit first. Statement 1026

Warning The ISDN connection is regarded as a source of voltage that should be inaccessible to user contact. Do not attempt to tamper with or open any public telephone operator (PTO)-provided equipment or connection hardware. Any hardwired connection (other than by a nonremovable, connect-one-time-only plug) must be made only by PTO staff or suitably trained engineers. Statement 23

To connect an ISDN BRI S/T leased-line WIC to a network, follow these steps:

Step 1 Confirm that the router is turned off.

Step 2 Connect one end of the straight-through RJ-48C cable to the RJ-48C port on the ISDN BRI S/T leased-line WIC.

Step 3 Connect the other end of the cable to the NT1 device, as shown in .

Figure 55 Connecting the ISDN BRI S/T Leased Line Card to an NT1 Device

Step 4 Connect the NT1 device to the ISDN wall jack according to the documentation that came with the NT1 device.

Step 5 Turn on power to the router.

Step 6 Check that the OK LED goes on, which indicates that the ISDN port has established a connection with the central office switch.

Application

One of the applications of the BRI VICs is shown in this example. Observe that the BRI VIC can be directly connected to the PSTN or the ISDN PBX.

Note: The Cisco IOS software releases provided are typically the minimum version required to support the platform, module, or feature in question. To find out a complete list of Cisco IOS Software releases a feature, module, interface card, or chassis is supported in, refer to the Software Advisor (registered customers only) tool.

Note: Refer to the Command Lookup Tool (registered customers only) for more information on the commands given in this document.

Интерфейс базового уровня

Интерфейс базового уровня (англ. Basic Rate Interface, BRI) — предоставляет для связи аппаратуры абонента и ISDN-станции два B-канала и один D-канал. Интерфейс базового уровня описывается формулой . В стандартном режиме работы BRI могут быть одновременно использованы оба B-канала (например, один для передачи данных, другой для передачи голоса) или один из них. При одновременной работе каналов они могут обеспечивать соединение с разными абонентами. Максимальная скорость передачи данных для BRI интерфейса составляет 128кб/с. D-канал используется только для передачи управляющей информации. В режиме AO/DI (Always On/Dynamic ISDN) полоса 9,6 кбит/c D-канала используется в качестве постоянно включённого выделенного канала X.25, как правило, подключаемого к Интернет. При необходимости используемая для доступа к Интернет полоса расширяется путём включения одного или двух B-каналов. Этот режим, хотя и стандартизирован (под наименованием X.31), не нашёл широкого распространения. Для входящих соединений BRI поддерживается до 7 адресов (номеров), которые могут назначаться различными ISDN-устройствами, разделяющими одну абонентскую линию. Дополнительно обеспечивается режим совместимости с обычными, аналоговыми абонентскими устройствами — абонентское оборудование ISDN, как правило, допускает подключение таких устройств и позволяет им работать прозрачным образом. Интересным побочным эффектом такого «псевдоаналогового» режима работы стала возможность реализации симметричного модемного протокола X2 (англ.) фирмы US Robotics, позволявшего передачу данных поверх линии ISDN в обе стороны на скорости 56 кбит/c.

Наиболее распространённый тип сигнализации — Digital Subscriber System No. 1 (DSS-1), также известный как Euro-ISDN.
Используется два магистральных режима портов BRI относительно станции или телефонов — S/ТЕ и NT. Режим S/ТЕ — порт эмулирует работу ISDN телефона, режим NT — эмулирует работу станции. Отдельное дополнение — использование ISDN-телефона с дополнительным питанием в этом режиме, так как стандартно не все порты (и карты HFC) дают питание по ISDN-шлейфу (англ. inline power).
Каждый из двух режимов может быть «точка-многоточка» (англ. point-to-multi-point, PTMP) он же MSN (англ. Multiple Subscriber Number), или «точка-точка» (англ. point-to-point, PTP). В первом режиме для поиска адресата назначения на шлейфе используются номера MSN, которые, как правило, совпадают с выделенными провайдером телефонии городскими номерами. Провайдер должен сообщить передаваемые им MSN. Иногда провайдер использует так называемые «технические номера» — промежуточные MSN. Во втором режиме BRI-порты могут объединяться в транк — условную магистраль, по которой передаваемые номера могут использоваться в многоканальном режиме.

ISDN-технология использует три основных типа интерфейса BRI: U, S и T.

  • U interface (англ.)русск. — одна витая пара, проложенная от коммутатора до абонента, работающая в полном или полудуплексе. К U-интерфейсу можно подключить только 1 устройство, называемое сетевым окончанием (англ. Network Termination, NT-1 или NT-2).
  • S interface (англ.)русск. (S) и T interface (англ.)русск. — два идентичных на физическом уровне интерфейса, который часто упоминается как S/T интерфейс. Используются две витые пары, передача и приём. Может быть обжата как в RJ-45, так и в RJ-11 разъем/кабель. К разъему S/T интерфейса можно подключить одним кабелем (шлейфом) по принципу шины до 8 ISDN устройств — телефонов, модемов, факсов, называемых TE1 (Terminal Equipment 1). Каждое устройство слушает запросы в шине и отвечает на привязанный к нему MSN. Принцип работы во многом похож на SCSI.
  • NT-1, NT-2 — Network Termination, сетевое окончание. Преобразовывает одну пару U в один (NT-1) или два (NT-2) 2-х парных S/T интерфейса (с раздельными парами для приёма и передачи). По сути, S и T — это одинаковые с виду интерфейсы, разница в том, что по S-интерфейсу можно подать питание для TE-устройств, например, телефонов, а по T — нет. Большинство NT-1 и NT-2 преобразователей умеют и то, и другое, поэтому интерфейсы чаще всего называют S/T.

show isdn

To display the information about memory, Layer 2 and Layer 3 timers, and the status of PRI channels, use the show isdn command in EXEC mode.

show isdn {active dsl|serial-number] | history dsl |serial-number] | memory | servicedsl | serial-number] | status dsl | serial-number | timers dsl| serial-number]}

Syntax Description

active dsl|serial-number

Displays current call information of all ISDN interfaces or, optionally, a specific digital subscriber line (DSL) or a specific ISDN PRI interface (created and configured as a serial interface). Values of dsl range from 0 to 15. Information displayed includes the called number, the remote node name, the seconds of connect time, the seconds of connect time remaining, the seconds idle, and Advice of Charge (AOC) charging time units used during the call.

history dsl|serial-number

Displays historic and current call information of all ISDN interfaces or, optionally, a specific DSL or a specific ISDN PRI interface (created and configured as a serial interface). Values of dsl range from 0 to 15. Information displayed includes the called number, the remote node name, the seconds of connect time, the seconds of connect time remaining, the seconds idle, and AOC charging time units used during the call.

memory

Displays ISDN memory pool statistics. This keyword is for use by technical development staff only.

service dsl|serial-number

Displays the service status of all ISDN interfaces or, optionally, a specific DSL or a specific ISDN PRI interface (created and configured as a serial interface). Values of dsl range from 0 to 15.

status dsl|serial-number

Displays the status of all ISDN interfaces or, optionally, a specific DSL or a specific ISDN PRI interface (created and configured as a serial interface). Values of dsl range from 0 to 15.

timers dsl|serial-number

Displays the values of Layer 2 and Layer 3 timers for all ISDN interfaces or, optionally, a specific DSL or a specific ISDN PRI interface (created and configured as a serial interface). Values of dsl range from 0 to 15.

Prerequisites

The Cisco AS5350 and Cisco AS5400 do not support the Mica Modem Card, Microcom Modem Card, or VoIP Feature Card. Voice and modem functions are provided by the Universal Port Dial Feature card running SPE firmware. See the Cisco AS5350 Universal Gateway Card Installation Guide and the Cisco AS5400 Universal Gateway Card Installation Guide for more information. All references to the Cisco AS5300 in this document apply to the Cisco AS5350 and Cisco AS5400 platforms with the following exceptions:

•Use the Universal Port Dial Feature Card instead of the Mica or Microcom modem cards.

•Use SPE firmware instead of portware version 6.7.7.

•Run Cisco IOS Release 12.1(5)XM2 software for VoIP functionality.

Other Prerequisites

Before you begin to configure this feature, the following configuration tasks must be completed on the selected access server:

•The router must have the appropriate, operational ISDN PRI interface hardware.

•The E1 controllers must be operational and configured for ISDN PRI.

•The D-channel interfaces must be operational and configured for ISDN PRI.

•Each D-channel interface must be configured with the isdn incoming-voice modem command.

For example, the selected D-channel PRI interfaces might have a configuration similar to the following:

interface Serial1/0/0:15
 no ip address
 no ip directed-broadcast
 isdn switch-type primary-net5
 isdn protocol-emulate network
 isdn incoming-voice modem
 no cdp enable

Overview

GL’s ISDN Emulator offers a complete solution for testing, troubleshooting, installation and maintenance of devices and networks implementing PRI ISDN.
It is useful to test ISDN products designed for either U or S/T interface, including network terminations, Type 1 terminating equipment, and terminal adapters.
ISDN equipment includes telephones, switchboards, PBXs, PC cards, Video Conferencing Equipment, Interconnect Systems, switches and routers.

GL’s ISDN Emulator for T1E1 network is available as GUI based as well as Command-line based
applications through which the various ISDN configurations can easily be created, thereby allowing the ISDN Emulator to be fully functional within a few
minutes. This ISDN configuration includes selection of various ISDN standards, variants & NFAS, etc. The ISDN Emulator also incorporates the flexibility to
modify ISDN call parameters & message content. This flexibility ensures that the ISDN emulator will communicate with the system under test. It’s even
possible to emulate a complete ISDN connection (switch to subscriber) all in the same PC with a dual interface card.

For more details on client-server based ISDN Emulation, please click here

interface Dchannel

To specify an ISDN D-channel interface and enter interface configuration mode, use the interface Dchannel command in global configuration mode.

interface Dchannel interface-number

Syntax Description

interface-number

Specifies the ISDN interface number.

Note The interface-number argument depends on which controller the rlm-group subkeyword in the pri-group timeslots controller configuration command uses. For example, if the Redundant Link Manager (RLM) group is configured using the controller e1 2/3 command, the D-channel interface command will be interface Dchannel 2/3.

Configuration Examples for ISDN PRI-SLT

This section provides the following configuration examples to match the configuration tasks in the previous sections:

SS7-Enabled VoIP PRI Shared T1 Configuration Example

The following example shows how to release the ISDN PRI signaling time slot for RLM configurations on a shared T1 link:

controller T1 1
 pri-group time slots 1-3 nfas_d primary nfas_int 0 nfas_group 0 rlm-group 0 
 channel group 23 timeslot 24
 exit
! New Dchannel interface is created for configuration of ISDN parameters:
interface Dchannel1
 isdn T309 4000
 exit

Verify ISDN PRI-SLT Example

The following example output from the show isdn status EXEC command includes a report about D-channel and RLM group status:

Router# show isdn status
Global ISDN Switchtype = primary-ni
ISDN Dchannel0 interface   rlm-group = 1 
    Transport Link Status:
    ACTIVE
    dsl 0, interface ISDN Switchtype = primary-ni : Primary D channel of nfas group 0
    Layer 1 Status:
    DEACTIVATED
    Layer 2 Status:
    TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
    Layer 3 Status:
    0 Active Layer 3 Call(s)
    Active dsl 0 CCBs = 0
    The Free Channel Mask:  0x80000000
    Number of L2 Discards = 0, L2 Session ID = 43
ISDN Dchannel1 interface
    Transport Link Status :  Not Applicable 
    dsl 1, interface ISDN Switchtype = primary-ni : Group member of nfas group 0
    Layer 1 Status:
    DEACTIVATED
    Layer 2 Status: Not Applicable
    Layer 3 Status:
    0 Active Layer 3 Call(s)
    Active dsl 1 CCBs = 0
    The Free Channel Mask:  0x80000000
    Number of L2 Discards = 0, L2 Session ID = 0
ISDN Serial2:15 interface
    dsl 2, interface ISDN Switchtype = primary-ni : Primary D channel of nfas group 1
    Layer 1 Status:
    DEACTIVATED
    Layer 2 Status:
    TEI = 0, Ces = 1, SAPI = 0, State = TEI_ASSIGNED
    Layer 3 Status:
    0 Active Layer 3 Call(s)
    Active dsl 2 CCBs = 0
    The Free Channel Mask:  0x0
    Number of L2 Discards = 0, L2 Session ID = 0
ISDN Serial3:15 interface
    dsl 3, interface ISDN Switchtype = primary-ni : Group member of nfas group 1
    Layer 1 Status:
    ACTIVATING
    Layer 2 Status: Not Applicable
    Layer 3 Status:
    0 Active Layer 3 Call(s)
    Active dsl 3 CCBs = 0
    The Free Channel Mask:  0x0
    Number of L2 Discards = 0, L2 Session ID = 0
    Total Allocated ISDN CCBs = 0