- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
05-CPOS interface commands | 100.46 KB |
CPOS interface commands
alarm-detect
Use alarm-detect to configure the action to take when an RDI, SD, or SF alarm occurs on an interface.
Use undo alarm-detect to restore the default.
Syntax
alarm-detect { rdi | sd | sf } action link-down
undo alarm-detect { rdi | sd | sf }
Default
The device does not take any actions on the interface when an RDI, SD, or SF alarm occurs.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
rdi: Specifies remote defect indication (RDI) alarms.
sd: Specifies signal degrade (SD) alarms.
sf: Specifies signal fail (SF) alarms.
action: Specifies the action to take when the specified alarm is detected on the interface.
link-down: Places the interface in down state.
Usage guidelines
An RDI alarm occurs if the device receives multiplexer section remote defect indication (MS-RDI) signals from the remote end.
An SD or SF alarm occurs if the bit error rate of incoming packets crosses the SD or SF alarm threshold. To set the SD or SF alarm threshold, use the threshold command.
Examples
# Configure CPOS 2/2/1 to go down when an SD alarm occurs.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] alarm-detect sd action link-down
Related commands
Threshold
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] 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 and CE1 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: DOWN
Description: Cpos2/2/1 Interface
Last clearing of counters: Never
Current system time:2013-02-20 12:56:36
Last time when physical state changed to up:-
Last time when physical state changed to down:2013-02-19 12:06:46
Port connector type: No connector
Physical layer is packet over SDH
Port speed type: STM-1
Multiplex mode: AU-4
Loopback is not set
Clock source: Slave
Clock grade: Quality unknown(existing synchronization network)
BER thresholds:
SD: 10e-6 SF: 10e-4
Regenerator section layer:
J0(TX): "SR8800"
53 52 38 38 30 30 00 00 00 00 00 00 00 00 00 00
J0(RX): ""
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Alarm: LOS
Error: 0 BIP(B1)
Multiplex section layer:
Alarm: None
Error: 0 BIP(B2), 0 REI(M1)
Higher order path layer:
C2(TX): 0x2 C2(RX): 0xff
S1S0(TX): 0x2 S1S0(RX): -
J1(TX): "SR8800"
53 52 38 38 30 30 00 00 00 00 00 00 00 00 00 00
J1(RX): ""
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Alarm: AIS TIM RDI SLM
Error: 0 BIP(B3), 0 REI(G1)
0 PJE, 0 NJE
Cpos2/2/1 CE1 1 (C12 1-1-1-1) is DOWN
Frame-format NO-CRC4, clock slave, loopback not set
(some CE1 channel information omitted)
Port statistic:start time: 2013-02-19 12:06:46
UP time: 0 H 0 M 0 S
Section: ES 0 SES 0 SEFS 0
Line : ES 0 SES 0 UAS 0 FE-ES 0
Path1 : ES 0 SES 0 UAS 0 FE-ES 0
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 |
The most recent time that the reset counters interface pos 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 time in the YYYY-MM-DD HH:MM:SS format. If the time zone is configured, this field is in the YYYY-MM-DD HH:MM:SS UTC±HH:MM:SS format. |
Last time when physical state changed to up |
Last time when physical state of the interface changed to up. A hyphen (-) indicates that the physical state of the interface has not changed to up. |
Last time when physical state changed to down |
Last time when physical state of the interface changed to down. A hyphen (-) indicates that the physical state of the interface has not changed to down. |
Port connector type |
Type of the transceiver module on the interface. |
Physical layer |
Physical interface. |
Port speed type |
Interface transmission rate. |
Multiplex mode |
Multiplexing path for the AUG of the CPOS interface. |
Loopback is not set |
Loopback is disabled. |
Clock source |
Clock mode. |
BER thresholds |
SD threshold and SF threshold of the CPOS interface. |
Regenerator section layer |
Alarm and error statistics for the regenerator section. |
J0(TX) |
Transmitted overhead bytes. |
J0(RX) |
Received overhead bytes. |
Alarm |
Alarm statistics. |
Error |
Error statistics. |
Multiplex section layer |
Alarm and error statistics for the multiplex section. |
Higher order path layer |
Alarm and error statistics for the higher order path. The multiplex path is AU-4. There is only one VC-4 for STM-1. |
C2(TX) |
Transmitted C2 bytes. |
C2(RX) |
Received C2 bytes. |
J1(TX) |
Transmitted J1 trace message value. |
J1(RX) |
Received J1 trace message value. |
S1S0(TX) |
Transmitted S1S0 bytes. |
S1S0(RX) |
Received S1S0 bytes. |
CE1 1 (C12 1-1-1-1) is DOWN |
The physical state of E1 channel 1 is down. |
Frame-format NO-CRC4, clock slave, loopback not set |
Physical layer information for the E1 channel: · The framing format is no-CRC4. · The clock mode is slave. · Loopback is disabled. |
Port statistic:start time |
Starting time for interface statistics. |
UP time |
Time when the interface was brought up. |
Section |
Alarm seconds for the regenerator section: · Error Seconds (ES)—Minor error alarm seconds. · Serious Error Seconds (SES)—Sever error alarm seconds. · Serious Error Frame Seconds (SEFS)—Sever frame error alarm seconds. |
Line |
Alarm seconds for the multiplex section: · Unavailable Seconds (UAS)—Unavailable alarm seconds. This field value starts to count after 10 seconds of continuous SES. · FE-ES (Far End Errored Seconds)—Alarm seconds for remote errors. This field value starts to count when the peer end sends an REI RDI alarm. · ES (Error Seconds)—Alarm seconds for general errors. · SES (Serious Error Seconds)—Alarm seconds for serious errors. |
Path1 |
Alarm seconds for higher-order path 1: · Unavailable Seconds (UAS)—Unavailable alarm seconds. This field value starts to count after 10 seconds of continuous SES. · FE-ES (Far End Errored Seconds)—Alarm seconds for remote errors. This field value starts to count when the peer end sends an REI RDI alarm. · ES (Error Seconds)—Alarm seconds for general errors. · SES (Serious Error Seconds)—Alarm seconds for serious errors. |
display controller cpos e1
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: DOWN
Description: Cpos2/2/1 Interface
Last clearing of counters: Never
Current system time:2017-12-20 13:59:33
Last time when physical state changed to up:-
Last time when physical state changed to down:2017-12 -20 12:40:39
Port connector type: No connector
Physical layer is packet over SDH
Port speed type: STM-1
Multiplex mode: AU-4
Loopback is not set
Clock source: Slave
Clock grade: Quality unknown(existing synchronization network)
BER thresholds:
SD: 10e-6 SF: 10e-4
Regenerator section layer:
J0(TX): "SR8800"
53 52 38 38 30 30 00 00 00 00 00 00 00 00 00 00
J0(RX): ""
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Alarm: LOS
Error: 0 BIP(B1)
Multiplex section layer:
Alarm: None
Error: 0 BIP(B2), 0 REI(M1)
Higher order path layer:
C2(TX): 0x2 C2(RX): 0xff
S1S0(TX): 0x2 S1S0(RX): -
J1(TX): "SR8800"
53 52 38 38 30 30 00 00 00 00 00 00 00 00 00 00
J1(RX): ""
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Alarm: AIS TIM RDI SLM
Error: 0 BIP(B3), 0 REI(G1)
0 PJE, 0 NJE
Lower order path layer (C12 1-1-1-1):
C2(TX): 0x02 C2(RX): 0x07
J2(TX): "SR8800"
J2(RX): ""
Alarm: AIS RDI TIM
Error: 0 BIP
Cpos2/2/1 CE1 1 (C12 1-1-1-1) is DOWN
Frame-format NO-CRC4, clock slave, loopback not set
Alarm: AIS
Port statistic:start time: 2017-12 -20 12:40:38
UP time: 0 H 0 M 0 S
Section: ES 0 SES 0 SEFS 0
Line : ES 0 SES 0 UAS 0 FE-ES 0
Path1 : ES 0 SES 0 UAS 0 FE-ES 0
For the command output description, see Table 2.
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 SR8800.
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 on CPOS 2/2/1.
<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 | 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.
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 loopback, data received by the receiver is looped back directly without passing through the E1 framer.
Examples
# Enable external loopback on E1 channel 1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] e1 1 set loopback remote
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 SR8800..
· The J1 byte value for SONET and the J1 byte value for SDH are both SR8800.
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.
s1s0 path-number s1s0-value: Specifies the number of a path and the AU type and TU type.
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
link-delay
Use link-delay to set the physical state change suppression interval on a CPOS interface.
Use undo link-delay to restore the default.
Syntax
link-delay seconds
undo link-delay
Default
The physical state change suppression interval is 1 second on a CPOS interface.
Views
CPOS interface view
Predefined user roles
network-admin
Parameters
seconds: Sets the physical state change suppression interval in the range of 0 to 30 seconds.
Usage guidelines
When the physical state changes, a CPOS interface reports the event to the upper-layer modules, and generates log and SNMP notification messages. To reduce system overhead caused by frequent physical state changes, use this command to suppress physical state changes within an interval. The interface will ignore any changes that occur during each suppression interval. When the suppression interval expires, the interface will not report the change event or generate messages if the change is removed.
For example, the suppression interval starts when the interface changes from up to down. The interface reports the change event and generates messages if it is still down when the interval expires. The interface does not report the change event or generate messages if it is up when the interval expires.
Examples
# Set the physical state change suppression interval to 8 seconds on CPOS 2/2/1.
<Sysname> system-view
[Sysname] controller cpos 2/2/1
[Sysname-Cpos2/2/1] link-delay 8
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 on a CPOS interface in SDH mode.
The AUG multiplexing mode is au-3 on a CPOS interface in SONET mode.
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, which cannot be modified.
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 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
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 10e-6 and the SF alarm threshold is 10e-4.
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