Configuring an E1 Channel for a CPOS Interface
Context
The E1 channel of a CPOS interface can work in unchannelized or channelized mode.
In unchannelized mode, an E1 channel works at a rate of 2 Mbit/s without timeslot division. The logical features of an E1 channel are the same as those of a synchronous serial interface.
When an E1 channel works in channelized mode, the 2 Mbit/s transmission line is divided into 32 timeslots at a rate of 64 kbit/s. The 32 timeslots are numbered 0 to 31, and timeslot 0 transmits synchronization signals. Timeslots except timeslot 0 can be randomly bundled into a channel set that functions as an interface. The rate of the interface is N x 64 kbit/s. The interface has the same logical features as a synchronous serial interface.
By default, an E1 channel works in channelized mode.
Procedure
- Run system-view
The system view is displayed.
- Configure the 1CPOS-155M-W interface card to work in E1 mode.
- Run display device
Information about the 1CPOS-155M-W interface card is displayed. You can view the slot ID of the interface card, check whether the interface card is installed in the slot, and check whether it is working properly.
- Run display workmode { slot slot-id | all }
The working mode of the 1CPOS-155M-W interface card is displayed.
Run set workmode slot slot-id cpos e1-data
The 1CPOS-155M-W interface card is configured to work in E1 mode.
By default, a 1CPOS-155M-W interface card works in E1 mode (e1-data).
After completing this step, reset the 1CPOS-155M-W interface card and wait for a while for the configuration to take effect.
- Run display device
- Run controller cpos cpos-number
The specified CPOS interface view is displayed.
- Configure the working mode for an E1 channel.
Run e1 e1-number unframed
An E1 channel is configured to work in unchannelized mode.
After the configuration is complete, the device generates a logical channel at a rate of 2 Mbit/s without timeslot division. You can run the interface serial cpos-number/e1-number: 0 command to access the logical channel.
Run e1 e1-number channel-set set-number timeslot-list slot-list
An E1 channel is configured to work in channelized mode and timeslots of E1 channel are bundled.
After the configuration is complete, the device generates a logical channel that is composed of timeslots slot-list and works at a rate of N x 64 kbit/s (N is the number of timeslots bundled into a channel). You can run the interface serial cpos-number/e1-number: set-number command to access the logical channel.
Before switching between the unchannelized mode and channelized mode, delete the configuration of the original working mode.
- Run e1 e1-number set frame-format { crc4 | no-crc4 }
The frame format of the E1 channel is configured.
By default, the frame format of an E1 interface is no-CRC4.
The frame format of the E1 channel must be the same on both ends.
- Run e1 e1-number set flag { j2 { 1byte-mode 1byte-string | 16byte-mode 16byte-string } | v5 v5-string }
The overhead byte is configured for the E1 channel.
By default, J2 repeatedly transmits a string of null characters, and the V5 byte value is 2.
- Run e1 e1-number set clock { master | slave }
The clock mode is configured for the E1 channel.
By default, the clock mode of an E1 channel is slave.
The clock mode of the E1 channel must be different on both ends.
- (Optional) Run either of the following commands to disable or enable the E1 channel.
Run e1 e1-number shutdown
The specified E1 channel is disabled.
Run undo e1 e1-number shutdown
The specified E1 channel is enabled.
By default, an E1 channel is enabled.