beautypg.com

Hdlc configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 51

background image

43

Step Command

Remarks

3.

Enable HDLC encapsulation

on the interface.

link-protocol hdlc

PPP is the default.

4.

Set the link status polling

interval.

timer hold seconds

Optional.
HDLC uses timers to check link
status. The two ends of a link must

use the same link status polling
interval. Setting the link status

polling interval to zero disables

link status check.
The link status polling interval is 10

seconds by default.

NOTE:

Use the default link state polling interval or adjust it according to the network conditions. If the network has
a long delay or is experiencing congestion, you can increase the polling interval to avoid network

flapping.

HDLC configuration example

Network requirements

As shown in

Figure 12

, Router A and Router B are connected through their POS ports with HDLC enabled.

Configure POS 3/1/1 of Router A to borrow the IP address of the local loopback interface, whose IP

address is with 32-bit mask.
Configure Router A to learn the routing information of Router B through static routes, and enable Router

A to reach the network segment 12.1.2.0/24.

Figure 12 Network diagram

Configuration procedure

1.

Configure Router A:

system-view

[RouterA] interface LoopBack 1

[RouterA-LoopBack1] ip address 12.1.1.2 32

[RouterA-LoopBack1] quit

[RouterA] interface Pos 3/1/1

[RouterA-Pos3/1/1] clock master

[RouterA-Pos3/1/1] link-protocol hdlc

[RouterA-Pos3/1/1] ip address unnumbered interface LoopBack 1

[RouterA-Pos3/1/1] quit