Configuring a POS channel interface

POS channel interfaces are created through channelization of a high-speed CPOS interface. They work in the same way as POS interfaces. For more information about creating POS channel interfaces, see "Configuring CPOS interfaces."

To configure a POS channel interface:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter POS channel interface view.

interface pos interface-number

N/A

3. (Optional.) Configure the interface description.

description text

By default, the description of a POS channel interface is interface name Interface, for example, Pos2/1/1:0 Interface.

4. Set the keepalive interval.

timer-hold seconds

The default setting is 10 seconds.

5. Set the maximum number of keepalive attempts.

timer-hold retry retries

The default setting is 5.

The interface determines that the remote end is down if it does not receive a keepalive response after the maximum number of keepalive attempts have been made.

6. Set the CRC length.

crc { 16 | 32 }

The default setting is 32 bits.

7. Configure the overhead bytes.

  • Configure the C2 path signal label byte:flag c2 flag-value

  • Configure the J1 path trace byte:flag j1 { sdh | sonet } flag-value

By default:

  • The C2 byte is 0x16.

  • The system uses the SDH framing format.

  • In SDH frames, the J1 byte is an empty string.

8. (Optional.) Ignore CRC of the J1 byte.

flag j1 ignore

By default, CRC is performed for the J1 byte.

9. (Optional.) Enable payload scrambling.

scramble

By default, payload scrambling is enabled.

10. Set the data link layer protocol.

link-protocol { fr | hdlc | ppp | mfr }

The default setting is PPP.

11. Set the MTU.

mtu size

The default setting is 1500 bytes.

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

link-delay msec milliseconds

The default setting is 0 milliseconds.

13. Configure the expected bandwidth of the interface.

bandwidth bandwidth-value

By default, the expected bandwidth (in kbps) is the interface baud rate divided by 1000.

14. (Optional.) Restore the default settings for the POS channel interface.

default

N/A

15. Shut down and bring up the interface.

shutdown

undo shutdown

By default, a POS channel interface is up.

For the settings to take effect, you must perform this step.