Black Box COMPACT T1 MT850A User Manual
Page 272

5-188
Compact T1 - Release 6.1
CLI Commands
set
set (router-wan) nat enable/disable
Use the set (router-wan) nat command to enable and disable Network Address Translation
(NAT) on a specified WAN interface.
Syntax:
set {rtr_card-addr} {"wan-name"} nat {disable|enable}
Example:
set 1 "LosAngeles" nat enable
The example will set the WAN interface named "LosAngeles" on the Router in
slot 1 to enable NAT mapping.
{rtr_card-addr}
The slot number (1-6) that contains the Router (IP or CMG) card.
{"wan-name"}
The WAN interface to modify. The name must be enclosed in quotes.
{disable|enable}
set (router-wan) nat ports
Use the set (router-wan) nat ports command to configure Network Address Translation
(NAT) to dynamically map ports or preserve them. This field should only be set to
"preserved" if an application that you are using requires a specific port number.
Syntax:
set {rtr_card-addr} {"wan-name"} nat ports
{dynamic|preserved}
Example:
set 1 "LosAngeles" nat ports dynamic
The example will set the WAN interface named "LosAngeles" on the Router in
slot 1 to enable dynamic NAT port mapping.
{rtr_card-addr}
The slot number (1-6) that contains the Router (IP or CMG) card.
{"wan-name"}
The WAN interface to modify. The name must be enclosed in quotes.
{dynamic|preserved}
disable
Disable NAT mapping.
enable
Enable NAT mapping.
dynamic
Set NAT port mapping to be dynamic.
preserved
Preserve original port.