Huawei quidway s7700 Configuration Manual page 120

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - SPU
l
Issue 01 (2011-07-15)
#
system-view
interface Eth-Trunk1
#
ip vpn-instance vpna
route-distinguisher 1:1
ip vpn-instance vpnb
route-distinguisher 2:2
#
interface Eth-Trunk1.1
control-vid 101 dot1q-termination
dot1q termination vid 101
ip binding vpn-instance
ip address 192.168.20.1 255.255.255.0
arp broadcast enable
#
interface Eth-Trunk1.2
control-vid 103 dot1q-termination
dot1q termination vid 103
ip address 202.169.10.1 255.255.255.0
arp broadcast enable
#
interface XGigabitEthernet0/0/1
eth-trunk 1
#
interface XGigabitEthernet0/0/2
eth-trunk 1
#
nat alg dns enable
nat dns-map www.Server.com 192.168.20.2 80 tcp
#
nat overlap-address 0 192.168.20.2 202.169.100.2 pool-length 254
instance vpna
#
ip route-static vpn-instance vpna 202.169.100.2 24 Eth-Trunk1.2 202.169.10.2
#
acl 3180
rule permit ip vpn-instance vpna source 192.168.20.1 0.0.0.255
#
nat address-group 1 160.160.0.1 160.160.0.255
#
interface Eth-Trunk1.2
nat outbound
3180 address-group
#
return
Configuration file of the S7700
#
sysname S7700
#
vlan batch 101 to 103
#
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 101 to 103
#
interface GigabitEthernet2/0/1
port link-type trunk
port trunk allow-pass vlan 101
#
interface GigabitEthernet2/0/2
port link-type trunk
port trunk allow-pass vlan 102
#
interface GigabitEthernet2/0/3
port link-type trunk
port trunk allow-pass vlan 103
#
interface XGigabitEthernet5/0/0
eth-trunk 1
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
vpna
1
3 NAT Configuration
inside-vpn-
109

Advertisement

Table of Contents
loading

Table of Contents