Br7131>admin(network.wan.nat)>add, Syntax: example, Description – Brocade Mobility 7131 Access Point Product Reference Guide (Supporting software release 4.4.0.0 and later) User Manual

Page 317: Syntax

Advertising
background image

Brocade Mobility 7131 Access Point Product Reference Guide

305

53-1002517-01

8

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 5-132
.

br7131>admin(network.wan.nat)>add

Description:

Adds NAT entries.

Syntax:

set 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>.

add

<idx>

<name>

<tran>

<port1>

<port2>

<ip>

<dst_port>

Sets an inbound network address translation (NAT) for WAN address <idx>, where <name> is the name of the
entry (1 to 7 characters), <tran> is the transport protocol (one of tcp, udp, icmp, ah, esp, gre, or all), <port1>
is the starting port number in a port range, <port2> is the ending port number in a port range, <ip> is the
internal IP address, and <dst_port> is the (optional) internal translation port.

Advertising