03-Interface Command Reference

HomeSupportResource CenterRoutersH3C SR6600-X Router SeriesH3C SR6600-X Router SeriesTechnical DocumentsReference GuidesCommand ReferencesH3C SR6600 SR6600-X Routers Command References-R7607-6W10003-Interface Command Reference
05-CPOS interface commands
Title Size Download
05-CPOS interface commands 134.02 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

mdc-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/1/1 to go down when an SD alarm occurs.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/1] alarm-detect sd action link-down

Related commands

threshold

clock

Use clock to set the clock mode of 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

mdc-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/1/1.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/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

mdc-admin

Parameters

cpos-number: Specifies a CPOS interface by its number.

Examples

# Enter the interface view of CPOS 2/1/1.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/1]

default

Use default to restore the default settings for a CPOS interface.

Syntax

default

Views

CPOS interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

CAUTION

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/1/1.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/1] default

description

Use description to configure a description for a CPOS interface.

Use undo description to restore the default.

Syntax

description text

undo description

Default

The description of a CPOS interface is in interface name Interface format, for example, Cpos2/1/1 Interface.

Views

CPOS interface view

Predefined user roles

network-admin

mdc-admin

Parameters

text: Specifies a description, a case-sensitive string of 1 to 255 characters.

Examples

# Configure the description of CPOS 2/1/1 as CPOS-interface.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/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

mdc-admin

mdc-operator

Parameters

cpos-number: Specifies a CPOS interface by its number. If you do not specify a CPOS number, this command displays the 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).

Examples

# Display CPOS 2/1/1 status information.

<Sysname> display controller cpos 2/1/1

Cpos2/1/1

Current state: UP

Description : Cpos2/1/1 Interface

Last clearing of counters: Never

Frame-format SDH,multiplex AU-4,clock master,loopback none

SD threshold: 6, SF threshold: 3

Optical:Absent

 

Regenerator section:                                                           

  Alarm:  LOS  LOF  OOF                                                         

  ERROR:  RS_BIP(B1) 0                                                         

  Tx: J0: ""                                                                   

  Rx: J0: unknown                                                              

Multiplex section:                                                             

  Alarm:  MS_AIS  MS_SF  MS_SD                                                 

  ERROR:  MS_BIP(B2) 0, MS_REI 0                                               

High order Path(AU-4-1):                                                       

  Alarm:  HP_TIU  HP_RDI  HP_ERDI  HP_PLM                                      

  ERROR:  HP_BIP(B3) 0, HP_REI 0, HP_PJE 0, HP_NJE 0                           

  TX: J1: ""                                                                    

  RX: J1: unknown                                                              

  TX: C2: 0x02                                                                 

  RX: C2: 0x6d                                                                  

  TX: S1S0: 0x02                                                               

  RX: S1S0: 0x02

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

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

Current physical state of the CPOS interface.

Description

Interface description.

Last clearing of counters

Time when the reset counters controller cpos command was last used to clear the interface statistics. This field displays Never if the reset counters controller cpos command has never been used on the interface since device startup.

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.

Optical

Transmission medium.

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 is down.

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.

 

Related commands

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

mdc-admin

mdc-operator

Parameters

cpos-number: Specifies a CPOS interface by its number.

e1-number: Specifies an E1 channel by its number on a CPOS interface, in the range of 1 to 63.

Usage guidelines

This command displays errors and alarms that occurred to lower-order paths and E1 frames.

Examples

# Display the status information of E1 channel 1 on CPOS 2/1/1.

<Sysname> display controller cpos 2/1/1 e1 1

Cpos2/1/1

Current state: UP

Description: Cpos2/1/1 Interface

 

Last clearing of counters: Never

  Alarm:  LP-AIS  LP-RDI  LP-RFI  LP-C2-Mismatched  LP-J2-Unstable  LP-J2-Mismat

ched                                                                           

  ERROR:BIP2 2, FEBE 1356                                                      

  TX: J2: ""                                                                   

  RX: J2: unknown                                                              

  TX: LPC2: 0x02                                                               

  RX: LPC2: 0x07                                                               

                                                                               

