HPE FlexNetwork HSR6800 Configuration Manual page 167

Comware 7 layer 3, ip services
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

# Enable outbound NAT with Easy IP on interface GigabitEthernet 2/1/2 so that NAT translates the
source addresses of the packets from internal hosts into the IP address of interface GigabitEthernet
2/1/2.
[Router-GigabitEthernet2/1/2] nat outbound 2000
[Router-GigabitEthernet2/1/2] quit
# Enable NAT hairpin on interface GigabitEthernet 2/1/1.
[Router] interface gigabitethernet 2/1/1
[Router-GigabitEthernet2/1/1] nat hairpin enable
Verifying the configuration
# Verify that both internal and external hosts can access the internal FTP server through the public
address. (Details not shown.)
# Display all NAT configuration and statistics.
[Router]display nat all
NAT outbound information:
Totally 1 NAT outbound rules.
Interface: GigabitEthernet2/1/2
ACL: 2000
Address group ID: ---
Port-preserved: N
Config status: Active
NAT internal server information:
Totally 1 internal servers.
Interface: GigabitEthernet2/1/2
Protocol: 6(TCP)
Global IP/port: 202.38.1.2/21
Local IP/port : 192.168.1.4/21
Config status : Active
NAT logging:
Log enable
Flow-begin
Flow-end
Flow-active
Port-block-assign
Port-block-withdraw : Disabled
Alarm
NAT hairpinning:
Totally 1 interfaces enabled with NAT hairpinning.
Interface: GigabitEthernet2/1/1
Config status: Active
NAT mapping behavior:
Mapping mode : Address and Port-Dependent
ACL
Config status: Active
...
NO-PAT: N
: Disabled
: Disabled
: Disabled
: Disabled
: Disabled
: Disabled
: ---
Reversible: N
154

Advertisement

Table of Contents
loading

Table of Contents