Huawei quidway s7700 Configuration Manual page 218

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
[SPU] ip route-static vpn-instance vpn-a 20.20.20.1 32 Eth-Trunk 0.20 20.20.20.1
[SPU] ip route-static vpn-instance vpn-b 10.10.10.1 32 Eth-Trunk 0.10 10.10.10.1
Step 5 Verify the configuration.
Ping PC2 on PC1. The ping is successful.
----End
Configuration Files
l
l
Issue 01 (2011-07-15)
Configuration file of switch
#
sysname Switch
#
vlan batch 10 20
#
interface Eth-Trunk0
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 10 20
#
interface GigabitEthernet1/0/4
port link-type access
port default vlan 10
#
interface GigabitEthernet1/0/6
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 20
#
interface XGigabitEthernet2/0/0
eth-trunk 0
#
interface XGigabitEthernet2/0/1
eth-trunk 0
#
return
Configuration file of the SPU on the switch
#
sysname SPU
#
interface Eth-Trunk0
#
interface Eth-Trunk 0.10
control-vid
10 dot1q-termination
dot1q termination vid
ip binding vpn-instance
ip address 10.10.10.2 24
arp broadcast enable
#
interface Eth-Trunk 0.20
control-vid
20 dot1q-termination
dot1q
termination vid 20
ip binding vpn-instance vpn-b
ip address 20.20.20.2 24
arp broadcast enable
#
interface XGigabitEthernet0/0/1
eth-trunk 0
#
interface XGigabitEthernet0/0/2
eth-trunk 0
#
ip route-static vpn-instance vpn-a 20.20.20.1 32 Eth-Trunk 0.20 20.20.20.1
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
10
vpn-a
3 BGP MPLS IP VPN Configuration
203

Advertisement

Table of Contents
loading

Table of Contents