CE1  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

Current physical state of the CPOS interface.

Description

Interface description.

Last clearing of counters

Time when the reset counters controller cpos command was last used to clear the interface statistics. This field displays Never if the reset counters controller cpos command has never been used on the interface since device startup.

TX

Transmitted overhead bytes.

RX

Received overhead bytes.

If the J2 overhead bytes are invisible characters, this field displays RX: J2: unknow.

Alarm

Alarm statistics.

Error

Error statistics.

CE1 1 is down

E1 channel 1 is physically down.

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

mdc-admin

mdc-operator

Parameters

cpos-number: Specifies a CPOS interface by its number.

t1-number: Specifies a T1 channel by its number on a CPOS interface. The value range for this argument is 1 to 84.

Usage guidelines

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/1/1.

<Sysname> display controller cpos 2/1/1 t1 1

Cpos2/1/1

Current state: UP

Description : Cpos2/1/1 Interface

Last clearing of counters: Never                                               

  Alarm:  LP-AIS  LP-RDI  LP-RFI  LP-C2-Mismatched  LP-J2-Unstable  LP-J2-Mismat

ched                                                                           

  ERROR:BIP2 2, FEBE 1958                                                      

  TX: J2: ""                                                                   

  RX: J2: unknown                                                              

  TX: LPC2: 0x02                                                               

  RX: LPC2: 0x07                                                               

                                                                                

CT1  1 is down                                                                 

                                                                               

  Frame-format: ESF,  Clock: slave,  Loopback: none                            

  Alarm:  AIS  LFA  Red  Bit Error 0, Fer 0, OOF 0

Table 4 Command output

Field

Description

Current state

Current physical state of the CPOS interface.

Description

Interface description.

Last clearing of counters

Time when the reset counters controller cpos command was last used to clear the interface statistics. This field displays Never if the reset counters controller cpos command has never been used on the interface since device startup.

TX:

Transmitted overhead bytes.

RX:

Received overhead bytes.

If the J2 overhead bytes are invisible characters, this field displays RX: J2: unknow.

Alarm

Alarm statistics.

Error

Error statistics.

CT1  1 is down

T1 channel 1 is physically down.

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

An E1 channel is not channelized.

Views

CPOS interface view

Predefined user roles

network-admin

mdc-admin

Parameters

e1-number: Specifies an E1 channel by its number 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 serial interfaces. These serial interfaces use the interface number/channel number:channel set number format.

 

IMPORTANT

IMPORTANT:

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/1/1

[Sysname-Cpos2/1/1] e1 63 channel-set 1 timeslot-list 1-31

# Enter the view of the serial interface created for the channel set.

[Sysname-Cpos2/1/1] quit

[Sysname] interface serial 2/1/1/63:1

[Sysname-Serial2/1/1/63:1]

Related commands

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 EI 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

mdc-admin

Parameters

e1-number: Specifies an E1 channel by its number 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/1/1

