Configuring a T1 Channel for a CPOS Interface
Context
The T1 channel of a CPOS interface can work in unchannelized or channelized mode.
In unchannelized mode, a T1 interface works at a rate of 1.544 Mbit/s without timeslot division. The logical features of a T1 channel are the same as those of a synchronous serial interface.
When a T1 channel works in channelized mode, timeslots numbered 1 to 24 can be randomly bundled into a channel set that functions as an interface. The rate of the interface is N x 56 kbit/s or 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 T1 mode.
- Run display device
Information about the 1CPOS-155M-W 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 1CPOS-155M-W interface card is displayed.
Run set workmode slot slot-id cpos t1-data
The 1CPOS-155M-W interface card is configured to work in T1 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 a T1 channel.
Run t1 t1-number unframed
A T1 channel is configured to work in unchannelized mode.
After the configuration is complete, the device generates a logical channel working at a rate of 1.544 Mbit/s without timeslot division. You can run the interface serial cpos-number/t1-number: 0 command to the logical channel.
Run t1 t1-number channel-set set-number timeslot-list slot-list [ speed { 56k | 64k } ]
A T1 channel is configured to work in channelized mode and timeslots of T1 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 × 56 kbit/s or N × 64 kbit/s (N is the number of timeslots bundled into a channel). By default, the rate of the channel-set that is formed by binding T1 timeslots is N x 56 kbit/s.
You can run the interface serial cpos-number/t1-number: set-number command to access the logical channel.
- Run t1 t1-number set frame-format { esf | sf }
The frame format of the T1 channel is configured.
By default, the frame format of a T1 channel is ESF.
The frame format of the T1 channel must be the same on both ends.
- Run t1 e1-number set flag { j2 { 1byte-mode 1byte-string | 16byte-mode 16byte-string } | v5 v5-string }
The overhead byte is configured for the T1 channel.
By default, J2 repeatedly transmits a string of null characters, and the V5 byte value is 2.
- Run t1 t1-number set clock { master | slave }
The clock mode is configured for the T1 channel.
By default, the clock mode of a T1 channel is slave.
The clock mode of the T1 channel must be different on both ends.
- (Optional) Run either of the following commands to disable or enable the T1 channel.
Run t1 t1-number shutdown
The specified T1 channel is disabled.
Run undo t1 t1-number shutdown
The specified T1 channel is enabled.
By default, a T1 channel is enabled.