R3303-HP HSR6800 Routers Layer 2 - WAN Configuration Guide

100
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Configure the link status
polling interval.
timer hold seconds retries
Optional.
10 seconds by default.
HDLC configuration examples
Basic HDLC configuration example
Network requirements
As shown in Figure 31, Router A and Router B are connected by POS interfaces.
Run HDLC on the link between them.
Figure 31 Network diagram
Configuration procedure
1. Configure Router A:
<RouterA> system-view
[RouterA] interface pos 1/0/1
[RouterA-Pos1/0/1] clock master
[RouterA-Pos1/0/1] link-protocol hdlc
[RouterA-Pos1/0/1] ip address 12.1.1.1 24
[RouterA-Pos1/0/1] quit
2. Configure Router B:
<RouterB> system-view
[RouterB] interface pos 1/0/1
[RouterB-Pos1/0/1] link-protocol hdlc
[RouterB-Pos1/0/1] ip address 12.1.1.2 24
After the configuration, Router A and Router B should be able to ping each other. Take the output
on Router A as an example.
[RouterA] ping 12.1.1.2
PING 12.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 12.1.1.2: bytes=56 Sequence=1 ttl=255 time=126 ms
Reply from 12.1.1.2: bytes=56 Sequence=2 ttl=255 time=1 ms
Reply from 12.1.1.2: bytes=56 Sequence=3 ttl=255 time=1 ms
Reply from 12.1.1.2: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 12.1.1.2: bytes=56 Sequence=5 ttl=255 time=10 ms
--- 12.1.1.2 ping statistics ---
5 packet(s) transmitted
Router A Router B
POS5/0
12.1.1.2/24
POS5/0
12.1.1.1/24