Efficient Networks Router family Command line interface Guida Utente Pagina 215

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 214
Chapter 5. Command Line Interface Reference 215
ETH IP DELHOSTMAPPING
Undoes an IP address/ host translation (remapping) range that was previously established with the command eth
ip addHostMapping on a per-interface basis.
ETH IP DELSERVER
This Network Address Translation (NAT) command is used to delete an entry created by the eth ip addServer
command.
eth ip delHostMapping <Þrst private addr> <second private addr> <Þrst public addr> <port#>
Þrst private addr First IP address in the range of IP address, in the format of 4 decimals separated by
periods.
second private addr Last address in the range of IP address, in the format of 4 decimals separated by periods.
Þrst public addr DeÞnes the range of public IP addresses, in the format of 4 decimals separated by periods.
The rest of the range is computed automatically.
port# Ethernet interface number; can be 0 or 1.
Example:
eth ip delHostMapping 192.168.207.40 192.168.207.49 10.0.20.11 1
eth ip delServer <ipaddr>|discard|me <protocolid> |tcp|udp <first port> |ftp|telnet|smtp|snmp|http [<last port>
[<first private port>]] <port#>
ipaddr IP address of the host selected as server in the format of 4 decimals separated by periods
discard Discards the incoming server request.
me Sends 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.
Þrst port First or only port as seen by the Ethernet interface. Port used by the selected server.
Can be as 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 specify a range of ports as seen by the Ethernet
interface for the server on the LAN.
Þrst private port If speciÞed, this is a port remapping of the incoming request from the Ethernet interface.
port# Ethernet interface number; can be 0 or 1.
Example:
eth ip delServer 192.168.1.5 tcp ftp 0
Vedere la pagina 214
1 2 ... 210 211 212 213 214 215 216 217 218 219 220 ... 322 323

Commenti su questo manuale

Nessun commento