HP MSR2000/3000/4000 Router Series Layer 2 - WAN Configuration Guide
58
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
Optional.
The default setting is 10 seconds.
Displaying and maintaining HDLC
Execute display commands in any view and reset commands in user view.
Task Command
Display the HDLC configuration on
an interface.
display interface serial interface-number
display interface pos interface-number
Clear the statistics and restart
statistics collection on interfaces.
reset counters interface [ serial [ interface-number ] ]
reset counters interface [ pos [ interface-number ] ]
HDLC configuration example
Network requirements
As shown in Figure 26, Router A and Router B are connected by POS interfaces.
Run HDLC on the link between them.
Figure 26 Network diagram
Configuration procedure
1. Configure Router A:
<RouterA> system-view
[RouterA] interface pos 5/0
[RouterA-Pos5/0] clock master
[RouterA-Pos5/0] link-protocol hdlc
[RouterA-Pos5/0] ip address 12.1.1.1 24
[RouterA-Pos5/0] quit
2. Configure Router B:
<RouterB> system-view
[RouterB] interface pos 5/0
Router A Router B
POS5/0
12.1.1.2/24
POS5/0
12.1.1.1/24