- 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 |
---|---|---|
12-E-CPOS Interface Commands | 99.37 KB |
E-CPOS Interface Configuration Commands
clock
Syntax
clock { master | slave }
undo clock
View
E-CPOS interface view
Default Level
2: System level
Parameters
master: Sets the E-CPOS interface to use the internal clock.
slave: Sets the E-CPOS interface to use the clock from the line.
Description
Use the clock command to set the clock mode of the E-CPOS interface.
Use the undo clock command to restore the default.
By default, the clock mode of an E-CPOS interface is slave.
When an E-CPOS interface is connected to a SONET/SDH device, you need to set the clock mode of the interface to slave because the clock of a SONET/SDH network is more precise. When two E-CPOS interfaces are directly fiber-connected, you can set either of them of work in slave clock mode but must ensure that the two ends operate in different clock modes.
Examples
# Set the clock mode of interface E-CPOS 1/0 to master.
<Sysname> system-view
[Sysname] controller e-cpos 1/0
[Sysname-E-Cpos1/0] clock master
controller e-cpos
Syntax
controller e-cpos e-cpos-number
View
System view
Default Level
2: System level
Parameters
e-cpos-number: E-CPOS interface number.
Description
Use the controller e-cpos command to enter E-CPOS interface view.
To configure an E-CPOS interface, you must enter its interface view first.
Examples
# Enter the view of interface E-CPOS 1/0.
<Sysname> system-view
[Sysname] controller e-cpos 1/0
[Sysname-E-Cpos1/0]
display controller e-cpos
Syntax
display controller e-cpos [ e-cpos-number ]
View
Any view
Default Level
Parameters
e-cpos-number: E-CPOS interface number.
Description
Use the display controller e-cpos command to display information about the specified E-CPOS interface or all E-CPOS interfaces if no E-CPOS interface is specified. The output of the command includes channel status information and alarms and errors of the regenerator section, multiplex section, and high-order path.
Examples
# Display information about all channels of interface E-CPOS 1/0.
<Sysname> display controller e-cpos 1/0
E-Cpos1/0 current state: DOWN
Description : E-Cpos1/0 Interface
Physical layer is channelized STM-16/OC-48
Frame-format is SDH, clock slave, loopback not set
SD Threshold: 6, SF Threshold: 3
Optical:Absent
SDH alarm:
section layer: LOS LOF OOF
line layer: MS_SF MS_SD
TxFlag: J0: ""
RxFlag: J0: ""
SDH error:
section layer: RS_BIP(B1) 0
line layer: MS_BIP(B2) 0, MS_REI 0
Table 1-1 display controller e-cpos command output description
Field |
Description |
E-Cpos1/0 current state |
Current physical state of the E-CPOS interface |
Description |
Description of the interface |
Physical layer is channelized STM-16/OC-48 |
The interface rate on the physical layer is 2.5 Gbps. |
Frame-format is SDH, clock slave, loopback not set |
Physical layer information of the E-CPOS interface: the framing format is set to SDH, slave clock mode is used, and loopback is disabled. |
SD threshold: 6 , SF threshold: 3 |
The signal degrade (SD) threshold and signal fail (SF) threshold of the E-CPOS interface |
Optical:Absent |
The optical module is absent. |
SDH alarm: section layer: LOS LOF OOF line layer: MS_SF MS_SD TxFlag: J0: "" RxFlag: J0: "" SDH error: section layer: RS_BIP(B1) 0 line layer: MS_BIP(B2) 0, MS_REI 0 |
Status of the regenerator and multiplex sections, including the alarm and error statistics and J0 overhead bytes |
flag j0
Syntax
flag j0 { sdh j0-string | sonet j0-value }
undo flag j0 { sdh | sonet }
View
E-CPOS interface view
Default Level
2: System level
Parameters
sdh j0-string: Specifies the regenerator section trace byte for SDH. The j0-string argument is a string of 1 to 15 characters.
sonet j0-value: Specifies the regenerator section trace byte for SONET. The j0-value argument is a hexadecimal number ranging from 0 to FF and defaults to 0x1.
Description
Use the flag j0 command to set the J0 overhead byte for SONET/SDH frames.
Use the undo flag j0 command to restore the default J0 overhead byte.
l J0 is a section overhead byte used for detecting the continuity of the connection between two interfaces at the section layer. It is mainly used for interoperability of devices in different countries/regions or devices of different vendors.
l The J0 value range differs for SDH and SONET.
Examples
# Set j0 to aa on interface E-CPOS 1/0 in SDH mode.
<Sysname> system-view
[Sysname] controller e-cpos 1/0
[Sysname-E-Cpos1/0] flag j0 sdh aa
frame-format
Syntax
frame-format { sdh | sonet }
undo frame-format
View
E-CPOS interface view
Default Level
2: System level
Parameters
sdh: Sets the framing format to synchronous digital hierarchy (SDH).
sonet: Sets the framing format to synchronous optical network (SONET).
Description
Use the frame-format command to configure the framing format of the current E-CPOS interface.
Use the undo frame-format command to restore the default.
The default framing format of an E-CPOS interface is SDH.
Examples
# Set the framing format of interface E-CPOS 1/0 to SONET.
<Sysname> system-view
[Sysname] controller e-cpos 1/0
[Sysname-E-Cpos1/0] frame-format sonet
loopback
Syntax
loopback { local | remote }
undo loopback
View
E-CPOS interface view
Default Level
2: System level
Parameters
local: Enables internal loopback on the E-CPOS interface.
remote: Enables external loopback on the E-CPOS interface.
Description
Use the loopback command to set the loopback mode of the current E-CPOS interface.
Use the undo loopback command to disable loopback on the current E-CPOS interface.
By default, loopback is disabled.
l Loopback is intended for troubleshooting purposes. Normally, do not enable loopback.
l Internal loopback, also known as local loopback, is used for testing the status of the local physical interface. External loopback is used for testing the status of the cable connected to the local interface.
Examples
# Enable external loopback on interface E-CPOS 1/0.
<Sysname> system-view
[Sysname] controller e-cpos 1/0
[Sysname-E-Cpos1/0] loopback remote
oc-12
Syntax
oc-12 oc-12-number
undo oc-12 oc-12-number
View
E-CPOS interface view
Default Level
2: System level
Parameters
oc-12-number: Number of a 622 Mbps channel, in the range of 1 to 4.
Description
Use the oc-12 command to create a 622 Mbps channel with the specified number in the view of a 2.5 Gbps E-CPOS interface and enter the view of the 622 Mbps channel. If the specified 622 Mbps channel already exists, you enter the view of the 622 Mbps channel directly.
Use the undo oc-12 command to remove the specified 622 Mbps channel and its subchannels.
Examples
# Create the 622 Mbps channel OC-12 2 on E-CPOS interface E-CPOS 1/0.
<Sysname> system-view
[Sysname] controller e-cpos1/0
[Sysname-E-Cpos1/0] oc-12 2
[Sysname-E-Cpos1/0-oc-12-2]
oc-3
Syntax
oc-3 oc-3-number
undo oc-3 oc-3-number
View
OC-12 view
Default Level
2: System level
Parameters
oc-3-number: Number of a 155 Mbps channel, in the range of 1 to 4.
Description
Use the oc-3 command to create a 155 Mbps channel with the specified number in the view of a 622 Mbps E-CPOS channel and enter the view of the 155 Mbps channel. If the specified 155 Mbps channel already exists, you enter the view of the 155 Mbps channel directly.
Use the undo oc-3 command to remove the specified 155 Mbps channel and its subchannels.
Examples
# Create the 155 Mbps channel OC-3 1 on the 622 Mbps channel OC-12 2 on E-CPOS interface E-CPOS 1/0.
<Sysname> system-view
[Sysname] controller e-cpos 1/0
[Sysname-E-Cpos1/0] oc-12 2
[Sysname-E-Cpos1/0-oc-12-2] oc-3 1
shutdown
Syntax
shutdown
undo shutdown
View
E-CPOS interface view
Default Level
2: System level
Parameters
None
Description
Use the shutdown command to shut down the current E-CPOS interface.
Use the undo shutdown command to bring up the current E-CPOS interface.
By default, an E-CPOS physical interface is up.
Examples
# Shut down the E-CPOS interface E-CPOS 1/0.
<Sysname> system-view
[Sysname] controller e-cpos 1/0
[Sysname-E-Cpos1/0] shutdown
threshold
Syntax
threshold { sd | sf } value
undo threshold { sd | sf }
View
E-CPOS interface view
Default Level
2: System level
Parameters
value: SD or SF threshold, an integer in the range of 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 the current E-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.
The default SD threshold and SF threshold depend on your device model.
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 E-CPOS 1/0.
<Sysname> system-view
[Sysname] interface e-cpos 1/0
[Sysname-E-Cpos1/0] threshold sd 4
using { oc-12 | oc-12c }
Syntax
using { oc-12 | oc-12c }
undo using
View
OC-12 view
Default Level
2: System level
Parameters
oc-12: Sets the 622 Mbps channel to work in channelized mode.
oc-12c: Sets the 622 Mbps channel to work in unchannelized mode.
Description
Use the using oc-12 command to configure the 622 Mbps channel to work in channelized mode, where you can create 155 Mbps channels.
Use the using oc-12c command to configure the 622 Mbps channel to work in unchannelized mode, where you can create one 622 Mbps POS channel.
Use the undo using command to restore the default operation mode of the channel.
By default, a 622 Mbps channel works in channelized mode.
Examples
# Configure the 622 Mbps channel OC-12 1 on E-CPOS interface 1/0 to work in unchannelized mode.
<Sysname> system-view
[Sysname] controller e-cpos 1/0
[Sysname-E-Cpos1/0] oc-12 1
[Sysname-E-Cpos1/0-oc-12-1] using oc-12c
using { oc-3 | oc-3c }
Syntax
using { oc-3 | oc-3c }
undo using
View
OC-3 view
Default Level
2: System level
Parameters
oc-3: Sets the 155 Mbps channel to work in channelized mode.
oc-3c: Sets the 155 Mbps channel to work in unchannelized mode.
Description
Use the using oc-3 command to configure the 155 Mbps channel to work in channelized mode.
Use the using oc-3c command to configure the 155 Mbps channel to work in unchannelized mode, where you can create one 155 Mbps POS channel.
Use the undo using command to restore the default operation mode of the channel.
By default, a 155 Mbps channel works in channelized mode.
Examples
# Configure the 155 Mbps channel OC-3 1 on E-CPOS interface E-CPOS 1/0 to work in unchannelized mode.
<Sysname> system-view
[Sysname] controller e-cpos 1/0
[Sysname-E-Cpos1/0] oc-12 1
[Sysname-E-Cpos1/0-oc-12-1] oc-3 1
[Sysname-E-Cpos1/0-oc-12-1-oc-3-1] using oc-3c