- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
05-CPOS interface commands | 196.77 KB |
CPOS interface commands
Commands in this chapter are supported only when the device has related interfaces. For the interfaces that the device has, see the installation guide and interface module manuals.
channel-align-mode
Use channel-align-mode to set the E1 channel alignment mode on a CPOS interface.
Use undo channel-align-mode to restore the default.
Syntax
channel-align-mode { alcatel | lucent }
undo channel-align-mode
Default
The E1 channel alignment mode is H3C.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
alcatel: Specifies Alcatel mode.
lucent: Specifies Lucent mode.
Usage guidelines
For E1 channels to operate correctly, channel number assignment must meet the following requirements:
· If this command is configured, use the same channel number assignment scheme as the peer end. For example, to communicate with channel 5 on a Lucent-mode CPOS interface, configure channel 5 on the local interface.
· If this command is not configured, you must map the channel number assignment schemes between the two ends. For example, to communicate with channel 25 on a Lucent-mode CPOS interface, you must configure channel 5 on the local interface.
You must execute this command before using the e1 channel-set or e1 unframed command.
Examples
# Set the E1 channel alignment mode to Alcatel on CPOS 2/2/1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] channel-align-mode alcatel
Related commands
e1 channel-set
e1 unframed
clock
Use clock to set the clock mode for a CPOS interface.
Use undo clock to restore the default.
Syntax
clock { master | slave }
undo clock
Default
The clock mode of a CPOS interface is slave.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
master: Sets the clock mode to master.
slave: Sets the clock mode to slave.
Usage guidelines
When the clock mode of a CPOS interface is master, it uses the internal clock source.
When the clock mode of a CPOS interface is slave, it uses the line clock source.
When connected to a SONET/SDH device, the CPOS interface must use the slave clock mode. The SONET/SDH network clock is more precise.
When two CPOS interfaces are directly connected, you must configure the two ends with different clock modes.
Examples
# Set the clock mode to master for CPOS 2/2/1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] clock master
controller cpos
Use controller cpos to enter CPOS interface view.
Syntax
controller cpos cpos-number
Views
System view
Predefined user roles
network-admin
Parameters
cpos-number: Specifies a CPOS interface by its number.
Examples
# Enter the interface view of CPOS 2/2/1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1]
default
Use default to restore the default settings for a CPOS interface.
Syntax
default
Views
CPOS interface view
Predefined user roles
network-admin
Usage guidelines
CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impact of this command when you use it on a live network. |
This command might fail to restore the default settings for some commands because of command dependencies or system restrictions. You can use the display this command in interface view to check for these commands and perform their undo forms or follow the command reference to restore their default settings. If your restoration attempt still fails, follow the error message to resolve the problem.
Examples
# Restore the default settings for CPOS 2/2/1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] default
description
Use description to configure the description of an interface.
Use undo description to restore the default.
Syntax
description text
undo description
Default
The interface description uses the interface name Interface format, for example, Cpos2/2/1 Interface.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
text: Specifies the description, a case-sensitive string of 1 to 255 characters.
Examples
# Configure the description of CPOS 2/2/1 as CPOS-interface.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] description CPOS-interface
display controller cpos
Use display controller cpos to display status information for CPOS interfaces.
Syntax
display controller [ cpos [ cpos-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
cpos [ cpos-number ]: Specifies a CPOS interface by its number. If you do not specify the cpos keyword, this command displays information about all CPOS interfaces. If you specify the cpos keyword without specifying an interface, this command displays information about all CPOS interfaces.
Usage guidelines
This command also displays alarms and errors that occurred to the regenerator section, multiplex section, and higher-order path.
The following table lists the possible error types in the command output.
Table 1 Possible output 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 frames with the Ft/Fs/FPS/FAS error. |
CERR |
CRC error. |
FEBE |
Far end block error. This error occurs when the E1 channel uses the CRC4 framing format. |
BERR |
PRBS bit error (pseudo-random binary sequence bit error, for test purposes only). |
BIP |
Bit-interleaved parity. |
REI |
Remote error indication. |
In this table, FRED, COFA, and SEF are called alarm errors (AERRs).
# Display CPOS 2/2/1 status information.
<Sysname> display controller cpos 2/2/1
Cpos2/2/1
Current state: UP
Description : Cpos2/2/1 Interface
Frame-format SDH,multiplex AU-4,clock master,loopback none
SD threshold: 6, SF threshold: 3
Optical:Absent
Regenerator section:
Tx: J0:"" (HEX: )
Rx: J0:"" (HEX: )
Alarm: LOS LOF OOF
Error: 0 RS_BIP
Multiplex section:
Alarm: MS_AIS MS_SF MS_SD
Error: 0 MS_BIP , 0 MS_REI
Higher order Path (VC-4-1):
Tx: J1:"", C2:0x02, S1S0:0x02
Rx: J1:"", C2:0x6d, S1S0:0x02
Alarm: HP_TIU HP_RDI HP_ERDI HP_PLM
Error: 0 HP_BIP, 0 HP_REI, 0 HP_PJE, 0 HP_NJE
CT1 1 is down
Frame-format: ESF, clock: slave, loopback: none
CT1 2 is down
Frame-format: ESF, clock: slave, loopback: none
CT1 3 is down
Frame-format: ESF, clock: slave, loopback: none
(Some information about T1 channels omitted)
CT1 83 is down
Frame-format: ESF, clock: slave, loopback: none
CT1 84 is down
Frame-format: ESF, clock: slave, loopback: none
Table 2 Command output
Field |
Description |
Current state |
Physical link state of the interface: · Administratively DOWN—The interface has been shut down by using the shutdown command. · DOWN—The interface is administratively up, but its physical state is down (possibly because no physical link exists or the link has failed). · UP—The interface is both administratively and physically up. |
Description |
Description of the interface. |
Last clearing of counters |
Last time when the reset counters interface cpos command was executed. This field displays Never if the command has not been executed on the interface since device startup. |
Current system time |
Current system date and time, which is displayed in the YYYY-MM-DD hh:mm:ss format by default. If the time zone is configured, this field is in the YYYY-MM-DD hh:mm:ss zone-name±hh:mm:ss format. |
Last time when physical state changed to up |
Last time when physical state of the interface changed to up. If the physical state of the interface has never changed to up, this field displays a hyphen (-). |
Last time when physical state changed to down |
Last time when physical state of the interface changed to down. If the physical state of the interface has never changed to down, this field displays a hyphen (-). |
Frame-format SDH, multiplex AU-4, clock master, loopback none |
Physical layer information of the CPOS interface: · The framing format is SDH. · The multiplexing path is AU-4. · The clock mode is master. · Loopback is disabled. |
SD threshold: 6 , SF threshold: 3 |
SD threshold and SF threshold of the CPOS interface. |
Vendor name |
Vendor name of the transceiver module. |
Port hardware type |
Hardware type of the interface. |
link length |
Transmission distance of the multimode optical fiber. |
Optical |
Transmission medium module. |
Tx: J0 |
Transmitted overhead bytes. |
Rx: J0 |
Received overhead bytes. |
Alarm |
Alarm statistics. |
Error |
Error statistics. |
Higher order Path(VC-4-1) |
Higher-order path. The multiplex path is AU-4. There is only one VC-4 for STM-1. |
CT1 1 is down |
The physical state of T1 channel 1 is down. The other states include up and Administratively DOWN. The channel name can also be CE1 or E1. |
Frame-format |
Framing format. |
Clock |
Clock mode. |
Loopback |
Whether loopback is enabled. |
· display controller cpos e1
· display controller cpos t1
display controller cpos e1
Use display controller cpos e1 to display status information for an E1 channel on a CPOS interface.
Syntax
display controller [ cpos cpos-number e1 e1-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
cpos cpos-number: Specifies a CPOS interface by its number.
e1 e1-number: Specifies the number of an E1 channel on the CPOS interface, in the range of 1 to 63.
Usage guidelines
If you do not specify the cpos cpos-number e1 e1-number option, this command displays status information for CPOS interfaces. If you specify the cpos cpos-number e1 e1-number option, this command displays errors and alarms that occurred to lower-order paths and E1 frames.
# Display the status information of E1 channel 1 on CPOS 2/2/1.
<Sysname> display controller cpos 2/2/1 e1 1
Cpos2/2/1
Current state: UP
Description: Cpos2/2/1 Interface
Lower order path:
TxFlag: J2: "" LP-C2: 2
RxFlag: J2: "" LP-C2: 7
Alarm: LP-AIS LP-RDI LP-RFI LP-C2-Mismatched LP-J2-Unstable
Error: 1164 BIP2, 2047 FEBE
CE1 1 (1-1-1-1) is down
Frame-format: NO-CRC4, clock: slave, loopback: none
Alarm: AIS LFA Red
Error: 0 Fer
Table 3 Command output
Field |
Description |
Current state |
Physical link state of the interface: · Administratively DOWN—The interface has been shut down by using the shutdown command. · DOWN—The interface is administratively up, but its physical state is down (possibly because no physical link exists or the link has failed). · UP—The interface is both administratively and physically up. |
Description |
Description of the interface. |
TxFlag |
Transmitted overhead bytes. |
RxFlag |
Received overhead bytes. If the J2 overhead bytes are invisible characters, this field displays RxFlag: J2: unknow. |
Alarm |
Alarm statistics. |
Error |
Error statistics. |
CE1 1 (1-1-1-1) is down |
E1 channel 1 is physically down. The four sections in 1-1-1-1 represent the VC-4 number, TUG-3 number, TUG-2 number, and TU-12 number, from left to right. |
Frame-format: NO-CRC4, clock: slave, loopback: none |
Physical layer information for the E1 channel: · The framing format is no-CRC4. · The clock mode is slave. · Loopback is disabled. |
display controller cpos t1
Use display controller cpos t1 to display status information for a T1 channel on a CPOS interface.
Syntax
display controller [ cpos cpos-number t1 t1-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
cpos cpos-number: Specifies a CPOS interface by its number.
t1 t1-number: Specifies the number of a T1 channel on the CPOS interface. The value range is 1 to 84.
Usage guidelines
If you do not specify the cpos cpos-number t1 t1-number option, this command displays status information for CPOS interfaces. If you specify the cpos cpos-number t1 t1-number option, this command displays errors and alarms that occurred to lower-order paths and T1 frames.
Examples
# Display the status information of T1 channel 1 on CPOS 2/2/1.
<Sysname> display controller cpos 2/2/1 t1 1
Cpos2/2/1
Current state: UP
Description : Cpos2/2/1 Interface
Lower order path:
TxFlag: J2: "" LP-C2: 2
RxFlag: J2: "" LP-C2: 7
Alarm: LP-AIS LP-RDI LP-RFI LP-C2-Mismatched LP-J2-Unstable
Error: 1080 BIP2, 2047 FEBE
CT1 1 (1-1-1-1) is down
Frame-format: ESF, clock: slave, loopback: none
Alarm: AIS LFA Red
Error: 0 Bit Error, 0 Fer, 0 OOF
Table 4 Command output
Field |
Description |
Current state |
Physical link state of the interface: · Administratively DOWN—The interface has been shut down by using the shutdown command. · DOWN—The interface is administratively up, but its physical state is down (possibly because no physical link exists or the link has failed). · UP—The interface is both administratively and physically up. |
Description |
Description of the interface. |
TxFlag: |
Transmitted overhead bytes. |
RxFlag: |
Received overhead bytes. If the J2 overhead bytes are invisible characters, this field displays RxFlag: J2: unknow. |
Alarm |
Alarm statistics. |
Error |
Error statistics. |
CT1 1 (1-1-1-1) is down |
T1 channel 1 is physically down. The four sections in 1-1-1-1 represents the VC-3 number, TUG-3 number, TUG-2 number, and TU-11 number, from left to right. |
Frame-format: ESF, clock: slave, loopback: none |
Physical layer information for the T1 channel: · The framing format is ESF. · The clock mode is slave. · Loopback is disabled. |
e1 channel-set
Use e1 channel-set to bundle timeslots on an E1 channel into one channel set.
Use undo e1 channel-set to remove a channel set.
Syntax
e1 e1-number channel-set set-number timeslot-list range
undo e1 e1-number channel-set set-number
Default
No channel sets exist.
Views
Predefined user roles
network-admin
Parameters
e1-number: Specifies the number of an E1 channel on the CPOS interface. The value range for this argument is 1 to 63.
set-number: Specifies a channel set number in the range of 0 to 30.
timeslot-list range: Specifies a comma-separated list of timeslot items. An item can be an individual timeslot or a timeslot range. Use a hyphen (-) to separate the start and end timeslot numbers of a range. The value range for the timeslot number is 1 to 31.
Usage guidelines
When the E1 channel is channelized, timeslot 0 is used for synchronization. The other 31 timeslots can be bundled to form one or multiple channel sets. For each channel set, the system automatically creates a serial interface numbered in the format interface number/channel number:channel set number.
For successful communication, make sure the local end has the same timeslot bundling settings as the remote end.
Examples
# Bundle timeslots 1 to 31 into a channel set on E1 channel 63.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] e1 63 channel-set 1 timeslot-list 1-31
# Enter the view of the serial interface created for the channel set.
[Sysname-Cpos2/2/1] quit
[Sysname] interface serial 2/2/1/63:1
[Sysname-Serial2/2/1/63:1]
e1 unframed
e1 clock
Use e1 clock to set the clock mode of an E1 channel.
Use undo e1 clock to restore the default clock mode of an E1 channel.
Syntax
e1 e1-number clock { master | slave }
undo e1 e1-number clock
Default
The clock mode of an E1 channel is slave.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
e1-number: Specifies the number of an E1 channel on the CPOS interface. The value range for this argument is 1 to 63.
master: Sets the clock mode to master.
slave: Sets the clock mode to slave.
Usage guidelines
The clock mode settings of E1 channels on a CPOS interface are independent of one another.
Set the clock mode on an E1 channel depending on its connected device.
· If the connected device is a SONET/SDH device, enable the slave clock mode on the channel. The SONET/SDH network clock is more precise than the clock provided by the device.
· If the E1 channel is directly connected to a router, make sure the E1 channel uses a different clock mode than the peer end.
Examples
# Set the clock mode to master on E1 channel 1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] e1 1 clock master
e1 flag
Use e1 flag to set the C2 or J2 overhead byte for an E1 channel.
Use undo e1 flag to restore the default C2 or J2 overhead byte for an E1 channel.
Syntax
e1 e1-number flag { c2 c2-value | j2 { sdh | sonet } j2-string }
undo e1 e1-number flag { c2 | j2 { sdh | sonet } }
Default
The C2 byte value is 2 (hexadecimal).
The cyclic value for the J2 byte is cyclic null.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
e1-number: Specifies an E1 channel by its number. The value range for this argument is 1 to 63.
c2: Specifies the low-order channel signal tag byte (C2).
c2-value: Specifies the value of the C2 byte. The value range is 0 to 7 (except 5) in hexadecimal notation.
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: Specifies the string filled in the J2 byte, a string of 1 to 15 characters for SDH or a string of 1 to 62 characters for SONET.
Examples
# Set the C2 byte to 7 (hexadecimal) for E1 channel 3.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] e1 3 flag c2 7
e1 frame-format
Use e1 frame-format to set the framing format of an E1 channel.
Use undo e1 frame-format to restore the default framing format of an E1 channel.
Syntax
e1 e1-number frame-format { crc4 | no-crc4 }
undo e1 e1-number frame-format
Default
The framing format of an E1 channel is no-CRC4.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
e1-number: Specifies the number of an E1 channel on the CPOS interface. The value range for this argument is 1 to 63.
crc4: Sets the framing format to CRC4.
no-crc4: Sets the framing format to no-CRC4.
Examples
# Set the framing format to CRC4 for E1 channel 1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] e1 1 set frame-format crc4
e1 loopback
Use e1 loopback to set the loopback mode for an E1 channel.
Use undo e1 loopback to disable loopback for an E1 channel.
Syntax
e1 e1-number loopback { local | payload | remote }
undo e1 e1-number loopback
Default
Loopback is disabled on an E1 channel.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
e1-number: Specifies the number of an E1 channel on the CPOS interface. The value range for this argument is 1 to 63.
local: Enables internal loopback.
payload: Enables external payload loopback.
remote: Enables external loopback.
Usage guidelines
You can test E1 channels by using the loopback command with different keywords.
· In an internal loopback, the sender's data 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.
Examples
# Enable external payload loopback on E1 channel 1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] e1 1 set loopback payload
display controller cpos e1
e1 shutdown
Use e1 shutdown to shut down an E1 channel.
Use undo e1 shutdown to bring up an E1 channel.
Syntax
e1 e1-number shutdown
undo e1 e1-number shutdown
Default
E1 channels are up.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
e1-number: Specifies the number of an E1 channel on the CPOS interface. The value range for this argument is 1 to 63.
Usage guidelines
When you shut down an E1 channel, its associated serial interfaces are also shut down.
Examples
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] e1 1 shutdown
e1 unframed
Use e1 unframed to configure an E1 channel on a CPOS interface to operate in unframed mode.
Use undo e1 unframed to restore the default operating mode of an E1 channel on a CPOS interface.
Syntax
e1 e1-number unframed
undo e1 e1-number unframed
Default
E1 channels on a CPOS interface operate in framed mode.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
e1-number: Specifies the number of an E1 channel on the CPOS interface. The value range for this argument is 1 to 63.
Usage guidelines
E1 channels on CPOS interfaces support the unframed (clear channel) mode and the framed (channelized) mode.
· In unframed mode, an E1 channel can form a 2.048 Mbps serial interface without timeslot division. It is numbered in the format of interface-number/channel-number:0.
· In framed mode, all timeslots except timeslot 0 on the E1 channel can be bundled randomly to form serial interfaces.
Examples
# Set E1 channel 3 on CPOS 2/2/1 to operate in unframed mode.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] e1 3 unframed
flag
Use flag to set an overhead byte for SONET/SDH frames.
Use undo flag to restore the default of the specified overhead byte for SONET/SDH frames.
Syntax
flag { c2 path-number c2-value | s1 s1-value | s1s0 path-number s1s0-value }
undo flag { c2 path-number | s1 | s1s0 path-number }
flag { j0 | j1 path-number } { sdh | sonet } flag-value
undo flag { j0 | j1 path-number } { sdh | sonet }
Default
· The C2 byte value is 2 (hexadecimal).
· The S1 byte value is f (hexadecimal).
· The value of S1S0 is 0 (hexadecimal) for SONET and 2 (hexadecimal) for SDH.
· The J0 byte value is 1 (hexadecimal) for SONET. The J0 byte value for SDH is a 16-byte null string.
· The J1 byte value for SONET is a 64-byte null string. The J1 byte value for SDH is a 16-byte null string.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
c2 path-number c2-value: Specifies the number of a path and the path signal label byte. The value range for the c2-value argument is 0 to ff in hexadecimal notation.
s1 s1-value: Specifies the synchronization status byte in the range of 0 to ff (hexadecimal).
s1s0 path-number s1s0-value: Specifies the number of a path and the AU type and TU type. The value range for the s1s0-value argument is 0 to 3.
j0: Specifies the regenerator section trace message, which is a section overhead byte used to detect the continuity of the connection between two interfaces at the section layer.
j1 path-number: Specifies the path trace message, which is a higher-order path overhead byte used to detect the continuity of the connection between two interfaces at the path layer.
sdh: Specifies the SDH framing format.
sonet: Specifies the SONET framing format.
flag-value: Specifies the flag value for SDH or SONET frames. In SDH frames, the flag value is a string of 1 to 15 characters for both the J0 and J1 bytes. In SONET frames, the flag value is in the range of 0 to ff (hexadecimal) for the J0 byte and a string of 1 to 62 characters for the J1 byte.
Usage guidelines
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 from different countries, areas, and vendors.
J0 is a section overhead byte used for detecting the continuity of the connection between two interfaces at the section layer. 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.
S1 is the synchronization status byte used to transfer ITU-T clock quality information. A smaller value indicates higher clock precision.
S1S0 are two bits in the H1 byte. They are used by ITU to indicate the AU-n/TU-n type. S1S0 must be set to 2 for AU-4, AU-3, and TU-3.
Examples
# Set the J0 byte to aa on CPOS 2/2/1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] flag j0 sdh aa
display controller cpos
frame-format
Use frame-format to set the framing format on a CPOS interface.
Use undo frame-format to restore the default framing format on a CPOS interface.
Syntax
frame-format { sdh | sonet }
undo frame-format
Default
The framing format on a CPOS interface is SDH.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
sdh: Specifies the SDH framing format.
sonet: Specifies the SONET framing format.
Examples
# Set the framing format to SONET on CPOS 2/2/1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] frame-format sonet
loopback
Use loopback to enable loopback on a CPOS interface.
Use undo loopback to disable loopback on a CPOS interface.
Syntax
loopback { local | remote }
undo loopback
Default
Loopback is disabled on a CPOS interface.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
local: Enables internal loopback to test the physical interface.
remote: Enables external loopback to test the cable connected to the interface.
Usage guidelines
Loopback is intended for testing only. Disable the feature when the interface is operating correctly.
Examples
# Enable external loopback testing on CPOS 2/2/1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] loopback remote
multiplex mode
Use multiplex mode to set AUG multiplexing mode for a CPOS interface.
Use undo multiplex mode to restore the default AUG multiplexing mode for a CPOS interface.
Syntax
multiplex mode { au-3 | au-4 }
undo multiplex mode
Default
The AUG multiplexing mode is au-4.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
au-3: Gets AUG through AU-3.
au-4: Gets AUG through AU-4.
Usage guidelines
SDH provides the following payload mapping/multiplexing solutions:
· ANSI—Uses the AU-3 multiplexing scheme. This scheme multiplexes the lower-order payload to 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.
· ETSI—Uses the AU-4 multiplexing scheme. This scheme multiplexes the lower-order payload to 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 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. The multiplex mode command does not take effect.
Countries and regions use different multiplexing schemes. You must use the same multiplexing scheme as the peer device. For example, the AU-4 multiplexing scheme is used in China.
Examples
# In SDH mode, multiplex AUG to AU-3.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] frame-format sdh
[Sysname-Cpos2/2/1] multiplex mode au-3
Related commands
frame-format
reset counters controller cpos
Use reset counters controller cpos to clear CPOS interface statistics.
Syntax
reset counters controller cpos [ interface-number ]
Views
User view
Predefined user roles
network-admin
Parameters
cpos [ interface-number ]: Specifies a CPOS interface by its number. If you do not specify a CPOS interface, this command clears statistics for all CPOS interfaces.
Usage guidelines
Use this command to clear history statistics before you collect traffic statistics for a time period.
To display CPOS interface statistics, use the display controller cpos command.
Examples
# Clear statistics for CPOS 2/2/1.
<Sysname> reset counters controller cpos 2/2/1
display controller cpos
shutdown
Use shutdown to shut down a CPOS physical interface.
Use undo shutdown to bring up a CPOS physical interface.
Syntax
shutdown
undo shutdown
Default
The CPOS physical interface is up.
Views
Predefined user roles
network-admin
Usage guidelines
The shutdown command on the CPOS physical interface shuts down all E1/T1 channels and serial interfaces formed by timeslot bundles. As a result, they stop transmitting and receiving data. To bring them up, use the undo shutdown command on the CPOS physical interface.
Examples
<Sysname> system-view
[Sysname] controller cpos 2/2/1
t1 channel-set
Use t1 channel-set to bundle timeslots on a T1 channel into one channel set.
Use undo t1 channel-set to remove a channel set.
Syntax
t1 t1-number channel-set set-number timeslot-list range [ speed { 56k | 64k } ]
undo t1 t1-number channel-set set-number
Default
No channel sets exist.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
t1-number: Specifies the number of a T1 channel on the CPOS interface. The value range for this argument is 1 to 84.
set-number: Specifies a channel set by its number in the range of 0 to 23.
timeslot-list range: Specifies a comma-separated list of timeslot items. An item can be an individual timeslot or a timeslot range. Use a hyphen (-) to separate the start and end timeslot numbers of a range. The value range for the timeslot number is 1 to 24.
speed: Specifies the speed of a timeslot. The default timeslot speed is 64 kbps. The interface speed is the number of bundled timeslots multiplying the specified timeslot speed.
Usage guidelines
A T1 channel in channelized mode is divided into 24 timeslots numbered 1 through 24. The 24 timeslots can be bundled to form one or multiple channel sets. For each channel set, the system automatically creates a serial interface numbered in the format interface number/channel number:channel set number.
For successful communication, make sure the local end has the same timeslot bundling settings as the remote end.
Examples
# Bundle timeslots 1 through 23 into a channel set on T1 channel 1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] t1 1 channel-set 1 timeslot-list 1-23
# Enter the view of the serial interface created for the channel set.
[Sysname-Cpos2/2/1] quit
[Sysname] interface serial 2/2/1/1:1
[Sysname-Serial2/2/1/1:1]
t1 unframed
t1 clock
Use t1 clock to set the clock mode of a T1 channel.
Use undo t1 clock to restore the default clock mode of a T1 channel.
Syntax
t1 t1-number clock { master | slave }
undo t1 t1-number clock
Default
The clock mode of a T1 channel is slave.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
t1-number: Specifies the number of a T1 channel on the CPOS interface. The value range for this argument is 1 to 84.
master: Sets the clock mode to master.
slave: Sets the clock mode to slave.
Usage guidelines
The clock mode settings of the T1 channels on a CPOS interface are independent of one another.
Set the clock mode on a T1 channel depending on its connected device.
· If the connected device is a SONET/SDH device, enable the slave clock mode on the channel. The SONET/SDH network clock is more precise than the clock provided by the device.
· If the T1 channel is directly connected to a router, make sure the T1 channel uses a different clock mode than the peer end.
Examples
# Set the clock mode to master on T1 channel 1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] t1 1 clock master
t1 flag
Use t1 flag to set the C2 or J2 overhead byte for a T1 channel.
Use undo t1 flag to restore the default C2 or J2 overhead byte for a T1 channel.
Syntax
t1 t1-number flag { c2 c2-value | j2 { sdh | sonet } j2-string }
undo t1 t1-number flag { c2 | j2 { sdh | sonet } }
Default
The C2 byte value is 2 (hexadecimal).
The cyclic value for the J2 byte is cyclic null.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
t1-number: Specifies a T1 channel by its number. The value range for this argument is 1 to 84.
c2: Specifies the low-order channel signal tag byte (C2).
c2-value: Specifies the value of the C2 byte. The value range is 0 to 7 (except 5) in hexadecimal notation.
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: Specifies the string filled in the J2 byte, a string of 1 to 15 characters for SDH or a string of 1 to 62 characters for SONET.
Examples
# Set the C2 byte to 7 (hexadecimal) for T1 channel 3.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] t1 3 flag c2 7
t1 frame-format
Use t1 frame-format to set the framing format for a T1 channel.
Use undo t1 frame-format to restore the default framing format for a T1 channel.
Syntax
t1 t1-number frame-format { esf | sf }
undo t1 t1-number frame-format
Default
The framing format for a T1 channel is ESF.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
t1-number: Specifies the number of a T1 channel on the CPOS interface. The value range for this argument is 1 to 84.
esf: Specifies the extended super frame (ESF) format.
sf: Specifies the super frame (SF) format.
Examples
# Set the framing format to SF for T1 channel 1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] t1 1 set frame-format sf
t1 loopback
Use t1 loopback to set the loopback mode for a T1 channel.
Use undo t1 loopback to disable loopback for a T1 channel.
Syntax
t1 t1-number loopback { local | payload | remote }
undo t1 t1-number loopback
Default
Loopback is disabled on T1 channels.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
t1-number: Specifies the number of a T1 channel on the CPOS interface. The value range for this argument is 1 to 84.
local: Enables internal loopback.
payload: Enables external payload loopback.
remote: Enables external loopback.
Usage guidelines
Loopback is intended for testing only. Disable the feature when the TI channel is operating correctly.
Examples
# Enable external loopback on T1 channel 1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] t1 1 set loopback payload
display controller cpos t1
t1 shutdown
Use t1 shutdown to shut down a T1 channel.
Use undo t1 shutdown to bring up a T1 channel.
Syntax
t1 t1-number shutdown
undo t1 t1-number shutdown
Default
T1 channels are up.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
t1-number: Specifies the number of a T1 channel on the CPOS interface. The value range for this argument is 1 to 84.
Usage guidelines
When you shut down a T1 channel, its associated serial interfaces are also shut down.
Examples
# Shut down T1 channel 1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] t1 1 shutdown
t1 unframed
Use t1 unframed to configure a T1 channel on a CPOS interface to operate in unframed mode.
Use undo t1 unframed to restore the default operating mode of a T1 channel on a CPOS interface.
Syntax
t1 t1-number unframed
undo t1 t1-number unframed
Default
T1 operates in framed mode.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
t1-number: Specifies the number of a T1 channel on the CPOS interface. The value range for this argument is 1 to 84.
Usage guidelines
T1 channels on CPOS interfaces support the unframed (clear channel) mode and the framed (channelized) mode.
· In unframed mode, a T1 channel can form a 1.544 Mbps serial interface without timeslot division. This interface is numbered in the format of interface-number/channel-number:0.
· In framed mode, 24 timeslots of a T1 channel can be bound randomly to form serial interfaces.
Examples
# Set T1 channel 3 on CPOS 2/2/1 to operate in unframed mode.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] t1 3 unframed
threshold
Use threshold to configure the power for setting the SD or SF alarm threshold on a CPOS interface.
Use undo threshold to restore the default power for setting the SD or SF alarm threshold on a CPOS interface.
Syntax
threshold { sd sdvalue | sf sfvalue } *
undo threshold [ sd | sf ]
Default
The SD alarm threshold is 6 and the SF alarm threshold is 3.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
sd: Specifies the SD alarm threshold.
sdvalue: Specifies the power for setting the SD alarm threshold. The threshold is 10e to the power of negative sdvalue (10e–sdvalue). The value range for this argument is 3 to 9. The greater the value, the lower the SD alarm threshold.
sf: Specifies the SF alarm threshold. The SF alarm threshold must be higher than the SD alarm threshold.
sfvalue: Specifies the power for setting the SF alarm threshold. The threshold is 10e to the power of negative sdvalue (10e–sfvalue). The value range for this argument is 3 to 9. The greater the value, the lower the SF alarm threshold.
Usage guidelines
SD and SF alarms indicate line performance. SF alarms are more severe than SD alarms.
· An SD alarm occurs if the bit error rate reaches the SD alarm threshold.
· An SF alarm occurs if the bit error rate reaches the SF alarm threshold.
Examples
# Set the SD threshold to 10e to the power of negative 4 (10e–4) on CPOS 2/2/1.
<Sysname> system-view
[Sysname] interface cpos 2/2/1
[Sysname-Cpos2/2/1] threshold sd 4