Huawei Quidway S9300 Configuration Manual page 87

Terabit routing switch
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
[S9300-A-Vlanif10] quit
[S9300-A] interface vlanif 30
[S9300-A-Vlanif30] ip address 10.1.1.2 24
[S9300-A-Vlanif30] quit
The configurations of S9300-B and S9300-C are similar to the configuration of S9300-A, and
are not mentioned here.
Step 2 Configure IGP on the VPN backbone network.
# Configure S9300-A.
[S9300-A] ospf 1
[S9300-A-ospf-1] area 0
[S9300-A-ospf-1-area-0.0.0.0] network 20.1.1.0 0.0.0.255
[S9300-A-ospf-1-area-0.0.0.0] quit
[S9300-A-ospf-1] quit
The configurations of S9300-B and S9300-C are similar to the configuration of S9300-A, and
are not mentioned here.
# Run the display ip routing-table command on S9300-A and S9300-C. You can find that they
learn the OSPF routes destined for the 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
Step 3 Configure the tunnel interface.
# Configure S9300-A.
[S9300A] interface tunnel 1/0/1
[S9300-A-Tunnel1/0/1] tunnel-protocol gre
[S9300-A-Tunnel1/0/1] ip address 40.1.1.1 255.255.255.0
[S9300-A-Tunnel1/0/1] source 20.1.1.1
[S9300-A-Tunnel1/0/1] destination 30.1.1.2
[S9300-A-Tunnel1/0/1] quit
# Configure S9300-C.
[S9300-C] interface tunnel 1/0/1
[S9300-C-Tunnel1/0/1] tunnel-protocol gre
[S9300-C-Tunnel1/0/1] ip address 40.1.1.2 255.255.255.0
[S9300-C-Tunnel1/0/1] source 30.1.1.2
[S9300-C-Tunnel1/0/1] destination 20.1.1.1
[S9300-C-Tunnel1/0/1] quit
# After the configuration, the status of tunnel interfaces is Up, and the tunnel interfaces can ping
each other.
# Take S9300-A for example. The information is displayed as follows:
Issue 03 (2009-08-20)
Destinations : 10
Proto
10.1.1.0/24
Direct 0
10.1.1.2/32
Direct 0
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
10
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
Direct 0
Direct 0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 10
Pre
Cost
Flags
0
D
0
D
0
D
0
D
0
D
2
D
20.1.1.2
0
D
0
D
0
D
0
D
2 GRE Configuration
NextHop
Interface
10.1.1.2
Vlanif30
127.0.0.1
InLoopBack0
20.1.1.1
Vlanif10
127.0.0.1
InLoopBack0
20.1.1.2
Vlanif10
Vlanif10
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
2-17

Advertisement

Table of Contents
loading

Table of Contents