Huawei Quidway S9300 Configuration Manual page 88

Terabit routing switch
Table of Contents

Advertisement

2 GRE Configuration
[S9300-A] 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 static routes.
# Configure S9300-A.
[S9300-A] ip route-static 10.2.1.0 255.255.255.0 tunnel 1/0/1
# Configure S9300-C.
[S9300-C] ip route-static 10.1.1.0 255.255.255.0 tunnel 1/0/1
# Run the display ip routing-table command on S9300-A and S9300-C. You can see the static
route from the tunnel interface to the use-side network segment of the peer.
# Take S9300-A for example. The information is displayed as follows:
[S9300-A] display ip routing-table
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
127.255.255.255/32
255.255.255.255/32
PC1 and PC2 can ping each other.
----End
Configuration Files
l
2-18
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 : 13
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
Direct 0
Direct 0
Configuration file of S9300-A
#
sysname S9300-A
#
vlan batch 10 30
#
interface Vlanif10
ip address 20.1.1.1 255.255.255.0
#
interface Vlanif30
ip address 10.1.1.2 255.255.255.0
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 10
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 13
Pre
Cost
Flags
0
0
0
D
0
0
0
10
2
0
0
0
0
0
0
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
NextHop
Interface
D
10.1.1.2
Vlanif30
D
127.0.0.1
InLoopBack0
40.1.1.1
Tunnel1/0/1
D
20.1.1.1
Vlanif10
D
127.0.0.1
InLoopBack0
D
20.1.1.2
Vlanif10
D
20.1.1.2
Vlanif10
D
40.1.1.1
Tunnel1/0/1
D
127.0.0.1
InLoopBack0
D
127.0.0.1
InLoopBack0
D
127.0.0.1
InLoopBack0
D
127.0.0.1
InLoopBack0
D
127.0.0.1
InLoopBack0
Issue 03 (2009-08-20)

Advertisement

Table of Contents
loading

Table of Contents