Huawei quidway s7700 Configuration Manual page 91

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
l
l
l
Procedure
Step 1 Assign the IP address to each interface.
<Quidway> system-view
[Quidway] sysname SwitchA
[SwitchA] vlan 10
[SwitchA-vlan10] quit
[SwitchA] vlan 30
[SwitchA-vlan30] quit
[SwitchA] interface gigabitethernet 1/0/0
[SwitchA-GigabitEthernet1/0/0] port hybrid pvid vlan 10
[SwitchA-GigabitEthernet1/0/0] port hybrid untagged vlan 10
[SwitchA-GigabitEthernet1/0/0] quit
[SwitchA] interface gigabitethernet 2/0/0
[SwitchA-GigabitEthernet2/0/0] port hybrid pvid vlan 30
[SwitchA-GigabitEthernet2/0/0] port hybrid untagged vlan 30
[SwitchA-GigabitEthernet2/0/0] quit
[SwitchA] interface vlanif 10
[SwitchA-Vlanif10] ip address 20.1.1.1 24
[SwitchA-Vlanif10] quit
[SwitchA] interface vlanif 30
[SwitchA-Vlanif30] ip address 10.1.1.2 24
[SwitchA-Vlanif30] quit
The configurations of Switch B and Switch C are similar to the configuration of Switch A, and
are not mentioned here.
Step 2 Configure IGP on the VPN backbone network.
# Configure Switch A.
[SwitchA] ospf 1
[SwitchA-ospf-1] area 0
[SwitchA-ospf-1-area-0.0.0.0] network 20.1.1.0 0.0.0.255
[SwitchA-ospf-1-area-0.0.0.0] quit
[SwitchA-ospf-1] quit
The configurations of Switch B and Switch C are similar to the configuration of Switch A, and
are not mentioned here.
# Run the display ip routing-table command on Switch A and Switch C. You can find that they
learn the OSPF routes destined for the network segment of the peer.
# Take Switch A for example. The information is displayed as follows:
[SwitchA] display ip routing-table
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
Issue 01 (2011-07-15)
IP address of VLANIF interfaces, as shown in
Procrss id and area id of OSPF
Source address and destination address of the GRE tunnel, and IP addresses of tunnel
interfaces
Destinations : 12
Proto
10.1.1.0/24
Direct 0
10.1.1.2/32
Direct 0
10.1.1.255/32
Direct 0
20.1.1.0/24
Direct 0
20.1.1.1/32
Direct 0
20.1.1.2/32
Direct 0
20.1.1.255/32
Direct 0
30.1.1.0/24
OSPF
127.0.0.0/8
Direct 0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Figure 2-6
Routes : 12
Pre
Cost
Flags NextHop
0
D
0
D
0
D
0
D
0
D
0
D
0
D
10
2
D
0
D
2 GRE Configuration
Interface
10.1.1.2
Vlanif30
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
20.1.1.1
Vlanif10
127.0.0.1
InLoopBack0
20.1.1.2
Vlanif10
127.0.0.1
InLoopBack0
20.1.1.2
Vlanif10
127.0.0.1
InLoopBack0
76

Advertisement

Table of Contents
loading

Table of Contents