Configuring the operating mode and related parameters for a 10-GE interface

Configuring the operating mode

10-GE interfaces support the following operating modes:

This feature is supported on the following interfaces:

A 10-GE interface operating in WAN mode encapsulates Ethernet packets in SDH frames. A 10G POS interface encapsulates PPP packets in SDH frames. However, they cannot communicate with each other because they encapsulate different kinds of packets.

To configure a 10-GE interface to operate in LAN or WAN mode:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter 10-GE interface view.

interface ten-gigabitethernet interface-number

N/A

3. Configure the 10-GE interface to operate in LAN or WAN mode.

port-mode { lan | wan }

By default, a 10-GE interface operates in LAN mode.

Setting the J0 and J1 overhead bytes

The overhead bytes in SDH frames provide the operation and maintenance features such as hierarchical management of the transmission network. J0 and J1 bytes provide internetworking support between devices of different countries, regions, or vendors.

The Regenerator Section Trace byte J0 is usually configured as a section access point identifier. The sending end keeps the connection with the receiving end by sending this byte repeatedly.

The Path Trace byte J1 is usually configured as a high-order path access point identifier. J1 also enables two ends to keep their connection.

To ensure smooth communication, make sure the sending and receiving ends have the same J0 and J1 bytes.

To set the J0 and J1 overhead bytes:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter 10-GE interface view.

interface ten-gigabitethernet interface-number

N/A

3. Configure the 10-GE interface to operate in WAN mode.

port-mode wan

By default, a 10-GE interface operates in LAN mode.

4. Set the J0 and J1 bytes.

flag { j0 | j1 } sdh flag-value

By default, J0 and J1 bytes are padded with 0s.