63
⊕
⊕
⊕
⊕
add pat entry <public port #>
⊕
⊕
⊕
⊕
add pat entry default
Description:
Each IP packet received from the Internet interface is examined. If the destination address is
the public address of the interface, the Network Address Translation Table is searched for a match. If the
address is found, the destination address is replaced with the associated private address and port number.
The packet is then forwarded to the IP routing process. If no match is found and a Default Private
Receiver is defined, the packet is forwarded to this machine. If no match is found and a Default Private
Receiver is not defined, the packet is discarded.
Static entries may be created in this table by these commands.
Note that static entries are mapped according to port number and therefore multiple protocols using the
same port number will be routed to the mapped entry.
Example 1:
IP packets received with the public IP address of the router and a destination port number of 123 will be
translated to port 234 with a destination private IP address of 10.0.1.120. Here, it is assumed that the
private IP network is 10.0.1.0 with a subnet mask of 255.255.255.0.
Router> add pat entry 123
Enter Private IP Address (unspecified): 10.0.1.120
Enter Private Port Number (unspecified): 234
Example 2:
IP packets received with a destination port number not found in the Address Translation Table will be
translated to a destination private IP address of 192.168.168.121. Here, it is assumed that the private IP
network is 192.168.168.0 with a subnet mask of 255.255.255.0.
Router> add pat entry default
Enter Private IP Address (unspecified): 192.168.168.121
delete ip default route
Description:
This command deletes the default route from the IP routing table. Packets normally sent to
the default router will then be discarded.
delete ip route <ipAddr> <net_mask>
Description:
This command deletes the static route for
204.71.220.153
from the IP routing table.
Example:
Router> delete ip route 204.71.220.153 255.255.255.0
delete ip <Interface Name>
Description:
This command deletes the IP protocol configuration from the specified interface. The
corresponding IP routing table entry for this IP address is also deleted.