Page 456 / 998 Scroll up to view Page 451 - 455
Network address translation - NAT
NAT command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-154
Description
This command deletes a single NAT reserved mapping that was added to an outside
security interface using the nat add resvmap commands.
Options
The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example
--> nat delete resvmap rm1 extinterface
See also
nat enable
nat list resvmaps
security list interfaces
4.4.5.1.16 NAT SET RESVMAPS ENABLE|DISABLE
Syntax
NAT SET RESVMAPS <name> <interfacename> {enable|disable}
Description
This command enables or disables an existing (created using nat add resvmap command)
NAT reserve map rule
Options
The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Option
Description
Default Value
name
An existing global IP address. To display global IP
addresses, use the nat list resvmaps command.
N/A
interfacename
The name of an existing security interface (exter-
nal or DMZ) created and connected to an inside
interface (DMZ or internal) using the NAT ENA-
BLE command. To display security interfaces, use
the SECURITY LIST INTERFACES command.
N/A
Option
Description
Default Value
name
An arbitrary name that identifies a reserved map-
ping configuration. It can be made up of one or
more letters or a combination of letters and digits,
but it cannot start with a digit.
N/A
interfacename
The name of an existing security interface (exter-
nal or DMZ) created and connected to an inside
interface (DMZ or internal) using the NAT ENA-
BLE command. To display security interfaces, use
the SECURITY LIST INTERFACES command.
N/A
Page 457 / 998
NAT command reference
Network address translation - NAT
4-155
iMG/RG Software Reference Manual (IPNetwork Functions)
Example
-->
nat set resvmap rm1 extinterface enable
See also
nat add resvmap interfacename
4.4.5.1.17 NAT SET RESVMAPS SRCIP
Syntax
NAT SET RESVMAPS <name> <interfacename> srcpip {range <star-
taddr> <endaddr>| <subnet subnetaddr> <subnet subnetmask>}
Description
This command sets the source IP, including IP range, subnet IP, and subnet mask, of a NAT
reserve map rule
Options
The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example
-->
nat set resvmap rm1 WAN srcip range 172.26.1.1 172.26.1.10
Example
--> nat set resvmap rm1 WAN srcip subnet 172.26.0.0 255.255.0.0
See also
nat add resvmap interfacename
enable|disable
Enables/Disables an existing rule to be used/not to
be used to match against inbound packets for
translations.
N/A
Option
Description
Default Value
name
An arbitrary name that identifies a reserved map-
ping configuration. It can be made up of one or
more letters or a combination of letters and digits,
but it cannot start with a digit.
N/A
interfacename
The name of an existing security interface (exter-
nal or DMZ) created and connected to an inside
interface (DMZ or internal) using the NAT ENA-
BLE command. To display security interfaces, use
the SECURITY LIST INTERFACES command.
N/A
startaddr
Starting IP address of the range to be configured
N/A
endaddr
End IP address of the range to be configured
N/A
subnet subnetaddr
Subnet address of the subnet to be configured
N/A
subnet mask
Subnet mask of the subnet to be configured
.
N/A
Option
Description
Default Value
Page 458 / 998
Network address translation - NAT
NAT command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-156
4.4.5.1.18 NAT SHOW RESVMAP
Syntax
NAT SHOW RESVMAP <name> <interfacename>
Description
This command displays the following information about a single reserved mapping config-
uration that has been added to an outside security interface:
Global IP address
Internal IP address
Transport type
Port number
Options
The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example
--> nat show resvmap rm1 extinterface
NAT reserved mapping: rm1
Global IP address: 192.168.103.15
Internal IP address: 20.20.20.20
Transport type: tcp
Port number: 25
See also
NAT LIST RESVMAPS
SECURITY LIST INTERFACES
4.4.5.1.19 NAT STATUS
Syntax
nat status
Description
This command lists the outside security interfaces and inside interface types that NAT is
currently enabled between. It displays the following information:
NAT object identification number
Option
Description
Default Value
name
An existing global pool. To display global pool
names, use the NAT LIST RESVMAPS command.
N/A
interfacename
The name of an existing security interface (exter-
nal or DMZ) created and connected to an inside
interface (DMZ or internal) using the NAT ENA-
BLE command. To display security interfaces, use
the SECURITY LIST INTERFACES command.
N/A
Page 459 / 998
NAT command reference
Network address translation - NAT
4-157
iMG/RG Software Reference Manual (IPNetwork Functions)
NAT object name
Outside security interface name
Inside interface type
Example
--> nat status
NAT enabled on:
ID |
Name
| Interface
|
Type
------------------------------------------
1 | n2
| ip2
| internal
2 | n1
| if1
| internal
------------------------------------------
See also
nat enable
Page 460 / 998
Network address translation - NAT
NAT command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-158

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top