Huawei quidway s7700 Configuration Manual page 112

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - SPU
Step 2 Configure static NAT on the SPU.
[SPU] interface Eth-Trunk1.2
[SPU-Eth-Trunk1.2] nat static protocol tcp global 202.169.10.2
192.168.20.2 8080 netmask 255.255.255.254
[SPU-Eth-Trunk1.2] nat static protocol tcp global 202.169.10.32
10.0.0.2 ftp vpn-instance vpn_b netmask 255.255.255.252
[SPU-Eth-Trunk1.2] quit
Step 3 Verify the configuration.
Run the display nat static [ global global-address | inside host-address [ vpn-instance vpn-
instance-name ] | interface interface-type interface-name ] command on the SPU. The
following information is displayed:
[SPU] display nat static
Static Nat Information:
Interface
Total :
----End
Configuration Files
l
Issue 01 (2011-07-15)
[SPU-XGigabitEthernet0/0/1] quit
[SPU] interface XGigabitEthernet0/0/2
[SPU-XGigabitEthernet0/0/2] eth-trunk 1
[SPU-XGigabitEthernet0/0/2] quit
: Eth-Trunk1.2
Global IP/Port
: 202.169.10.2/80(www)
Inside IP/Port
: 192.168.20.2/8080
Protocol : 6(tcp)
VPN instance-name
: ----
Netmask
: 255.255.255.254
Global IP/Port
: 202.169.10.32/21(ftp)
Inside IP/Port
: 10.0.0.2/21(ftp)
Protocol : 6(tcp)
VPN instance-name
: vpn_b
Netmask
: 255.255.255.252
2
Configuration file of the SPU
#
sysname SPU
#
system-view
ip vpn-instance vpn_b
route-distinguisher 0:1
#
interface Eth-Trunk1
#
interface Eth-Trunk1.1
control-vid 101 dot1q-termination
dot1q termination vid 101
ip address 192.168.20.1 255.255.255.0
arp broadcast enable
#
interface Eth-Trunk1.2
control-vid 102 dot1q-termination
dot1q termination vid 102
ip address 202.169.10.1 255.255.255.0
arp broadcast enable
nat static protocol tcp global 202.169.10.2
netmask 255.255.255.254
nat static protocol tcp global 202.169.10.32
instance vpn_b netmask 255.255.255.252
#
interface Eth-Trunk1.3
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 NAT Configuration
www inside
ftp inside
www inside 192.168.20.2 8080
ftp inside 10.0.0.2 ftp vpn-
101

Advertisement

Table of Contents
loading

Table of Contents