Huawei quidway s7700 Configuration Manual page 93

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
127.255.255.255/32
255.255.255.255/32
PC1 and PC2 can ping each other.
----End
Configuration Files
l
l
Issue 01 (2011-07-15)
20.1.1.2/32
Direct 0
20.1.1.255/32
Direct 0
30.1.1.0/24
OSPF
40.1.1.0/24
Direct 0
40.1.1.1/32
Direct 0
40.1.1.255/32
Direct 0
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
Direct 0
Direct 0
Configuration file of Switch A
#
sysname SwitchA
#
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
port hybrid untagged vlan 10
#
interface GigabitEthernet2/0/0
port hybrid pvid vlan 30
port hybrid untagged vlan 30
#
interface Tunnel1/0/1
ip address 40.1.1.1 255.255.255.0
tunnel-protocol gre
source 20.1.1.1
destination 30.1.1.2
#
ospf 1
area 0.0.0.0
network 20.1.1.0 0.0.0.255
#
ip route-static 10.2.1.0 255.255.255.0 Tunnel1/0/1
#
return
Configuration file of Switch B
#
sysname SwitchB
#
vlan batch 10 20
#
interface Vlanif10
ip address 20.1.1.2 255.255.255.0
#
interface Vlanif20
ip address 30.1.1.1 255.255.255.0
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
interface GigabitEthernet2/0/0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
0
0
10
2
0
0
0
0
0
0
0
2 GRE Configuration
D
20.1.1.2
Vlanif10
D
127.0.0.1
InLoopBack0
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
D
127.0.0.1
InLoopBack0
78

Advertisement

Table of Contents
loading

Table of Contents