Product Reference Guide (Supporting software release 4.0.0.0-35GRN and later) Manual

Brocade Mobility 7131N-FGR Product Reference Guide 289
53-1001947-01
Network commands
8
BR7131N>admin(network.wan.nat)> set
Sets NAT inbound and outbound parameters.
Syntax
Example
admin(network.wan.nat)>set type 2 1-to-many
admin(network.wan.nat)>set ip 2 10.1.1.1 (this command is used when NAT is 1-to-1)
admin(network.wan.nat)>show 2
WAN IP Mode : enable
WAN IP Address : 157.235.91.2
NAT Type : 1-to-many
Inbound Mappings : Port Forwarding
unspecified port forwarding mode : enable
unspecified port fwd. ip address : 111.223.222.1
one to many nat mapping
-------------------------------------------------------------------------------
LAN No. WAN IP
-------------------------------------------------------------------------------
1 157.235.91.2
2 10.1.1.1
For an overview of the NAT options available using the applet (GUI), see “Configuring Network
Address Translation (NAT) settings” on page 115.
se
t
type <index>
<type> Sets the type of NAT translation for WAN address index <idx>
(1-8) to <type> (none, 1-to-1, or 1-to-many).
ip <index>
<ip> Sets NAT IP mapping associated with WAN address <idx> to
the specified IP address <ip>.
inb <index>
<ip>
<mode>
Sets inbound IP address for specified index <index> <ip
address>
Sets inbound mode for specified index <index>
<enable/disable>
outb <index>
<ip>
<from> <to>
Sets outbound IP address for specified index <index> <ip
address>
Sets outbound NAT destination <LAN1 or LAN2> <WAN ip 1-8
or None>.