User guide

Chapter 5. Command Line Interface Reference 155
If the source address of a packet is not within the address ranges for any virtual routing table, the default routing
table is referenced to route the packet.
For more information, see Virtual Routing Tables, on page 77.
first ip addr First IP address of the range (4 decimals separated by periods).
last ip addr Last IP address of the range (4 decimals separated by periods). This parameter may be omitted if
the range contains only one IP address. The specified address range may not overlap the address
range defined for any other virtual routing table.
tablename Name of the virtual routing table to which the addresses are assigned (character string).
Example:
The following command defines a virtual routing table named ROSA (if it does not already exist) and assigns
it the IP address range 192.168.1.5 through 192.168.1.12.
system addIPRoutingTable 192.168.1.5 192.168.1.12 ROSA
SYSTEM ADDSERVER
This Network Address Translation (NAT) command is used to configure a local IP address as the selected server
on the LAN (FTP, SMTP, etc.) for the global configuration.
system addIPRoutingTable <first ip addr> [<last ip addr>] <tablename>
system addServer <ipaddr>|discard|me <protocolid> |tcp|udp <first port> |ftp|telnet|smtp|snmp|http [<last
port> [<first private port>]]
ipaddr IP address of the host selected as server in the format of 4 decimals separated by periods.
discard Used to discard the incoming server request.
me Used to send the incoming server request to the local router, regardless of its IP address.
protocolid Protocol used by the selected server; can be tcp or udp, or a numeric value.
Þrst port First or only port as seen by the remote end. Port used by the selected server; can be a string
such as ftp, telnet, smtp, snmp, or http, or a numeric value between 0 and 65,535. A numeric
value of 0 will match any port.
last port If speciÞed, this is used with <Þrst port> to denote a range of ports as seen by the remote end
for the server on the LAN.
Þrst private port If speciÞed, this is a port remapping of the incoming request from the remote end.
Example:
system addServer 192.168.1.5 tcp smtp