H3C SR6600 Configuration Manual page 111

Layer 2 – wan configuration
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

Figure 6-2 Network diagram for HDLC and IP unnumbered configuration
Configuration procedure
1) Configure Router A
<RouterA> system-view
[RouterA] interface loopback 1
[RouterA-LoopBack1] ip address 12.1.1.2 32
[RouterA-LoopBack1] quit
[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 unnumbered interface loopback 1
[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.24
3) Configure static routes on Router A
[RouterA] ip route-static 12.1.1.0 24 pos 1/0/1
[RouterA] ip route-static 12.1.2.0 24 12.1.1.1
After the above configurations are completed, Router A can ping 12.1.2.0/24.
[RouterA] ping 12.1.2.1
PING 12.1.2.1: 56
Reply from 12.1.2.1: bytes=56 Sequence=1 ttl=255 time=1 ms
Reply from 12.1.2.1: bytes=56 Sequence=2 ttl=255 time=1 ms
Reply from 12.1.2.1: bytes=56 Sequence=3 ttl=255 time=1 ms
Reply from 12.1.2.1: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 12.1.2.1: bytes=56 Sequence=5 ttl=255 time=1 ms
--- 12.1.2.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/1 ms
# Execute the display ip routing-table command on Router A to view the routing table.
[RouterA] display ip routing-table
Routing Tables: Public
Destinations : 5
Destination/Mask
12.1.1.0/24
data bytes, press CTRL_C to break
Routes : 5
Proto
Pre
Cost
Static 60
0
6-101
NextHop
Interface
12.1.1.2
POS1/0/1

Advertisement

Table of Contents
loading

Table of Contents