Configuring a CE1/PRI Interface (PRI Mode)
To connect a device to an ISDN network using an ISDN PRI interface, configure the CE1/PRI interface to work in PRI mode.
Pre-configuration Tasks
Before configuring a CE1/PRI interface, complete the following task:
Install a 1E1T1-M/2E1T1-M/4E1T1-M/8E1T1-M interface card on the router and ensure that it is registered successfully.
Context
All parameters except the clock mode of CE1/PRI interfaces on both ends must be the same. Otherwise, errors may occur during communication.
Procedure
- Run system-view
The system view is displayed.
- Configure the 1E1T1-M/2E1T1-M interface card to work in CE1/PRI mode.
- Run display device
Information about the 1E1T1-M/2E1T1-M interface card is displayed. You can check the slot ID of the interface card, whether the interface card is installed in the slot, and whether it is working properly.
- Run display workmode { slot slot-id | all }
The working mode of the 1E1T1-M/2E1T1-M interface card is displayed.
Run set workmode slot slot-id e1t1 e1-data
The 1E1T1-M/2E1T1-M interface card is configured to work in CE1/PRI mode.
By default, a 1E1T1-M/2E1T1-M interface card works in CE1/PRI mode (e1-data).
After completing this step, reset the 1E1T1-M/2E1T1-M interface card and wait for a while for the configuration to take effect.
The 4E1T1-M/8E1T1-M interface card only works in CE1/PRI mode (e1-data) and does not support working mode switching.
- Run display device
- Run controller e1 interface-number
The specified CE1/PRI interface view is displayed.
- Run using ce1
The CE1/PRI interface is configured to work in CE1/PRI mode.
By default, a CE1/PRI interface works in CE1/PRI mode.
- Run pri-set [ timeslot-list list ]
Timeslots of the CE1/PRI interface are bundled to form a PRI set.
After you perform this step, the system automatically creates a serial interface. This interface has the same logical features as a synchronous serial interface and is called an ISDN PRI interface. The number format of the ISDN PRI interface is serial interface-number :15. interface-number specifies the number of a CE1/PRI interface. You can configure other parameters on the ISDN PRI interface, including DCC parameters, PPP and PPP authentication parameters, and NAT.
Timeslots of a CE1/PRI interface on the 1E1T1-M/2E1T1-M/4E1T1-M/8E1T1-M interface card can be bundled to form a PRI set.
- Run line-termination { 75-ohm | 120-ohm }
The cable type applied to the CE1/PRI interface is specified.
By default, a CE1/PRI interface connects to a 120 ohm balanced cable (twisted pair).
If the type of the cable connected to a CE1/PRI interface changes, use this command to change the cable type.
- Configure other parameters on the CE1/PRI interface.
Run description text
The interface description is configured.
Run clock { master | slave | system }
The clock mode is set.
By default, a CE1/PRI interface works in slave clock mode and uses line clock signals.
When a CE1/PRI interface functions as a Data Circuit-terminating Equipment (DCE) interface, it must work in master clock mode and provide clock signals for a Data Terminal Equipment (DTE) interface. When a CE1/PRI interface functions as a DTE interface, it must work in slave clock mode and obtain clock signals from a DCE interface.
When the SRU on the router obtains the clock with high accuracy from the upstream device and the router needs to synchronize the clock to a downstream device, the interface on the router must be configured to work in system clock mode. Moreover, the interface on the downstream device must be configured to work in slave clock mode.
Run frame-format { crc4 | no-crc4 }
The frame format is set.
By default, a CE1/PRI interface uses non-CRC4 as the frame format.
Run idlecode { 7e | ff }
The line idle code is set.
By default, a CE1/PRI interface uses the line idle code 0x7e.
Run itf { number number | type { 7e | ff } }
The interframe filling tag and the number of interframe filling tags are set.
By default, a CE1/PRI interface uses the interframe filling tag 0x7e and four interframe filling tags.
Run data-coding { inverted | normal }
Data inversion is configured.
By default, a CE1/PRI interface does not invert data.
Run detect-rai
RAI detection is configured.
By default, RAI detection is enabled on a CE1/PRI interface.