62
Example
:
Router> set filter default
enter interface (Unspecified): isp
enter default action (forward, forward/discard) : forward
show filter
Description:
This command displays the entire configured rule set.
Example:
Router> show filter
Interface Name : abc
Default action is forward, and current exception rules are :
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
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 <dest-ipAddr><netMask><gateway-ipAddr ><hop count, 1-15>
add ip route <dest-ipAddr><netMask><Profile Name>< 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