- Table of Contents
-
- 01-Access Volume
- 01-CPOS Interface Commands
- 02-POS Interface Commands
- 03-Ethernet Interface Commands
- 04-WAN Interface Commands
- 05-Frame Relay Commands
- 06-HDLC Commands
- 07-PPP Commands
- 08-Logical Interface Commands
- 09-Modem Management Commands
- 10-ATM Interface Commands
- 11-ATM Commands
- 12-E-CPOS Interface Commands
- 13-VLAN Termination Commands
- 14-Port Mirroring Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
01-CPOS Interface Commands | 180.83 KB |
Table of Contents
1 CPOS Interface Configuration Commands
CPOS Interface Configuration Commands
reset counters controller cpos
CPOS Interface Configuration Commands
clock
Syntax
clock { master | slave }
undo clock
View
CPOS interface view
Default Level
2: System level
Parameters
master: Sets the clock mode of the CPOS interface to master.
slave: Sets the clock mode of the CPOS interface to slave.
Description
Use the clock command to set the clock mode of the CPOS interface.
Use the undo clock command to restore the default, that is, slave.
When connected to a SONET/SDH device, the CPOS interface must use the slave clock because the SONET/SDH network clock is more precise. When the interface is directly connected to another CPOS interface with fiber-optic, configure them with different clock modes.
Examples
# Set the clock mode of interface CPOS 1/0 to master.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] clock master
controller cpos
Syntax
controller cpos cpos-number
View
System view
Default Level
2: System level
Parameters
cpos-number: CPOS interface number.
Description
Use the controller cpos command to enter CPOS interface view.
Before you can configure a CPOS physical interface, you must enter its CPOS interface view.
Examples
# Enter the interface view of CPOS 1/0.
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0]
crc
Syntax
crc { 16 | 32 | none }
undo crc
View
Synchronous serial interface view
Default Level
2: System level
Parameters
16: Sets the length of the CRC word to 16 bits.
32: Sets the length of the CRC word to 32 bits.
None: Disables CRC.
Description
Use the crc command to set the CRC word length for the current synchronous serial interface formed on a CPOS interface.
Use the undo crc command to restore the default.
The default CRC word length is 16 bits.
Examples
# Set the CRC word length to 16 bits for Serial 1/0/3:1 formed by CPOS interface 1/0.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] e1 3 channel-set 1 timeslot-list 1-31
[Sysname-Cpos1/0] quit
[Sysname] interface serial 1/0/3:1
[Sysname-Serial1/0/3:1] crc 16
display controller cpos
Syntax
display controller cpos [ cpos-number ]
View
Any view
Default Level
1: Monitor level
Parameters
cpos-number: CPOS interface number. If no CPOS number is specified, the information about all CPOS interfaces is displayed.
Description
Use the display controller cpos command to display information about CPOS physical interfaces, and alarms and errors occurred to the regenerator section, multiplex section, and higher-order path.
The following table lists possible error types in the displayed information:
Table 1-1 Possible error types
Field |
Description |
FRED |
Receive loss of basic frame alignment, or receive frames with red alarm errors. |
COFA |
Change of frame alignment. |
SEF |
Severely error frame. Four consecutive frame synchronization errors generate one SEF. |
FERR |
Framing Bit Error. It refers to the frame with the Ft/FPS/FAS error. |
CERR |
CRC error |
FEBE |
Far end block error. This occurs when the CRC4 framing format applies on the E1 channel. |
BERR |
PRBS bit error (Pseudo-random binary sequence bit error, for test only). |
BIP |
Bit-interleaved parity. |
REI |
Remote error indication. |
In this table, FRED, COFA, and SEF are alarm errors (AERRs).
Related commands: display controller cpos e1, display controller cpos t1.
# Display the path information of interface CPOS 2/1.
<Sysname> display controller cpos 2/1
Cpos2/1 current state: UP
Description : Cpos2/1 Interface
Frame-format SDH,multiplex AU-4,clock internal, loopback none
SD threshold: 6 , SF threshold: 3
Optical:MM
Regenerator section:
Tx: J0:"" (HEX: 01 )
Rx: J0:"" (HEX: 01 )
Alarm: NONE
Error: 0 RS_BIP
Multiplex section:
Alarm: NONE
Error: 0 MS_BIP , 0 MS_REI
High order Path (VC-4-1):
Tx: J1:"", C2:0x02, S1S0:0x02
Rx: J1:"", C2:0x02, S1S0:0x02
Alarm: NONE
Error: 0 HP_BIP, 0 HP_REI, 0 HP_PJE, 0 HP_NJE
CE1 1 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 2 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 3 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 4 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 5 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 6 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 7 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 8 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 9 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 10 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 11 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 12 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 13 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 14 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 15 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 16 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 17 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 18 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 19 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 20 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 21 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 22 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 23 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 24 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 25 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 26 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 27 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 28 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 29 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 30 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 31 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 32 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 33 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 34 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 35 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 36 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 37 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 38 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 39 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 40 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 41 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 42 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 43 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 44 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 45 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 46 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 47 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 48 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 49 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 50 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 51 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 52 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 53 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 54 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 55 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 56 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 57 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 58 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 59 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 60 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 61 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 62 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
CE1 63 is up
Frame-format: NO-CRC4, clock: slave, loopback: none
Table 1-2 Description on the fields of the display controller cpos command
Field |
Description |
Cpos2/1 current state |
Current physical state of the CPOS interface. |
Description |
Interface description. |
Frame-format SDH,multiplex AU-4,clock internal, loopback none SD threshold: 6 , SF threshold: 3 Optical:MM |
Physical layer information of the CPOS interface: the framing format is set to SDH, AU-4 path is adopted, master clock (internal clock signal) is used, and loopback is disabled, the SD threshold is 6, the SF threshold is 3, and the type of the interface optical module is multi-mode (MM). |
Tx: J0:"" (HEX: 01 ) Tx: J1:"", C2:0x02, S1S0:0x02 |
The sent overhead bytes. |
Rx: J0:"" (HEX: 01 ) Rx: J1:"", C2:0x02, S1S0:0x02 |
The received overhead bytes. |
Regenerator section: |
Statistics about the alarms and errors of the regeneration section. |
Multiplex section: |
Statistics about the alarms and errors of the multiplex section. |
Higher order path(VC-4-1): |
Statistics about the alarms and errors of the higher-order path. The x in “VC-4-x” indicates the xth VC-4. When adopting AU-4 path, one STM-1 is multiplexed by one VC-4. In the AU-3 path, there are three higher-order path VC-3s. |
Alarm: |
Alarm statistics. |
Error: |
Error statistics. |
CE1 1 is up |
The current physical state of E1 channel 1 of the CPOS interface 2/1. |
Frame-format: NO-CRC4, clock: slave, loopback: none |
Physical layer information of E1 channels: the framing format is set to no-CRC4, slave clock (line clock signal) is used, and loopback is disabled. |
display controller cpos e1
Syntax
display controller cpos cpos-number e1 e1-number
View
Any view
Default Level
1: Monitor level
Parameters
cpos-number: CPOS interface number.
e1-number: Number of an E1 channel on a CPOS interface, in the range 1 to 63.
Description
Use the display controller cpos e1 command to display the physical layer configuration information of the specified E1 channel on the specified CPOS interface.
Different from the display controller cpos command, this command can display the error and alarm information of lower-order paths and E1 frames.
# Display the status information of E1 channel 1 on interface CPOS 1/0.
<Sysname> display controller cpos 1/0 e1 1
Cpos1/0 current state: UP
Description : Cpos1/0 Interface
Lower order path:
TxFlag: J2: "" LP-C2: 2
RxFlag: J2: "" LP-C2: 2
Alarm: none
Error: 2 BIP2, 2903 FEBE
CE1 1 (1-1-1-1) is up
Frame-format: NO-CRC4, clock: slave, loopback: none
Alarm: none
Error: 136 Fer
In the output, “CE1 1 (1-1-1-1) is up” presents how the E1 channel is multiplexed. 1-1-1-1 represents in order VC-4 number, TUG-3 number, TUG-2 number, and TUG-12 number for an E1 channel.
display controller cpos e3
Syntax
display controller cpos cpos-number e3 e3-number
View
Any view
Default Level
1: Monitor level
Parameters
cpos-number: CPOS interface number.
e3-number: Number of an E3 channel on the specified CPOS interface, in the range of 1 to 3.
Description
Use the display controller cpos e3 command to display the physical layer configuration of the specified E3 channel on the specified CPOS interface.
Compared with the display controller cpos command, this command can display the error and alarm information of lower-order paths and E3 frames.
Table 1-3 lists the possible error types in the displayed output:
Table 1-3 Possible error types
Field |
Description |
OOF |
Out of frame (OOF) errors, generated upon receipt of E3 indicating that error occurs to the framing bit of the received E3/T3 frames. |
LOS |
Loss of signal (LOS) errors, generated upon detection of loss of input signal. |
LOF |
Loss of frame (LOF) errors, generated when detected consecutive LOS errors exceed the allowed threshold. |
AIS |
Alarm indication signal (AIS) alarms, including those generated by the local end upon detection of severe alarms like LOS and those received from the upstream device. |
RAI |
Remote alarm indication alarms, received from the downstream device detecting alarms. |
MS_AIS |
Multiplex section alarm indication signal |
FERR |
Framing bit errors |
LCV |
Line coding violation counts. LCV occurs when line code violates HDB3 (E3) or B3ZS (T3) coding rules. |
PERR |
Parity error event counts, available only for T3. They are generated when the P1 and P2 bits in T3 frames are not identical. |
FEBE |
Far-end block error counts, received from downstream devices, available only for T3. |
HCS |
Header check sequence error counts, that is, CRC errors in HDLC frames |
Examples
# Display the state information of E3 channel 1 on interface CPOS 5/0.
[Sysname] display controller cpos 5/0 e3 1
Cpos5/0 current state: UP
Description : Cpos5/0 Interface
E3 1 is up
Frame-format: G.751 ,Clock: slave ,Loopback: none
national-bit 1
Alarm: NONE
Error: 0 FERR, 0 LCV, 0 HCS
Table 1-4 display controller cpos command output description
Field |
Description |
Cpos5/0 current state |
Current physical state of the CPOS interface |
Description |
Description of the interface |
E3 1 is up |
State of the E3 channel. In this sample output, the state of E3 channel 1 is up. |
Frame-format |
Framing format on the E3 channel |
Clock |
Clock mode of the E3 channel |
Loopback |
Loopback mode of the E3 channel |
national-bit |
National bit value of the E3 channel |
Alarm |
Alarms on the E3 channel |
Error |
Error counts on the E3 channel |
display controller cpos t1
Syntax
display controller cpos cpos-number t1 t1-number
View
Any view
Default Level
1: Monitor level
Parameters
cpos-number: CPOS interface number.
t1-number: Number of a T1 channel on a CPOS interface, in the range 1 to 84.
Description
Use the display controller cpos t1 command to display the physical layer configuration information of a T1 channel on a CPOS interface.
Different from the display controller cpos command, this command can display the error and alarm information of lower-order paths and T1 frames.
Examples
# Display the status information of T1 channel 2 on interface CPOS 4/0.
<Sysname> display controller cpos 4/0 t1 2
Cpos4/0 current state : UP Frame-format SDH, multiplex AU-3, clock master, loopback not set
Tx: J0: 0x01, J1: "", C2: 0x02
Rx: J0: 0x01, J1: "", C2: 0x02
Regenerator section:
Alarm: none
Error: 0 BIP, 0 SEF
Multiplex section:
Alarm: none
Error: 0 BIP, 0 REI
Higher order path(VC-3-2):
Alarm: none
Error: 0 BIP, 0 REI
Lower order path:
Alarm: none
Error: 4095 BIP, 2047 REI
Cpos4/0 CT1 2 is up
Frame-format ESF, clock master, loopback not set
T1 framer(2-1-1):
Alarm: none
Error: 4095 FERR, 79 AERR
Table 1-5 Description on the fields of the display controller cpos t1 command
Field |
Description |
Cpos4/0 current state |
The current physical state of the CPOS interface |
Frame-format SDH, multiplex AU-3, clock master, loopback not set |
Physical layer information of the CPOS interface: the framing format is set to SDH, AU-3 path is adopted, master clock (internal clock signal) is used, and loopback is disabled. |
Tx: J0: 0x01, J1: "", C2: 0x02 |
The sent overhead bytes. |
Rx: J0: 0x01, J1: "", C2: 0x02 |
The received overhead bytes. |
Regenerator section |
Alarms and errors about the regeneration section. |
Multiplex section |
Alarms and errors about the regeneration section. |
Higher order path(VC-3-2) |
Alarm and error statistics about the higher-order path to which the T1 channel belongs. VC-3-2 means the second VC-3. |
Lower order path |
Alarm and error statistics about the lower-order path. |
Error |
Error statistics. |
Cpos4/0 CT1 2 is up |
The current physical state of T1 channel 2 on interface CPOS 4/0. |
Frame-format ESF, clock master, loopback not set |
Information about the physical layer of the T1 channel: the framing format is set to ESF, master clock (internal clock signal) is used, loopback is disabled. |
T1 framer(2-1-1): |
Presents how the T1 channel is multiplexed. 2-1-1 represents in order VC-3 number, TUG-2 number, and TUG-11 number for the T1 channel. For its calculation principle, refer to the accompanied operation manual. |
display controller cpos t3
display controller cpos cpos-number t3 t3-number
cpos-number: CPOS interface number.
t3-number: Number of a T3 channel on the specified CPOS interface, in the range of 1 to 3.
Compared with the display controller cpos command, this command can display the error and alarm information of lower-order paths and E3 frames. For possible error and alarm types, see Table 1-3.
# Display the state information of T3 channel 1 on interface CPOS 1/0. For information about the output fields, see Table 1-4.
<Sysname> display controller cpos 1/0 t3 1
Cpos1/0 current state: UP
Description : Cpos1/0 Interface
T3 1 is down
Frame-format: C-bit ,Clock: slave ,Loopback: none
Alarm: NONE
Error: 0 FERR, 0 LCV, 0 PERR, 0 FEBE, 0 PARITY_P, 0 HCS
e1 channel-set
Syntax
e1 e1-number channel-set set-number timeslot-list range
undo e1 e1-number channel-set set-number
View
CPOS interface view
Default Level
2: System level
Parameters
e1-number: Number of an E1 channel on the CPOS interface, in the range 1 to 63.
set-number: Channel set number, in the range 0 to 30.
timeslot-list range: List of timeslots assigned to the channel set, in the range 1 to 31. While specifying timeslots, you can specify a single timeslot in the form of a number, or timeslots in a range in the form of number1-number2, or multiple timeslots in the form of number1, number2-number3.
Description
Use the e1 channel-set command to bundle multiple timeslots on an E1 channel into one channel set.
Use the undo e1 channel-set command to remove the channel set (also mentioned as a bundle throughout this document).
By default, E1 is not channelized.
When the E1 channel is channelized, its timeslot 0 is used for synchronization and the other 31 timeslots can be bundled to form one or multiple serial interfaces. These serial interfaces are numbered in the form of interface number/channel number:channel set number.
Related commands: e1 unframed.
Examples
# Bundle timeslots on E1 channel 63.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] e1 63 channel-set 1 timeslot-list 1-31
# Enter the view of the serial interface formed by the timeslot bundle.
[Sysname-Cpos1/0] quit
[Sysname] interface serial 1/0/63:1
[Sysname-Serial1/0/63:1]
e1 set clock
Syntax
e1 e1-number set clock { master | slave }
undo e1 e1-number set clock
View
CPOS interface view
Default Level
2: System level
Parameters
e1-number: Number of an E1 channel on the CPOS interface, in the range 1 to 63.
master: Sets the clock mode of the E1 channel to master.
slave: Sets the clock mode of the E1 channel to slave.
Description
Use the e1 set clock command to set the clock mode of the E1 channel.
Use the undo e1 set clock command to restore the default, that is, slave.
E1 channels on the same CPOS physical interface can use different clock modes, depending on connected devices. For example, when connected to a SONET/SDH device, an E1 channel should use the slave clock mode, and when directly connected to another device with fiber-optic, it can use either mode so long as the mode is different from the one used at the opposite end.
Note that different E1 channels of the same CPOS physical interface are independent of one another in terms of clock mode.
Examples
# Set the clock mode of E1 channel 1 to master.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] e1 1 set clock master
e1 set flag
Syntax
e1 e1-number set flag c2 c2-value
undo e1 e1-number set flag c2
e1 e1-number set flag j2 { sdh | sonet } j2-string
undo e1 e1-number set flag j2 { sdh | sonet }
View
CPOS interface view
Default Level
2: System level
Parameters
e1-number: E1 channel number, in the range 1 to 63.
c2: Specifies the low-order channel signal tag byte (C2).
c2-value: Low-order channel signal flag byte (C2) to be set, one byte in length and in the range 0x0 to 0x7.
j2: Specifies the low-order channel trace byte (J2).
sdh: Specifies the trace byte in SDH format.
sonet: Specifies the trace byte in SONET format.
j2-string: Low-order channel trace byte to be set, a string of 1 to 15 characters (in SDH format) or of 1 to 62 characters (in SONET format).
Description
Use the e1 set flag command to set the overhead bytes for an E1 channel.
Use the undo e1 set flag command to restore the default E1 channel overhead bytes.
By default, C2 is 0x02 and J2 is cyclic null.
Examples
# Set C2 to 0x7 for the E1 channel numbered 3 of CPOS 1/0 interface.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] e1 3 set flag c2 7
e1 set frame-format
Syntax
e1 e1-number set frame-format { crc4 | no-crc4 }
undo e1 e1-number set frame-format
View
CPOS interface view
Default Level
2: System level
Parameters
e1-number: Number of an E1 channel on the CPOS interface, in the range 1 to 63.
crc4: Sets the framing format to CRC4.
no-crc4: Sets the framing format to no-CRC4.
Description
Use the e1 set frame-format command to set the framing format of an E1 channel.
Use the undo e1 set frame-format command to restore the default, that is, no-CRC4.
Examples
# Set E1 channel 1 to use framing format CRC4.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] e1 1 set frame-format crc4
e1 set loopback
Syntax
e1 e1-number set loopback { local | payload | remote }
undo e1 e1-number set loopback
View
CPOS interface view
Default Level
2: System level
Parameters
e1-number: Number of an E1 channel on the CPOS interface, in the range 1 to 63.
local: Enables internal loopback on the E1 channel.
payload: Enables external payload loopback on the E1 channel.
remote: Enables external loopback on the E1 channel.
Description
Use the e1 set loopback command to configure the loopback mode of the E1 channel.
Use the undo e1 set loopback command to disable loopback.
By default, loopback is disabled.
You may test E1 channels in different depths by using the loopback command with different keywords.
In an internal loopback, data of the sender is directly looped to the receiver.
In an external payload loopback, data received by the receiver is looped back at the E1 framer as payload.
In an external loopback, data received by the receiver is looped back directly without passing through the E1 framer.
Related commands: display controller cpos e1.
Examples
# Enable external payload loopback on E1 channel 1.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] e1 1 set loopback payload
e1 shutdown
Syntax
e1 e1-number shutdown
undo e1 e1-number shutdown
View
CPOS interface view
Default Level
2: System level
Parameters
e1-number: Number of an E1 channel on the CPOS interface, in the range 1 to 63.
Description
Use the e1 shutdown command to shut down an E1 channel.
Use the undo e1 shutdown command to bring up an E1 channel.
By default, E1 channels are enabled.
Disabling an E1 channel also disables the serial interfaces that are formed on it, if there is any.
Examples
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] e1 1 shutdown
e1 unframed
Syntax
e1 e1-number unframed
undo e1 e1-number unframed
View
CPOS interface view
Default Level
2: System level
Parameters
e1-number: Number of an E1 channel on the CPOS interface, in the range 1 to 63.
Description
Use the e1 unframed command to set an E1 channel on the CPOS interface to operate in unframed mode, that is, E1 mode.
Use the undo e1 unframed command to restore the default.
By default, an E1 channel is not channelized.
So far, E1 channels on CPOS interfaces support two operating modes: clear channel (or unframed) and channelized.
l In unframed mode, an E1 channel can form a 2.048 Mbps serial interface without timeslot division. It is named serial slot/port/e1-number:0.
l In channelized mode, all timeslots except timeslot 0 on the E1 channel can be bundled arbitrarily to form serial interfaces.
Examples
# Set E1 channel 3 on interface CPOS 1/0 to operate in unframed mode.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] e1 3 unframed
e3 set clock
Syntax
e3 e3-number set clock { master | slave }
undo e3 e3-number set clock
View
CPOS interface view
Default Level
2: System level
Parameters
e3-number: Number of an E3 channel on the CPOS interface, in the range of 1 to 3.
master: Sets the clock mode to master.
slave: Sets the clock mode to slave.
Description
Use the e3 set clock command to set a clock mode for the E3 channel.
Use the undo e3 set clock command to restore the default.
By default, the clock mode of an E3 channel is slave.
You can configure different clock modes for different E3 channels depending on the device each E3 channel is connected to. For example, when an E3 channel is connected to a SONET/SDH device, you should set its clock mode to slave; when it is directly fiber-connected to a router, you can set its clock mode to master or slave, so long as it is different from the one used at the remote end.
l On a CPOS interface, the clock modes of E3 channels are independent of one another.
l You are recommended to configure the clock mode of an E3 channel the same as the global clock mode.
Examples
# Configure the clock mode of E3 channel 1 on interface CPOS 1/0 as master.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] e3 1 set clock master
e3 set loopback
Syntax
e3 e3-number set loopback { local | payload | remote }
undo e3 e3-number set loopback
View
CPOS interface view
Default Level
2: System level
Parameters
e3-number: Number of an E3 channel on the current CPOS interface, in the range of 1 to 3.
local: Enables internal loopback on the E3 channel.
payload: Enables external payload loopback on the E3 channel.
remote: Enables external loopback on the E3 channel. This keyword is not supported currently.
Description
Use the e3 set loopback command to enable a type of loopback on the specified E3 channel.
Use the undo e3 set loopback command to disable loopback.
By default, loopback is disabled.
You can troubleshoot an E3 channel by placing it in a loopback. The following are loopback modes available for you to test an E3 channel to different depths:
l In an internal loopback, transmitted data loops back to the receiver end internally without being sent to the line.
l In an external payload loopback, transmitted data loops over the far end and back to the receiver end after going through the E3 framer.
l In an external loopback, transmitted data loops over the far end and back to the receiver end before going through the E3 framer.
Related commands: display controller cpos e3.
Examples
# Enable external payload loopback on E3 channel 1 on interface CPOS 1/0.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] e3 1 set loopback payload
e3 set national-bit
e3 e3-number set national-bit { 0 | 1 }
undo e3 e3-number set national-bit
View
CPOS interface view
Default Level
2: System level
Parameters
e3-number: Number of an E3 channel on the current CPOS interface, in the range of 1 to 3.
0: Sets the national bit to 0 for national communication.
1: Sets the national bit to 1 for international communication.
Description
Use the e3 set national-bit command to set the national bit used on the specified E3 channel.
Use the undo e3 set national-bit command to restore the default.
By default, the national bit of an E3 channel is 1.
Examples
# Set the national bit of E3 channel 1 on interface CPOS 1/0 to 1.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] e3 1 set national-bit 1
e3 shutdown
Syntax
e3 e3-number shutdown
undo e3 e3-number shutdown
View
CPOS interface view
Default Level
2: System level
Parameters
e3-number: Number of an E3 channel on the current CPOS interface, in the range of 1 to 3.
Description
Use the e3 shutdown command to shut down the specified E3 channel.
Use the undo e3 shutdown command to bring up the specified E3 channel.
By default, an E3 channel is up.
Examples
# Shut down E3 channel 1 on interface CPOS 1/0.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] e3 1 shutdown
fe3 dsu-mode
Syntax
fe3 e3-number { dsu-mode { 0 | 1 } | subrate sub-number }
undo fe3 e3-number { dsu-mode | subrate }
View
CPOS interface view
Default Level
2: System level
Parameters
e3-number: Number of an E3 channel on the current CPOS interface, in the range of 1 to 3.
dsu-mode: Sets the data service unit (DSU) mode for fractional E3 (FE3). The following table lists the available FE3 DSU mode options:
Table 1-6 FE3 DSU mode options
Keyword |
DSU mode (vendor) |
Subrate range |
Total number of subrate grades |
0 |
Digital Link |
358 to 34010 kbps in steps of 358 kbps |
95 |
1 |
Kentrox |
500 to 24500 kbps in steps of 500 kbps; 34010 kbps |
50 |
subrate sub-number: Sets the FE3 subrate, in the range of 1 to 34010 kbps.
Description
Use the fe3 dsu-mode command to configure the specified E3 channel to work in FE3 mode and configure its FE3 DSU mode or FE3 subrate.
Use the undo fe3 command to restore the default DSU mode or subrate.
By default, for an FE3 channel, the DSU mode is 1 (that is, Kentrox) and the subrate is 34010 kbps.
FE3 (also called subrate E3) is a non-standard E3 application. Available FE3 subrate ranges and the number of subrate grades vary with vendors. You can use the fe3 command to configure your device to be compatible with the FE3 DSU modes listed in Table 1-6.
When using the fe3 command, note that:
l The subrates available in the DSU mode set with the fe3 dsu-mode command are discrete and the subrate set with the fe3 subrate command is approximate rather than exact. After you set a subrate, the E3 interface works out the precise subrate (accurate to bps) closest to the approximate subrate within the subrate range available in the specified DSU mode. This calculated precise subrate is the one actually applied to the hardware circuit.
l You can use the display interface serial interface-number:0 command to display the DSU mode, configured subrate, actual rate, and baud rate of an E3 interface. The actual rate of the E3 interface is the pure data bandwidth excluding the bandwidth for overhead bytes, while the baud rate of the E3 interface, 34368 kbps, is the actual rate of the E3 circuit, including the bandwidth for the overhead bytes.
Examples
# Configure E3 channel 1 on interface CPOS 1/0 to operate in DSU mode 1 and set its subrate to 500 kbps.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] fe3 1 dsu-mode 1
[Sysname-Cpos1/0] fe3 1 subrate 500
flag
Syntax
flag { j0 j0-string | j1 path-number j1-string | c2 path-number c2-value | s1 s1-value | s1s0 path-number s1s0-value }
undo flag { j0 | j1 | c2 }
View
CPOS interface view
Default Level
2: System level
Parameters
j0 j0-string: Specifies the regeneration section trace message, a string of 1 to 15 characters. The system default is 0x01.
j1 path-number j1-string: The path-number argument specifies the number of a path; the j1-string argument specifies the path trace message, which is a string of 1 to 15 characters and a null string by default.
c2 path-number c2-value: The path-number argument specifies the number of a path; the c2-value argument specifies the path signal label byte, which is a hexadecimal number ranging from 0 to 7 and defaults to 0x02.
s1 s1-value: Specifies the synchronization status byte, which is a hexadecimal number ranging from 0 to FF and defaults to F.
s1s0 path-number s1s0-value: The path-number argument specifies the number of a path; the s1s0-value argument specifies the AU type and TU type. The s1s0-value argument ranges from 0 to 3.
Description
Use the flag command to set the overhead byte of SONET/SDH frames.
Use the undo flag command to restore the default.
SONET/SDH frames provide a variety of overhead bytes for operation and maintenance (OAM) such as layered management on transmission networks. j1, j0 and c2 are used to support interoperability between devices in different countries and areas or from different vendors.
S1 is the synchronization status byte. The value of S1 indicates the ITU-T clock quality, by which the device can judge the quality of received clock signals and determine whether to switch to a higher-quality clock source. A smaller value indicates higher clock precision.
Related commands: display controller cpos.
l The s1 keyword is not supported currently.
l You are recommended not to modify the s1s0 keyword. Otherwise, link failure may occur.
Examples
# Set J1 to aa on interface CPOS 1/0.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] flag j1 1 sdh aa
flag vc-3
Syntax
flag vc-3 path-number { c2 c2-value | j1 { sdh sdh-string | sonet sonet-string } | s1s0 s1s0-value }
undo flag vc-3 path-number { c2 | j1 { sdh | sonet } | s1s0 }
View
CPOS interface view
Default Level
2: System level
Parameters
path-number: Number of a channel in VC-3.
c2-value: Path signal label byte, a hexadecimal number in the range of 00 to FF. Support for this argument depends on your device model.
sdh-string: Higher order path trace byte for SDH frames, a string of 1 to 15 characters. Support for this argument depends on your device model.
sonet-string: Higher order path trace byte for SONET frames, a string of 1 to 62 characters. Support for this argument depends on your device model.
s1s0-value: AU/TU type indicator. Support for this argument depends on your device model.
Description
Use the flag vc-3 command to set an overhead byte for VC-3 frames.
Use the undo flag vc-3 command to restore the default.
A rich set of overhead bytes are available to implement operation, administration, and maintenance (OAM) functions such as hierarchical management of transmission networks for SONET/SDH frames.
Among these overhead bytes, J1 and C2 are higher-order path overhead bytes. The J1 byte is used for detecting the continuity of the connection between two interfaces at the path layer. The C2 byte is used for indicating the multiplexing structure of a VC frame and the property of payload. The J1 and C2 bytes are mainly used for interoperability between devices from different countries/areas/vendors.
Examples
# Set the C2 overhead byte to 2 for VC-3 frames on channel 2 of VC-3 on interface CPOS 1/0.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] flag vc-3 2 c2 2
flag vc-4
Syntax
flag vc-4 path-number { c2 c2-value | j1 { sdh sdh-string | sonet sonet-string } | s1s0 s1s0-value }
undo flag vc-4 path-number { c2 | j1 { sdh | sonet } | s1s0 }
View
CPOS interface view
Default Level
2: System level
Parameters
path-number: CPOS path number.
c2-value: Path signal label byte, a hexadecimal value in the range of 00 to FF. Support for this argument depends on your device model.
sdh-string: Higher order path trace byte for SDH frames, a string of 1 to 15 characters. Support for this argument depends on your device model.
sonet-string: Higher order path trace byte for SONET frames, a string of 1 to 62 characters. Support for this argument depends on your device model.
s1s0-value: AU/TU type indicator. Support for this argument depends on your device model.
Description
Use the flag vc-4 command to set an overhead byte for VC-4 frames.
Use the undo flag vc-4 command to restore the default.
A rich set of overhead bytes are available to implement operation, administration, and maintenance (OAM) functions such as hierarchical management of transmission networks for SONET/SDH frames.
Among these overhead bytes, J1 and C2 are higher-order path overhead bytes. The J1 byte is used for detecting the continuity of the connection between two interfaces at the path layer. The C2 byte is used for indicating the multiplexing structure of a VC frame and the property of payload. The J1 and C2 bytes are mainly used for interoperability between devices from different countries/areas/vendors.
Examples
# Set the J1 byte to abcd for VC-4 frames on channel 1 of VC-4 on interface CPOS 0/1 in SDH mode.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos0/1] flag vc-4 1 j1 sdh abcd
frame-format
Syntax
frame-format { sdh | sonet }
undo frame-format
View
CPOS interface view
Default Level
2: System level
Parameters
sdh: Sets framing format to synchronous digital hierarchy (SDH).
sonet: Sets framing format to synchronous optical network (SONET).
Description
Use the frame-format command to configure framing on the CPOS interface.
Use the undo frame-format command to restore the default, that is, SDH.
Examples
# Set the framing format on interface CPOS 1/0 to SONET.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] frame-format sonet
ft3 dsu-mode
Syntax
ft3 t3-number { dsu-mode { 0 | 1 | 2 | 3 | 4 } | subrate sub-number }
undo ft3 t3-number { dsu-mode | subrate }
View
CPOS interface view
Default Level
2: System level
Parameters
t3-number: Number of a T3 channel on the current CPOS interface, in the range of 1 to 3.
dsu-mode: Sets the DSU mode for fractional T3 (FT3). The following table lists the available FT3 DSU mode options:
Table 1-7 FT3 DSU mode options
Keyword |
DSU mode (vendor) |
Subrate range |
Total number of subrate grades |
0 |
Digital Link |
300 to 44210 kbps in steps of 300746 bps |
147 |
1 |
Kentrox |
1500 to 35000 kbps in steps of 1500000 bps; 44210 kbps |
57 |
2 |
Larscom |
3100 to 44210 kbps in steps of 3157835 bps |
14 |
3 |
Adtran |
75 to 44210 kbps in steps of 75187 bps |
588 |
4 |
Verilink |
1500 to 44,210 kbps in steps of 1,578,918 bps |
20 |
subrate sub-number: Sets the FT3 subrate, in the range of 1 to 44210 kbps.
Description
Use the ft3 dsu-mode command to configure the specified T3 channel to work in FT3 mode and configure its FT3 DSU mode or FT3 subrate.
Use the undo ft3 command to restore the default.
By default, for an FT3 channel, the DSU mode is 0 (that is, Digital Link) and the subrate is 44210 kbps.
FT3 (also called subrate T3) is a non-standard T3 application. Available FT3 subrate ranges and the number of subrate grades vary with vendors. You can use the ft3 command to configure your device to be compatible with the FT3 DSU modes listed in Table 1-7.
When using the ft3 command, note that:
l The subrates available in the DSU mode set with the ft3 dsu-mode command are discrete and the subrate set with the ft3 subrate command is approximate rather than exact. After you set a subrate, the T3 interface works out the precise subrate (accurate to bps) closest to the approximate subrate within the subrate range available in the specified DSU mode. This calculated precise subrate is the one actually applied to the hardware circuit.
l You can use the display interface serial interface-number:0 command to display the DSU mode, configured subrate, actual rate, and baud rate of a T3 interface. The actual rate of the T3 interface is the pure data bandwidth excluding the bandwidth for overhead bytes, while the baud rate of the T3 interface, 44736 kbps, is the actual rate of the T3 circuit, including the bandwidth for the overhead bytes.
Examples
# Configure T3 channel 1 on interface CPOS 1/0 to operate in DSU mode 3 and set its rate to 3000 kbps.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] ft3 1 dsu-mode 3
[Sysname-Cpos1/0] ft3 1 subrate 3000
loopback
Syntax
loopback { local | remote }
undo loopback
View
CPOS interface view
Default Level
2: System level
Parameters
local: Internal loopback, used for testing the physical interface itself.
remote: External loopback, used for testing the cable connected to the interface.
Description
Use the loopback command to configure the loopback mode on the CPOS interface.
Use the undo loopback command to disable loopback.
By default, loopback is disabled.
Loopback is intended for test use. Disable it otherwise.
Examples
# Enable external loopback testing on interface CPOS 1/0.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] loopback remote
multiplex mode
Syntax
multiplex mode { au-3 | au-4 }
undo multiplex mode
View
CPOS interface view
Default Level
2: System level
Parameters
au-3: Gets AUG through AU-3.
au-4: Gets AUG through AU-4.
Description
Use the multiplex mode command to set AUG multiplexing mode.
Use the undo multiplex mode command to restore the default, that is, au-4.
SDH provides two payload mapping/multiplexing solutions: ANSI and ETSI.
l ANSI uses the AU-3 multiplexing scheme, where the lower-order payload is aggregated into the VC-3 higher-order path. VC-3 plus an AU pointer forms AU-3. Three such AU-3s can be synchronized and multiplexed to form one AUG.
l ETSI uses the AU-4 multiplexing scheme, where the lower-order payload is aggregated into the VC-4 higher-order path. VC-4 plus an AU pointer forms an AU-4. This AU-4 can be synchronized and multiplexed to form one AUG.
When the CPOS interface is operating in SDH mode, you can choose to multiplex AUG to AU-4 or AU-3 by using the multiplex mode command. When the CPOS interface is operating in SONET mode, AUG can be multiplexed only to AU-3 and the multiplex mode command is invalid in this case.
Related commands: frame-format.
Examples
# In SDH mode, multiplex AUG to AU-3.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] frame-format sdh
[Sysname-Cpos1/0] multiplex mode au-
ppp mp soft-binding
Syntax
ppp mp soft-binding
undo ppp mp soft-binding
View
Synchronous serial interface view
Default Level
2: System level
Parameters
None
Description
Use the ppp mp soft-binding command to configure the serial interface to use the software bundling mode.
Use the undo ppp mp soft-binding command to restore the default, that is, the hardware bundling mode.
In software bundling mode, because packets are all fragmented and reassembled by the CPU, the serial interface cannot be bundled with a large number of links.
In hardware bundling mode, because packets are fragmented and reassembled through hardware, which frees the CPU from these tasks, the serial interface can be bundled with a large number of links.
Examples
# Set the bundling mode of Serial 1/0/1:1 formed by bundles on CPOS 1/0 to hardware bundling.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] t1 1 channel-set 1 timeslot-list 1-23
[Sysname-Cpos1/0] quit
[Sysname] interface serial 1/0/1:1
[Sysname-Serial1/0/1:1] ppp mp soft-binding
reset counters controller cpos
Syntax
reset counters controller cpos interface-number
View
User view
Default Level
2: System level
Parameters
interface-number: Interface number.
Description
Use the reset counters controller cpos command to clear the controller counter of a CPOS interface. You can use the display controller cpos command to display the value of the controller counter.
Examples
# Clear the controller counter of CPOS 2/0.
<Sysname> reset counters controller cpos 2/0
shutdown
Syntax
shutdown
undo shutdown
View
Default Level
2: System level
Parameters
None
Description
Use the shutdown command to shut down the CPOS physical interface.
Use the undo shutdown command to bring up the CPOS physical interface.
By default, the CPOS physical interface is up.
The shutdown command on the CPOS physical interface shuts down all E1/T1 channels and serial interfaces formed by timeslot bundles. They stop transmitting and receiving data as a result. To bring up them, perform the undo shutdown command on the CPOS physical interface.
Examples
# Shut down CPOS physical interface 1/0.
<Sysname> system-view
[Sysname] controller cpos 1/0
t1 channel-set
Syntax
t1 t1-number channel-set set-number timeslot-list range [ speed { 56k | 64k } ]
undo t1 t1-number channel-set set-number
View
CPOS interface view
Default Level
2: System level
Parameters
t1-number: Number of a T1 channel on the CPOS interface, in the range 1 to 84.
set-number: Channel set number in the range 0 to 23.
range: List of timeslots assigned to the channel set.
speed: Specifies how timeslots are bundled. If the 56k keyword applies, timeslots form an N × 56 kbps bundle. If 64k applies, timeslots form an N × 64 kbps bundle. If the speed is not specified, the default 64 kbps applies.
Description
Use the t1 channel-set command to bundle timeslots on the T1 channel.
Use the undo t1 channel-set command to remove the bundle.
By default, a T1 channel is not channelized.
The serial interface formed by a timeslot bundle is numbered in the form of interface number/channel number:channel set number.
Related commands: t1 unframed.
Examples
# Bundle timeslots on T1 channel 1.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] t1 1 channel-set 1 timeslot-list 1-23
# Enter the serial interface view after the bundling operation.
[Sysname-Cpos1/0] quit
[Sysname] interface serial 1/0/1:1
[Sysname-Serial1/0/1:1]
t1 set clock
Syntax
t1 t1-number set clock { master | slave }
undo t1 t1-number set clock
View
CPOS interface view
Default Level
2: System level
Parameters
t1-number: Number of a T1 channel on the CPOS, in the range 1 to 84.
master: Sets the clock mode of the T1 channel to master.
slave: Sets the clock mode of the T1 channel to slave.
Description
Use the t1 set clock command to configure the clock mode of the T1 channel.
Use the undo t1 set clock command to restore the default, that is, slave.
T1 channels on the same CPOS physical interface can use different clock modes, depending on connected devices. For example, when connected to a SONET/SDH device, a T1 channel should use the slave clock mode, and when directly connected to another device with fiber-optic, it can use either mode so long as the mode is different from the one used at the opposite end.
Note that different T1 channels of the same CPOS physical interface are independent of one another in terms of clock mode.
Examples
# Set the clock mode of T1 channel 1 to master.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] t1 1 set clock master
t1 set flag
Syntax
t1 t1-number set flag c2 c2-value
undo t1 t1-number set flag c2
t1 t1-number set flag j2 { sdh | sonet } j2-string
undo t1 t1-number set flag j2 { sdh | sonet }
View
CPOS interface view
Default Level
2: System level
Parameters
t1-number: T1 channel number, in the range 1 to 84.
c2: Specifies the low-order channel signal tag byte (C2).
c2-value: Low-order channel signal tag byte (C2) to be set, one byte in length and in the range 0x0 to 0x7.
j2: Specifies the low-order channel trace byte (J2).
sdh: Specifies the trace byte in SDH format.
sonet: Specifies the trace byte in SONET format.
j2-string: Low-order channel trace byte (J2) to be set, a string of 1 to 15 characters (in SDH format) or of 1 to 62 characters (in SONET format).
Description
Use the t1 set flag command to set the overhead bytes for a T1 channel.
Use the undo t1 set flag command to restore the default T1 channel overhead bytes.
By default, C2 is 0x02 and J2 is cyclic null.
Examples
# Set C2 to 0x7 for the T1 channel numbered 3 of CPOS 1/0 interface.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] t1 3 set flag c2 7
t1 set frame-format
Syntax
t1 t1-number set frame-format { esf | sf }
undo t1 t1-number set frame-format
View
CPOS interface view
Default Level
2: System level
Parameters
t1-number: Number of a T1 channel on the CPOS interface, in the range 1 to 84.
esf: Sets the T1 channel to use the extended super frame (ESF) format.
sf: Sets the T1 channel to use the super frame (SF) format.
Description
Use the t1 set frame-format command to set the framing format for T1 channel.
Use the undo t1 set frame-format command to restore the default, that is, ESF.
Examples
# Set the framing format of T1 channel 1 to SF.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] t1 1 set frame-format sf
t1 set loopback
Syntax
t1 t1-number set loopback { local | payload | remote }
undo t1 t1-number set loopback
View
CPOS interface view
Default Level
2: System level
Parameters
t1-number: Number of a T1 channel on the CPOS interface, in the range 1 to 84.
local: Enables internal loopback.
payload: Enables external payload loopback.
remote: Enables external loopback.
Description
Use the t1 set loopback command to configure the loopback mode of the T1 channel.
Use the undo t1 set loopback command to disable loopback.
By default, loopback is disabled.
Loopback is intended for test use. Disable it otherwise.
Related commands: display controller cpos t1.
Examples
# Enable external loopback on T1 channel 1.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] t1 1 set loopback payload
t1 shutdown
Syntax
t1 t1-number shutdown
undo t1 t1-number shutdown
View
CPOS interface view
Default Level
2: System level
Parameters
t1-number: Number of a T1 channel on the CPOS interface, in the range 1 to 84.
Description
Use the t1 shutdown command to shut down a T1 channel.
Use the undo t1 shutdown command to bring up a T1 channel.
By default, T1 channels are up.
Disabling a T1 channel disables the serial interfaces formed on it, if there is any.
Examples
# Shut down T1 channel 1.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] t1 1 shutdown
t1 unframed
Syntax
t1 t1-number unframed
undo t1 t1-number unframed
View
CPOS interface view
Default Level
2: System level
Parameters
t1-number: Number of a T1 channel on the CPOS interface, in the range 1 to 84.
Description
Use the t1 unframed command to set a T1 channel on the CPOS interface to operate in unframed mode.
Use the undo t1 unframed command to restore the default.
By default, T1 is not channelized.
Like E1 channels, T1 channels on CPOS interfaces support unframed (clear channel) mode and channelized mode.
l In unframed mode, a T1 channel can form a 1.544 Mbps serial interface without timeslot division. This interface is named serial slot/card/t1-number:0.
l In channelized mode, 24 timeslots of T1 channel can be bound and used as serial interfaces.
Examples
# Set T1 channel 3 on interface CPOS 1/0 to operate in unframed mode.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] t1 3 unframed
t3 set alarm
Syntax
t3 t3-number set alarm { detect | generate { ais | febe | idle | rai } }
undo t3 t3-number set alarm { detect | generate { ais | febe | idle | rai } }
View
CPOS interface view
Default Level
2: System level
Parameters
t3-number: Number of a T3 channel on the current CPOS interface, in the range of 1 to 3.
detect: Enables/disables periodical alarm signal detection on the specified T3 interface. By default, periodical alarm detection is enabled.
generate: Generates and sends a specific type of alarm signals, which can be AIS, RAI, IDLE, or FEBE. These alarm signals are used for line status test. By default, alarm signal sending is disabled.
l ais: Alarm indication signal.
l febe: Far-end block error.
l idle: Idle signal.
l rai: Remote alarm indication.
Description
Use the t3 set alarm command to enable alarm signal detection or sending on the specified T3 channel.
Use the undo t3 set alarm command to restore the default.
You can enable alarm detection or sending of a type of alarm signals on a T3 channel to check its line state.
At startup of your device, periodical alarm signal detection is enabled on T3 channels. When detecting LOS, LOF, or AIS signals, a T3 channel sends RAI signals to its peer. Alarm state report for the interface is real time; you can view that by executing the display controller cpos t3 command.
The supported alarm signals, LOS, LOF, AIS, RAI, FEBE, and idle, are ANSI T1.107-1995 compliant.
Only a type of alarm signal can be sent on a T3 channel at a time. To have the T3 channel send another type of signal, use the undo t3 set alarm command to delete the previous setting first. In addition, when an RAI signal generated upon detection of a LOS, LOF, or AIS signal is present, the T3 channel cannot send another type of signal. To do that, use the undo t3 set alarm detect command to disable the T3 channel to send the RAI signal generated after detecting an alarm first.
Examples
# Enable alarm signal detection on T3 channel 2 of CPOS 2/0.
<Sysname> system-view
[Sysname] controller cpos 2/0
[Sysname-Cpos2/0] t3 2 alarm detect
# Enable T3 channel 2 of CPOS 2/0 to generate AIS alarm signals.
<Sysname> system-view
[Sysname] controller CPOS 2/0
[Sysname-Cpos2/0] t3 2 alarm generate ais
t3 set bert
Syntax
t3 t3-number set bert pattern { 2^7 | 2^11 | 2^15 | qrss } time number
undo t3 t3-number set bert pattern
View
CPOS interface view
Default Level
2: System level
Parameters
t3-number: Number of a T3 channel on the current CPOS interface, in the range of 1 to 3.
pattern: Sets a bit error rate test (BERT) pattern, which can be 2^7, 2^11, 2^15, or qrss.
l 2^7: Two to the seventh power, length (in bits) of the transmitted BERT pattern.
l 2^11: Two to eleventh power, length (in bits) of the transmitted BERT pattern.
l 2^15: Two to the fifteenth power, length (in bits) of the transmitted BERT pattern.
l qrss: Two to the twentieth power, length of the transmitted BERT pattern in bits. This is the Quasi-random signal sequence (QRSS) BERT pattern, which does not allow the presence of 14 consecutive zeros.
time number: Sets the duration of a BER test, in the range of 1 to 1440 minutes.
Description
Use the t3 set bert pattern command to start a BERT test on the specified T3 channel.
Use the undo t3 set bert pattern command to stop the BERT test running on the specified T3 channel.
By default, BERT is disabled.
ITU O.151, ITU O.153, and ANSI T1.403-1999 define many BERT patterns, among which 2^7, 2^11, 2^15, and QRSS are supported at present.
When running a BERT test, the local end sends out a pattern, which is looped over somewhere on the line and back to the local end. The local end then checks the received pattern for the bit error rate, and by so doing helps you determine whether the condition of the line is good. To this end, you must configure loopback to allow the transmitted pattern to loop back from somewhere on the line, for example, from the far-end interface by placing the interface in far-end loopback.
You can view the state and result of a BERT test with the display controller cpos t3 command.
Examples
# Run a 10-minute QRSS BERT test on T3 channel 2 of interface CPOS 2/0.
<Sysname> system-view
[Sysname] controller cpos 2/0
[Sysname-Cpos2/0]t3 2 bert pattern qrss time 10
t3 set clock
Syntax
t3 t3-number set clock { master | slave }
undo t3 t3-number set clock
View
CPOS interface view
Default Level
2: System level
Parameters
t3-number: Number of a T3 channel on the current CPOS interface, in the range of 1 to 3.
master: Sets the clock mode to master.
slave: Sets the clock mode to slave.
Description
Use the t3 set clock command to set clocking for the T3 channel.
Use the undo t3 set clock command to restore the default.
By default, the clock mode of a T3 channel is slave.
Note that, you can configure different clock modes for different T3 channels depending on the device each T3 channel is connected to. For example, when a T3 channel is connected to a SONET/SDH device, you should set its clock mode to slave; when two devices are directly connected through an optical fiber, you should set different clock modes for the two ends.
l The clock mode of a T3 channel of a CPOS interface is independent of that of any other T3 channel of the CPOS interface.
l You are recommended to configure the clock mode of a T3 channel the same as the global clock mode.
Examples
# Configure the clock mode as master for T3 channel 1 of CPOS 1/0.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] t3 1 set clock master
t3 set feac
Syntax
t3 t3-number set feac { detect | generate { ds3-los | ds3-ais | ds3-oof | ds3-idle | ds3-eqptfail | loopback { ds3-line | ds3-payload } } }
undo t3 t3-number set feac { detect | generate { ds3-los | ds3-ais | ds3-oof | ds3-idle | ds3-eqptfail | loopback { ds3-line | ds3-payload } } }
View
CPOS interface view
Default Level
2: System level
Parameters
t3-number: Number of a T3 channel on the current CPOS interface, in the range of 1 to 3.
detect: Enables periodical far end alarm and control (FEAC) signal detection on the specified T3 channel. By default, periodical FEAC signal detection is enabled.
generate: Generates and sends a specific type of FEAC signals. Specify ds3-los for DS3 LOS, ds3-ais for DS3 AIS, ds3-oof for DS3 out of frame (OOF), ds3-idle for DS3 idle, and ds3-eqptfail for DS3 equipment failure. By default, FEAC signal sending is disabled.
loopback: Sends a specific type of loopback code for activating far-end line loopback with the ds3-line keyword or payload loopback with the ds3-payload keyword. By default, loopback code sending is disabled.
Description
Use the t3 set feac command to enable FEAC channel signal detection or FEAC signal sending on the specified T3 interface.
Use the undo t3 set feac command to remove the current FEAC settings.
By default, FEAC signal detection and sending are disabled on a T3 channel.
FEAC is a channel formed by using the third C-bit in the first subframe in C-bit framing. It is used to transmit alarm state signals for the line test purpose or to transmit loopback control code for activating or deactivating far-end loopback during a loopback test.
According to ANSI T1.107a, the framing format used by FEAC channels is bit oriented protocol (BOP).
At the startup of your device, FEAC signal detection is enabled while FEAC signal sending is disabled on a T3 interface.
Note that, you need to disable FEAC signal detection before configuring far-end loopback to prevent loopback deadlock, which may happen when the local end enables loopback after detecting the loopback code sent back by the far end.
Examples
# Enable FEAC signal detection on T3 channel 1 of interface CPOS 1/0.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] t3 1 feac detect
# Enable T3 channel 1 of CPOS 1/0 to generate and send DS3 LOS alarm signals.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] t3 1 feac generate ds3-los
# Enable T3 channel 1 of interface CPOS 1/0 to send loopback code to the far end to place the far-end in a line loopback.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] t3 1 feac generate loopback ds3-line
t3 set frame-format
Syntax
t3 t3-number set frame-format { c-bit | m23 }
undo t3 t3-number set frame-format
View
CPOS interface view
Default Level
2: System level
Parameters
t3-number: Number of a T3 channel on the current CPOS interface, in the range of 1 to 3.
c-bit: Specifies C-bit framing (G.704) for carrying maintainable information such as FEAC.
m23: Specifies M23 (G.752) framing.
Description
Use the frame-format command to specify a framing format for the specified T3 interface on the current CPOS interface.
Use the undo frame-format command to restore the default.
By default, C-bit framing is adopted on a T3 interface.
Related commands: t3 set feac.
Examples
# Configure M23 framing on T3 channel 1 on interface CPOS 1/0.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] t3 1 set frame-format m23
t3 set loopback
Syntax
t3 t3-number set loopback { local | payload | remote }
undo t3 t3-number set loopback
View
CPOS interface view
Default Level
2: System level
Parameters
t3-number: Number of a T3 channel on the current CPOS interface, in the range of 1 to 3.
local: Enables internal loopback on the T3 channel.
payload: Enables external payload loopback on the T3 channel.
remote: Enables external loopback on the T3 channel.
Description
Use the t3 set loopback command to enable a type of loopback on the specified T3 channel.
Use the undo t3 set loopback command to disable loopback.
By default, loopback is disabled.
Loopback is designed for troubleshooting purposes. Disable it in normal cases.
Related commands: display controller cpos t3.
Examples
# Enable external payload loopback on T3 channel 1 of CPOS 1/0.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] t3 1 set loopback payload
t3 set mdl
Syntax
t3 t3-number set mdl { data { eic string | fic string | | gen-no string | lic string | pfi string | port-no string | unit string } | detect | generate { idle-signal | path | test-signal } }
undo t3 t3-number set mdl [ data [ eic | fic | gen-no | lic | pfi | port-no | unit ] | detect | generate [ idle-signal | path | test-signal ] ]
View
CPOS interface view
Default Level
2: System level
Parameters
t3-number: Specifies the number of a T3 channel on the current CPOS interface, in the range of 1 to 3.
detect: Enables periodical maintenance data link (MDL) message detection on the specified T3 channel.
data: Sets MDL message parameters. Among these parameters, eic, lic, fic, and unit are parameters common to the three types of MDL messages, while pfi, port-no, and gen-no are proprietary parameters of path messages, idle signal messages, and test signal messages respectively. Each of these parameters is user-configurable and has its own length restriction.
eic string: Specify the equipment ID, a string of 1 to 10 characters. By default, the equipment ID is line.
fic string: Specify the frame ID, a string of 1 to 10 characters. By default, the frame ID is line.
gen-no string: Specify the generator number string sent in MDL test signal messages. This string is of 1 to 38 characters and defaults to line.
lic string: Specify the location ID, a string of 1 to 11 characters. The location ID is line by default.
pfi string: Specify the facility ID sent in MDL path messages. This string is of 1 to 38 characters and defaults to line.
port-no string: Specify the port number string sent in MDL idle signal messages. This string is of 1 to 38 characters and defaults to line.
unit string: Specify the unit ID, a string of 1 to 6 characters. This string is line by default.
generate: Transmits the MDL messages specified by the data keyword periodically. MDL path messages, MDL idle signal messages, and MDL test signal messages can be sent simultaneously.
Description
Use the t3 set mdl command to configure maintenance data link (MDL) message detection and transmission on the specified T3 channel.
Use the undo t3 set mdl command to cancel the existing MDL message configuration.
Use the undo t3 set mdl data { eic | lic | fic | unit | pfi | port-no | gen-no } command to restore the default of a particular MDL message parameter.
MDL is a channel formed by using the three C-bits in the fifth subframe in C-bit framing. According to ANSI T1.107a, it is used to transmit three types of maintenance messages, path, idle signal, and test signal, and its data frame format is LAPD.
The output of the display controller cpos t3 command shows the receive/transmit status of the MDL link.
At startup of your device, periodical MDL message detection and sending are disabled on T3 channels, and the default MDL message parameters apply.
Examples
# Enable MDL message detection on T3 channel 1 of CPOS 1/0.
<Sysname> system-view
[Sysname] interface controller Cpos 1/0
[Sysname-Cpos1/0] t3 1 set mdl detect
# Set the location ID sent in MDL messages to hello and enable MDL messages transmission on T3 channel 1 of CPOS 1/0.
<Sysname> system-view
[Sysname] interface controller Cpos 1/0
[Sysname-Cpos1/0] t3 1 set mdl data lic hello
# Enable transmission of MDL path messages on T3 channel 1 of CPOS 1/0.
<Sysname> system-view
[Sysname] interface controller Cpos 1/0
[Sysname-Cpos1/0] t3 1 set mdl generate path
threshold
Syntax
threshold { sd | sf } value
undo threshold { sd | sf }
View
CPOS interface view
Default Level
2: System level
Parameters
value: SD or SF threshold, an integer in the range 3 to 9. It is interpreted as a negative exponent of 10e. For example, the threshold can be 10e-3.
sd: Sets the signal degrade (SD) threshold.
sf: Sets the signal fail (SF) threshold.
Description
Use the threshold command to set the SD or SF alarm threshold for a CPOS interface.
Use the undo threshold command to restore the default.
By default, the SD alarm threshold is 10e-6, and the SF alarm threshold is 10e-3.
SD and SF alarms are used to indicate current line performance. They are generated when the receiving end detects a certain amount of B2 errors. The bit error rate threshold of SF is higher than that of SD. When a small amount of errors occur, SD alarms are generated; When the error rate increases to a certain level, SF alarms are generated, indicating the line performance has been degrading seriously.
When setting the thresholds, set the SD threshold lower than the SF threshold.
Examples
# Set the SD threshold to 10e-4 on interface CPOS 1/0.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] threshold sd 4
using e3
Syntax
using e3 e3-number
undo using e3 e3-number
View
CPOS interface view
Default Level
2: System level
Parameters
e3-number: Number of an E3 channel on the current CPOS interface, in the range of 1 to 3.
Description
Use the using e3 command to create a serial interface corresponding to the unframed E3 channel.
Use the undo using command to remove the serial interface for the specified E3 channel.
By default, no serial interface is created for any E3 channel.
Examples
# Create a serial interface corresponding to the unframed E3 channel 1 on interface CPOS 1/0.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] using e3 1
[Sysname-Cpos1/0] interface serial 1/0/1:0
[Sysname-Serial1/0/1:0]
using t3
Syntax
using t3 t3-number
undo using t3 t3-number
View
CPOS interface view
Default Level
2: System level
Parameters
t3-number: Number of a T3 channel on the current CPOS interface, in the range of 1 to 3.
Description
Use the using t3 command to create a serial interface corresponding to the specified unframed T3 channel.
Use the undo using command to remove the serial interface for the specified unframed T3 channel.
By default, no serial interface is created for any T3 channel.
Examples
# Create a serial interface for T3 channel 1 on interface CPOS 1/0.
<Sysname> system-view
[Sysname] controller cpos 1/0
[Sysname-Cpos1/0] using t3 1