#
interface Vlanif20
ip address 10.2.1.1 255.255.255.0
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 20
port hybrid untagged vlan 20
#
ip route-static 10.1.1.0 24 10.2.1.2
#
return
3.17.4 Example for Configuring Mutual Access for Local VPNs on
SPU Board
Networking Requirements
As shown in
, the S7700 functions as the PE. PC1 belongs to vpn-a and PC2 belongs
to vpn-b.
PC1 and PC2 need to communicate with each other.
NOTE
This example is only for configuring mutual access for local VPNs on SPU board, for details about
configuring mutual access for local VPNs on S7700, see
3.17.3 Example for Configuring Mutual Access
.
Figure 3-6
Networking diagram for configuring mutual access betwen local VPNs
Switch
GE1/0/4
GE1/0/6
VLAN 10
Eth-trunk0
XGE2/0/0
10.10.10.2/24
Eth-trunk0.10
XGE0/0/1
XGE2/0/1
Eth-trunk0
VLAN 10
XGE0/0/2
Eth-trunk0.20
20.20.20.2/24
PC1
10.10.10.1/24
PC2
20.20.20.1/24
Eth-Trunk0
Configuration Roadmap
The configuration roadmap is as follows:
1.
Import flows from the switch to the SPU.
2.
Configure the VPN instance and bind the VPN instance to interfaces.
3.
Configure the static route for the mutual access between local VPNs.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
201