Configuring basic functions of a CPOS interface

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter CPOS interface view.

controller cpos cpos-number

N/A

3. (Optional.) Configure the interface description.

description text

By default, the description of a CPOS interface is interface name Interface, for example, Cpos2/1/1 Interface.

4. Set the framing format.

frame-format { sdh | sonet }

The default setting is SDH.

5. Set the clock mode.

clock { master | slave }

The default setting is slave.

6. (Optional.) Set the loopback mode.

loopback { local | remote }

By default, loopback is disabled.

7. Set the AUG multiplexing mode.

multiplex mode { au-3 | au-4 }

The default setting is AU-4.

The command is available only in SDH framing.

8. Configure the SOH and higher-order path overhead bytes.

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

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

By default:

  • c2 is 0x02.

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

  • j0 is 0x01 for SONET and a 16-byte empty character string for SDH.

  • j1 is a 64-byte empty character string for SONET and a 16-byte empty character string for SDH.

9. Set the physical state change suppression interval on the interface.

link-delay seconds

By default, the physical state change suppression interval is 0 seconds.

10. Set the signal degrade (SD) or signal fail (SF) alarm threshold for the interface.

threshold { sd sdvalue | sf sfvalue } *

By default, the SD threshold is 10e to the power of negative 6 (10e6) and the SF threshold is 10e to the power of negative 3 (10e3).

11. (Optional.) Configure the action to take when an RDI, SD, or SF alarm occurs on the CPOS interface.

alarm-detect { rdi | sd | sf } action link-down

By default, the device does not take any actions on the interface when an RDI, SD, or SF alarm occurs.

12. (Optional.) Restore the default settings for the CPOS interface.

default

N/A

13. Bring up the CPOS interface.

undo shutdown

By default, a CPOS interface is up.

If no cable is connected to a physical interface, shut down the interface with the shutdown command to prevent problems.