Huawei quidway s7700 Configuration Manual page 115

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 outbound NAT on the SPU.
[SPU] nat address-group 1 202.169.10.100 202.169.10.200
[SPU] nat address-group 2 202.169.10.80 202.169.10.83
[SPU] acl 2000
[SPU-acl-basic-2000] rule 5 permit source 192.168.20.0 0.0.0.255
[SPU-acl-basic-2000] quit
[SPU] acl 2001
[SPU-acl-basic-2001] rule 5 permit source 10.0.0.0 0.0.0.255 vpn-instance vpn_b
[SPU-acl-basic-2000] quit
[SPU] interface Eth-Trunk 1.2
[SPU-Eth-Trunk1.2] nat outbound 2000 address-group 1 no-pat
[SPU-Eth-Trunk1.2] nat outbound 2001 address-group 2
[SPU-Eth-Trunk1.2] quit
Step 3 Verify the configuration.
Run the display nat outbound [ acl acl-number | address-group group-index | interface
{ xgigabitEthernet | eth-trunk } interface-number.subnumber ] command on the SPU. The
following information is displayed:
[SPU] display nat outbound
NAT Outbound Information:
-----------------------------------------------------------------
Interface
-----------------------------------------------------------------
Eth-Trunk1.2
Eth-Trunk1.2
-----------------------------------------------------------------
Total : 2
----End
Issue 01 (2011-07-15)
<SPU> system-view
[SPU] interface Eth-Trunk 1
[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.2] control-vid 103 dot1q-termination
[SPU-Eth-Trunk1.2] dot1q termination vid 103
[SPU-Eth-Trunk1.3] ip binding vpn-instance vpn_b
[SPU-Eth-Trunk1.2] ip address 10.0.0.1 255.255.255.0
[SPU-Eth-Trunk1.2] arp broadcast enable
[SPU-Eth-Trunk1.2] 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
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Acl
Address-group/IP
2000
2001
3 NAT Configuration
Type
1
no-pat
2
pat
104

Advertisement

Table of Contents
loading

Table of Contents