[Sysname-Cpos2/1/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

C2 is 02 (hexadecimal) and J2 is cyclic null.

Views

CPOS interface view

Predefined user roles

network-admin

mdc-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 low-order channel signal flag byte C2, one byte in length and in the range of 0x0 to 0x7 (except 0x5).

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 low-order channel trace byte J2, a string of 1 to 15 characters for SDH or a string of 1 to 62 characters for SONET.

Examples

# Set C2 to 0x7 for E1 channel 3 on CPOS 2/1/1.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/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

mdc-admin

Parameters

e1-number: Specifies an E1 channel by its number 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/1/1

[Sysname-Cpos2/1/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 EI 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

mdc-admin

Parameters

e1-number: Specifies an E1 channel by its number 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/1/1

[Sysname-Cpos2/1/1] e1 1 set loopback payload

Related commands

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

mdc-admin

Parameters

e1-number: Specifies an E1 channel by its number 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

# Shut down E1 channel 1.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/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 EI 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

mdc-admin

Parameters

e1-number: Specifies an E1 channel by its number on a 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 Serial 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/1/1 to operate in unframed mode.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/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 | s1s0 path-number s1s0-value }

undo flag { c2 path-number | s1s0 path-number }

flag { j0 | j1 path-number } { sdh | sonet } flag-value

undo flag { j0 | j1 path-number } { sdh | sonet }

Default

·     c2 is 0x02.

·     s1s0 is 0x00 for SONET and 0x02 for SDH.

·     j0 is 0x01 for SONET and a 16-byte null character for SDH.

·     j1 is a 64-byte null character for SONET and a 16-byte null character for SDH.

Views

CPOS interface view

Predefined user roles

network-admin

mdc-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 0x00 to 0xFF.

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 flag-value: 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. In SDH frames, the flag-value argument is a string of 1 to 15 characters. In SONET frames, the flag-value argument is in the range of 0x00 to 0xFF.

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. In SDH frames, the flag-value argument is a string of 1 to 15 characters. In SONET frames, the flag-value argument is a string of 1 to 62 characters.

sdh: Specifies the SDH framing format.

sonet: Specifies the SONET framing format.

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.

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 J0 to aa on CPOS 2/1/1.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/1] flag j0 sdh aa

Related commands

display controller cpos

flag vc-3

Use flag vc-3 to set an overhead byte for VC-3 frames.

Use undo flag vc-3 to restore the default of the specified overhead byte for VC-3 frames.

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 }

Default

·     c2 is 0x02.

·     j1 is a 64-byte null character for SONET and a 16-byte null character for SDH.

·     s1s0 is 0 (hexadecimal) for SONET and 2 (hexadecimal) for SDH.

Views

CPOS interface view

Predefined user roles

network-admin

mdc-admin

Parameters

path-number: Specifies a channel by its number in VC-3.

c2 c2-value: Specifies the path signal label byte in the range of 0x00 to 0xFF.

j1 sdh sdh-string: Specifies the higher order path trace byte for SDH frames, a string of 1 to 15 characters.

j1 sonet sonet-string: Specifies the higher order path trace byte for SONET frames, a string of 1 to 62 characters.

s1s0 s1s0-value: Specifies the AU/TU type indicator.

Usage guidelines

A large 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.

The J1 and C2 bytes 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, and vendors.

Examples

# Set the C2 overhead byte to 2 for VC-3 frames on channel 2 of VC-3 on CPOS 2/1/1.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/1] flag vc-3 2 c2 2

flag vc-4

Use flag vc-4 to set an overhead byte for VC-4 frames.

Use undo flag vc-4 to restore the default of the specified overhead byte for VC-4 frames.

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 }

Default

·     c2 is 0x02.

·     j1 is a 64-byte null character for SONET and a 16-byte null character for SDH.

·     s1s0 is 0x00 for SONET and 0x02 for SDH.

Views

CPOS interface view

Predefined user roles

network-admin

mdc-admin

Parameters

path-number: Specifies a channel by its number in VC-4.

c2 c2-value: Specifies the path signal label byte in the range of 0x00 to 0xFF.

j1 sdh sdh-string: Specifies the higher order path trace byte for SDH frames, a string of 1 to 15 characters.

j1 sonet sonet-string: Specifies the higher order path trace byte for SONET frames, a string of 1 to 62 characters.

s1s0 s1s0-value: Specifies the AU/TU type indicator.

Usage guidelines

A large set of overhead bytes are available to implement operation and maintenance (OAM) functions such as hierarchical management of transmission networks for SONET/SDH frames.

The J1 and C2 bytes 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, and vendors.

Examples

# Set the J1 byte to abcd for VC-4 frames on channel 1 of VC-4 on CPOS 2/1/1 in SDH mode.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/1] flag vc-4 1 j1 sdh abcd

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

mdc-admin

Parameters

sdh: Specifies the SDH framing format.

sonet: Specifies the SONET framing format.

Examples

# Set the framing format to SONET on CPOS 2/1/1.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/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 0 seconds on a CPOS interface.

Views

CPOS interface view

Predefined user roles

network-admin

