Huawei AR1200 series Configuration Manual page 31

Enterprise routers
Hide thumbs Also See for AR1200 series:
Table of Contents

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
After the configuration, the status of tunnel interfaces goes Up, and the tunnel interfaces can
ping each other successfully.
Take Router A as an example:
[RouterA] ping -a 40.1.1.1 40.1.1.2
PING 40.1.1.2: 56
--- 40.1.1.2 ping statistics ---
Step 4 Configure a static route.
# Configure Router A.
[RouterA] ip route-static 10.2.1.0 24 tunnel 0/0/1
# Configure Router C.
[RouterC] ip route-static 10.1.1.0 24 tunnel 0/0/1
After the configuration, run the displayip routing-table command on Router A and Router C.
You can find the static route to the network segment of the remote user end through the tunnel
interface.
Take Router A as an example:
[RouterA] display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
GigabitEthernet2/0/0
GigabitEthernet1/0/0
GigabitEthernet1/0/0
GigabitEthernet1/0/0
PC 1 and PC 2 can ping each other successfully.
----End
Configuration Files
l
Issue 01 (2012-04-20)
data bytes, press CTRL_C to break
Reply from 40.1.1.2: bytes=56 Sequence=1 ttl=255 time=24 ms
Reply from 40.1.1.2: bytes=56 Sequence=2 ttl=255 time=33 ms
Reply from 40.1.1.2: bytes=56 Sequence=3 ttl=255 time=48 ms
Reply from 40.1.1.2: bytes=56 Sequence=4 ttl=255 time=33 ms
Reply from 40.1.1.2: bytes=56 Sequence=5 ttl=255 time=36 ms
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 24/34/48 ms
Destinations : 11
Proto
10.1.1.0/24
Direct 0
10.1.1.2/32
Direct 0
10.2.1.0/24
Static 60
20.1.1.0/24
Direct 0
20.1.1.1/32
Direct 0
20.1.1.2/32
Direct 0
30.1.1.0/24
OSPF
40.1.1.0/24
Direct 0
40.1.1.1/32
Direct 0
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
Configuration file of Router A
#
sysname RouterA
#
interface GigabitEthernet1/0/0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 11
Pre
Cost
Flags
0
0
0
0
0
0
10
2
0
0
0
0
1 GRE Configuration
NextHop
Interface
D
10.1.1.2
D
127.0.0.1
InLoopBack0
D
40.1.1.1
Tunnel0/0/1
D
20.1.1.1
D
127.0.0.1
InLoopBack0
D
20.1.1.2
D
20.1.1.2
D
40.1.1.1
Tunnel0/0/1
D
127.0.0.1
InLoopBack0
D
127.0.0.1
InLoopBack0
D
127.0.0.1
InLoopBack0
20

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar3200 series

Table of Contents