Configuration Using Web Based Management and the Command Line Interface
C79000-G8976-C184-07
207
ommand Line Interface
Syntax of the C
CLI\BRIDG
C
E>nat
ommand Description
Comment
nat [E|D]
Enables/disables NAT
ip [IP addre
Sets the local IP address for the
Ethernet port
ss]
subnet [Subnet mask]
Sets the subnet mask for the
Ethernet port
static
Opens the "STATIC" menu
CLI\BRIDG
Comma
Comment
E\NAT>subnet
nd Description
Local Subnet
255.2
mask :
value of the local subnet mask
55.255.0
CLI\BRIDG
Command Description
Comment
E\NAT>STATIC
add <type>
L IP> <
type = TCP or UDP
G port = global port
<G port>
L port>
Add the static NAT entry:
<
L IP = local IP
L port = local port
edit <
Index
> <
E|D
> [
type
] [
G
port
] [
L IP
]
[
L port
]
Edit the static NAT entry:
index = index in table
type = TCP or UDP
G port = global port
L IP = local IP
L port = local port
delete <
Index
>
Deletes a static NAT entry
clearall
Deletes all static NAT entries
CLI\BRIDGE\NAT\STATIC>info
Index
Enabled
Type
Global Port
Local IP
Local Port
1 x
TCP
21
172.27.138.2
1026
Example of static information
Operating Instructions SCALANCE W78x