mdc-admin

Parameters

seconds: Sets the physical state change suppression interval in seconds. The value range for this argument is 0 to 30.

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/1/1.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/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

mdc-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/1/1.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/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

mdc-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/1/1

[Sysname-Cpos2/1/1] frame-format sdh

[Sysname-Cpos2/1/1] multiplex mode au-3

Related commands

frame-format

oc-12

Use oc-12 to create a 622 Mbps channel on a 2.5 Gbps CPOS interface and enter 622 Mbps channel view, or enter the view of an existing 622 Mbps channel.

Use undo oc-12 to delete a 622 Mbps channel.

Syntax

oc-12 oc-12-number

undo oc-12 oc-12-number

Default

No 622 Mbps channels exist on a 2.5 Gbps CPOS interface.

Views

2.5 Gbps CPOS interface view

Predefined user roles

network-admin

mdc-admin

Parameters

oc-12-number: Specifies a 622 Mbps channel number in the range of 1 to 4.

Usage guidelines

You can create up to four 622 Mbps channels on a 2.5 Gbps CPOS interface operating in channelized mode.

When you delete a 622 Mbps channel, all low-order channels on it and all the related POS channel interfaces are deleted automatically. Low-order channels include 155 Mbps channels.

Examples

# Create a 622 Mbps channel with a channel number of 2 on 2.5 Gbps CPOS interface CPOS 2/1/1.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/1] oc-12 2

[Sysname-Cpos2/1/1-oc-12-2]

oc-3

Use oc-3 to create a 155 Mbps channel on a 622 Mbps channel and enter 155 Mbps channel view, or enter the view of an existing 155 Mbps channel.

Use undo oc-3 to delete a 155 Mbps channel.

Syntax

oc-3 oc-3-number

undo oc-3 oc-3-number

Default

No 155 Mbps channels exist on a 622 Mbps channel.

Views

622 Mbps channel view

Predefined user roles

network-admin

mdc-admin

Parameters

oc-3-number: Specifies a 155 Mbps channel number in the range of 1 to 4.

Usage guidelines

You can create up to four 155 Mbps channels on a 622 Mbps channel operating in channelized mode.

A 155 Mbps channel created on a 2.5 Gbps CPOS interface can only operate in concatenated mode. When you create a 155 Mbps channel, the system automatically sets its operating mode to concatenated.

When you delete a 155 Mbps channel, its POS channel interface is deleted automatically.

Examples

# Create a 155 Mbps channel with a channel number of 1 on a 622 Mbps channel on CPOS 2/1/1.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/1] oc-12 1

[Sysname-Cpos2/1/1-oc-12-1] oc-3 1

[Sysname-Cpos2/1/1-oc-12-1-oc-3-1]

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

mdc-admin

Parameters

interface-number: Specifies an interface by its number. If you do not specify an 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/1/1.

<Sysname> reset counters controller cpos 2/1/1

Related commands

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

CPOS interface view

Predefined user roles

network-admin

mdc-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

# Shut down CPOS 2/1/1.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/1] shutdown

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

A T1 channel is not channelized.

Views

CPOS interface view

Predefined user roles

network-admin

mdc-admin

Parameters

t1-number: Specifies a T1 channel by its number 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.

Usage guidelines

When you bundle timeslots on a T1 channel, the system automatically creates a serial interface numbered interface number/channel number:channel set number. The interface speed is the number of bundled timeslots multiplying the timeslot speed specified in this command.

 

IMPORTANT

IMPORTANT:

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/1/1

[Sysname-Cpos2/1/1] t1 1 channel-set 1 timeslot-list 1-23

# Enter the view of the serial interface created for the channel set.

[Sysname-Cpos2/1/1] quit

[Sysname] interface serial 2/1/1/1:1

[Sysname-Serial2/1/1/1:1]

Related commands

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

mdc-admin

Parameters

t1-number: Specifies a T1 channel by its number 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/1/1

