Huawei S9700 Series Configuration Manual page 113

Terabit routing switches spu
Hide thumbs Also See for S9700 Series:
Table of Contents

Advertisement

S9700 Core 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
Issue 01 (2012-03-15)
[SPU-Eth-Trunk1] quit
[SPU] interface Eth-Trunk 1.1
[SPU-Eth-Trunk1.1] control-vid 101 dot1q-termination
[SPU-Eth-Trunk1.1] dot1q termination vid 101
[SPU-Eth-Trunk1.1] ip address 192.168.20.1 255.255.255.0
[SPU-Eth-Trunk1.1] arp broadcast enable
[SPU-Eth-Trunk1.1] quit
[SPU] interface Eth-Trunk 1.2
[SPU-Eth-Trunk1.2] control-vid 102 dot1q-termination
[SPU-Eth-Trunk1.2] dot1q termination vid 102
[SPU-Eth-Trunk1.2] ip address 202.169.10.1 255.255.255.0
[SPU-Eth-Trunk1.2] arp broadcast enable
[SPU-Eth-Trunk1.2] quit
[SPU] ip vpn-instance vpn_b
[SPU-vpn-instance-vpn_b] route-distinguisher 0:1
[SPU-vpn-instance-vpn_b] quit
[SPU] interface Eth-Trunk 1.3
[SPU-Eth-Trunk1.3] control-vid 103 dot1q-termination
[SPU-Eth-Trunk1.3] dot1q termination vid 103
[SPU-Eth-Trunk1.3] ip binding vpn-instance vpn_b
[SPU-Eth-Trunk1.3] ip address 10.0.0.1 255.255.255.0
[SPU-Eth-Trunk1.3] arp broadcast enable
[SPU-Eth-Trunk1.3] quit
[SPU] ip route-static vpn-instance vpn_b 0.0.0.0 0.0.0.0 Eth-Trunk 1.2
202.169.10.2
[SPU] interface XGigabitEthernet0/0/1
[SPU-XGigabitEthernet0/0/1] eth-trunk 1
[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
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 NAT Configuration
www inside
ftp inside
102

Advertisement

Table of Contents
loading

Table of Contents