beautypg.com

Show filter <1-8 – Atlantis Land Mistral Lan Router ISDN User Manual

Page 24

background image

Interface Name: ppp2

IP Protocol:

any

Src. IP:

212.54.104.1

Src. Port: 136

Dest.

IP: any

Dest.

Port: any

show filter <1-8 >

Description: This command displays the definition of the nth rule.

Example:

Router> show filter 1

Filter 1:

Filter Name:

Rule1

Interface Name: ppp2

IP Protocol:

any

Src. IP:

212.54.104.1

Src. Port: 136

Dest. IP:

any

Dest. Port:

any

IP Commands

add ip route

add ip route < hop count, 1-15>

Description: This command adds a static route to the IP routing table. The first example means that to
send a packet to the destination IP address 204.71.220.153, the packet should be forwarded to
204.23.0.1 first, and the target is 4 hops away. The second example means that to send a packet to the
destination IP address 204.71.220.153, the packet should be sent out over the frame relay profile isp2
first, and the target is 4 hops away.

Example:

Router> add ip route 204.71.220.153 255.255.255.0 204.23.0.1 4

Router> add ip route 204.71.220.153 255.255.255.0 isp2 4

add pat entry

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.