Nat Configuration Examples; Outbound One-To-One Static Nat Configuration Example - HPE FlexNetwork HSR6800 Configuration Manual

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

Advertisement

Task
Display the port block usage for dynamic
NAT444 address groups (in standalone
mode).
Display the port block usage for dynamic
NAT444 address groups (in IRF mode).
Clear NAT session entries (in standalone
mode).
Clear NAT session entries (in IRF mode).

NAT configuration examples

Outbound one-to-one static NAT configuration example

Network requirements
Configure static NAT to allow the host at 10.110.10.8/24 to access the Internet.
Figure 57 Network diagram
Configuration procedure
# Specify IP addresses for the interfaces on the router. (Details not shown.)
# Configure a one-to-one static NAT mapping between the private address 10.110.10.8 and the
public address 202.38.1.100.
<Router> system-view
[Router] nat static outbound 10.110.10.8 202.38.1.100
# Enable static NAT on GigabitEthernet 2/1/2.
[Router] interface gigabitethernet 2/1/2
[Router-GigabitEthernet2/1/2] nat static enable
[Router-GigabitEthernet2/1/2] quit
Verifying the configuration
# Verify that the host at 10.110.10.8/24 can access the server on the Internet. (Details not shown.)
# Display static NAT configuration.
[Router] display nat static
Static NAT mappings:
Totally 1 outbound static NAT mappings.
IP-to-IP:
Local IP
Global IP
Config status: Active
: 10.110.10.8
: 202.38.1.100
Command
display nat port-block-usage [ address-group group-id ]
[ slot slot-number ]
display nat port-block-usage [ address-group group-id ]
[ chassis chassis-number slot slot-number ]
reset nat session [ slot slot-number ]
reset nat session [ chassis chassis-number slot
slot-number ]
138

Advertisement

Table of Contents
loading

Table of Contents