Configuring a CE1/PRI Interface (E1 Mode)
To connect to a transmission network through a 2 Mbit/s E1 leased line, configure a CE1/PRI interface to work in E1 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.
An E1-F card can interwork with an E1-M card when the E1-M card works in E1 mode and the E1-F card works in unframed mode.
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.
- (Optional) Cancel the PRI set bundling.
Perform this step if the CE1/PRI interface needs to switch from the PRI mode to the E1 mode.
- Enter the view of the serial interface generated by the PRI interface from the system view, and then run the shutdown command to shut down the serial interface.
- Enter the CE1/PRI interface view, and then run the undo pri-set command to cancel the PRI set bundling.
- Run using e1
The CE1/PRI interface is configured to work in E1 mode.
By default, a CE1/PRI interface works in CE1/PRI mode.
When the CE1/PRI interface begins working in E1 mode, a serial interface is created automatically. The number format of a serial interface is "serial interface-number:0". interface-number specifies the number of a CE1/PRI interface. This interface has the same logical features as a synchronous serial interface, and you can configure other parameters on the interface, including the IP address, link layer protocol (such as PPP and FR), and NAT.
- 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 data-coding { inverted | normal }
Data inversion is configured.
By default, a CE1/PRI interface does not invert data.
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 undo detect-ais
AIS detection is disabled.
By default, AIS detection is enabled on a CE1/PRI interface.
If the CE1/PRI interface works in E1 mode, run the undo detect-ais command to disable AIS detection.