Task
Clear the statistics and restart
statistics
interfaces.
HDLC configuration example
Network requirements
As shown in
Run HDLC on the link between them.
Figure 33 Network diagram
Pos2/2/0
12.1.1.1/24
Router A
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
Verifying the configuration
# Ping a router from the other router, for example, ping Router B from Router A.
[RouterA] ping 12.1.1.2
Ping 12.1.1.2 (12.1.1.2): 56 data bytes, press CTRL_C to break
56 bytes from 12.1.1.2: icmp_seq=0 ttl=254 time=2.137 ms
Command
display interface pos interface-number
reset counters interface [ serial [ interface-number ] ]
collection
on
reset counters interface [ pos [ interface-number ] ]
Figure
33, Router A and Router B are connected by POS interfaces.
Pos2/2/0
12.1.1.2/24
Router B
94
Need help?
Do you have a question about the FlexNetwork MSR series and is the answer not in the manual?