[Sysname-Cpos2/1/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

C2 is 0x02 and J2 is cyclic null.

Views

CPOS interface view

Predefined user roles

network-admin

mdc-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 low-order channel signal tag byte C2, one byte in length and in the range of 0x0 to 0x7 (except 0x5).

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 low-order channel trace byte J2, a string of 1 to 15 characters (in SDH format) or of 1 to 62 characters (in SONET format).

Examples

# Set C2 to 0x7 for T1 channel 3 on CPOS 2/1/1.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/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

mdc-admin

Parameters

t1-number: Specifies a T1 channel by its number on a 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/1/1

[Sysname-Cpos2/1/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

mdc-admin

Parameters

t1-number: Specifies a T1 channel by its number on a 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/1/1

[Sysname-Cpos2/1/1] t1 1 set loopback payload

Related commands

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

mdc-admin

Parameters

t1-number: Specifies a T1 channel by its number on a 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/1/1

[Sysname-Cpos2/1/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

mdc-admin

Parameters

t1-number: Specifies a T1 channel by its number on a 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 Serial 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/1/1 to operate in unframed mode.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/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 threshold is 10e to the power of negative 6 (10e–6). The SF threshold is 10e to the power of negative 3 (10e–3).

Views

CPOS interface view

Predefined user roles

network-admin

mdc-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 number of B2 errors reaches the SD alarm threshold.

·     An SF alarm occurs if the number of B2 errors reaches the SF alarm threshold.

Examples

# Set the SD threshold to 10e to the power of negative 4 (10e–4) on CPOS 2/1/1.

<Sysname> system-view

[Sysname] interface cpos 2/1/1

[Sysname-Cpos2/1/1] threshold sd 4

using oc-12/using oc-12c

Use using oc-12 to set a 622 Mbps channel to channelized mode.

Use using oc-12c to set a 622 Mbps channel to concatenated mode.

Use undo using to restore the default.

Syntax

using { oc-12 | oc-12c }

undo using

Default

A 622 Mbps channel operates in channelized mode.

Views

622 Mbps channel view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

When you set a 622 Mbps channel to concatenated mode, the system automatically creates a 622 Mbps POS channel interface for the channel. The POS channel interface uses the POS interface number [/622 Mbps channel number]:0 format.

When you execute the using oc-12 or undo using command to change the 622 Mbps channel mode from concatenated to channelized, the system automatically deletes the POS channel interface.

Examples

# Configure 622 Mbps channel 1 on CPOS 2/1/1 to operate in concatenated mode.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/1] oc-12 1

[Sysname-Cpos2/1/1-oc-12-1] using oc-12c

# Configure 622 Mbps channel 1 on CPOS 2/1/1 to operate in channelized mode.

[Sysname-Cpos2/1/1-oc-12-1] undo using

using oc-3c

Use using oc-3c to set a 155 Mbps channel to concatenated mode.

Syntax

using oc-3c

Default

A 155 Mbps channel operates in channelized mode.

Views

155 Mbps channel view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

When you set a 155 Mbps channel to concatenated mode, the system automatically creates a 155 Mbps POS channel interface for the channel. The POS channel interface uses the POS interface number [ [/622 Mbps channel number]/155 Mbps channel number]:0 format.

Examples

# Configure 155 Mbps channel 1 on CPOS 2/1/1 to operate in concatenated mode.

<Sysname> system-view

[Sysname] controller cpos 2/1/1

[Sysname-Cpos2/1/1] oc-12 1

[Sysname-Cpos2/1/1-oc-12-1] oc-3 1

[Sysname-Cpos2/1/1-oc-12-1-oc-3-1] using oc-3c

using oc-48

Use using oc-48 to set a 2.5 Gbps CPOS interface to channelized mode.

Use undo using to restore the default.

Syntax

using oc-48

undo using

Default

A 2.5 Gbps CPOS interface operates in channelized mode.

Views

2.5 Gbps CPOS interface view

Predefined user roles

network-admin

mdc-admin

Examples

# Configure 2.5 Gbps CPOS interface CPOS 2/1/1 to operate in channelized mode.

[Sysname-Cpos2/1/1] using oc-48

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网