Configuration procedure

Configuring Router A

# Configure the clock mode of POS 2/2/0 as master.

<RouterA> system-view
[RouterA] interface pos 2/2/0
[RouterA-Pos2/2/0] clock master

# Enable HDLC encapsulation on POS 2/2/0.

[RouterA-Pos2/2/0] link-protocol hdlc

# Assign an IP address to POS 2/2/0.

[RouterA-Pos2/2/0] ip address 12.1.1.1 24
[RouterA-Pos2/2/0] quit

Configuring Router B

# Enable HDLC encapsulation on POS 2/2/0.

<RouterB> system-view
[RouterB] interface pos 2/2/0
[RouterB-Pos2/2/0] link-protocol hdlc

# Assign an IP address to POS 2/2/0.

[RouterB-Pos2/2/0] ip address 12.1.1.2 24