Example for Configuring CPOS Interfaces to Be Connected Through Optical Fibers
Networking Requirements
In Figure 16-9, CPOS interfaces of RouterA and RouterB are connected through optical fibers.
The existing configurations are as follows:
- The SDH transmission mechanism is used in areas where RouterA and RouterB reside.
- AU-3 is used in areas where RouterA and RouterB reside.
- RouterB is an Alcatel device.
- The clock mode of the CPOS interface on RouterB is slave.
- The overhead bytes of the CPOS interface on RouterB are as follows: c2: 3, s1: 14, j0: abc (16 byte-mode), and j1: xyz (16 byte-mode).
To ensure successful connection, configure the CPOS interface of RouterA.
Configuration Roadmap
The configuration roadmap is as follows:
- Set the connection mode of RouterA to Alcatel.
- Set the frame format to SDH for the CPOS interface on RouterA.
- Set the AUG multiplexing mode to AU-3 for the CPOS interface on RouterA.
- Set the overhead bytes of the CPOS interface on RouterA as follows: c2: 3, s1:14, j0: abc (16 byte-mode), and j1: xyz (16 byte-mode) and ensure that overhead bytes are the same on both ends.
- Set the clock mode of the CPOS interface on RouterA to master and ensure that RouterA and RouterB have different clock modes.
Procedure
- Set the connection mode of RouterA to Alcatel.
<Huawei> system-view [Huawei] sysname RouterA [RouterA] controller cpos 1/0/0 [RouterA-Cpos1/0/0] multi-channel align-mode alcatel
- Set the frame format to SDH for the CPOS interface on RouterA.
[RouterA-Cpos1/0/0] frame-format sdh
- Set the AUG multiplexing mode to AU-3 for the CPOS interface on RouterA.
[RouterA-Cpos1/0/0] multiplex mode au-3
- Set the overhead bytes of the CPOS interface on RouterA.
[RouterA-Cpos1/0/0] flag c2 3 [RouterA-Cpos1/0/0] flag s1 14 [RouterA-Cpos1/0/0] flag j0 16byte-mode abc [RouterA-Cpos1/0/0] flag j1 16byte-mode xyz
- Set the clock mode of the CPOS interface on RouterA to master.
[RouterA-Cpos1/0/0] clock master [RouterA-Cpos1/0/0] quit
- Verify the configuration.
# Check information about all channels of CPOS 1/0/0. You can view that the physical status of the interface is Up.
[RouterA] display controller cpos 1/0/0 Cpos1/0/0 current state : UP Description : HUAWEI, AR Series, Cpos1/0/0 Interface Frame-format SDH, multiplex AU-3, clock master, loopback not set Tx: J0: abc, J1: xyz, C2: 0x3 Tx: J0: abc, J1: xyz, C2: 0x3 Regenerator section: Alarm: none Error: 0 BIP Multiplex section: Alarm: none Error: 0 BIP, 0 REI Higher order path(VC-3-1): Alarm: none Error: 0 BIP, 0 REI Higher order path(VC-3-2): Alarm: none Error: 0 BIP, 0 REI Higher order path(VC-3-3): Alarm: none Error: 0 BIP, 0 REI Cpos1/0/0 CE1 1 is up Frame-format NO-CRC4, clock master, loopback not set Cpos1/0/0 CE1 2 is up Frame-format NO-CRC4, clock master, loopback not set Cpos1/0/0 CE1 3 is up Frame-format NO-CRC4, clock master, loopback not set ...... Cpos1/0/0 CE1 62 is up Frame-format NO-CRC4, clock master, loopback not set Cpos1/0/0 CE1 63 is up Frame-format NO-CRC4, clock master, loopback not set