Symbol Technologies WS 2000 Switch User Manual


 
Command Line Interface Reference 10-49
WS2000>admin(network.fw.policy.outb)> insert
Description:
Inserts a new outbound firewall policy before an existing policy.
Syntax:
Example:
admin(network.fw.policy.outb)>list
-----------------------------------------------------------------------------
Idx Src IP-Netmask Dst IP-Netmask Tp SPorts DPorts Rev. NAT Action
-----------------------------------------------------------------------------
1 209.239.170.88- 192.168.42.2- all 1: 1: 0.0.0.0 deny
255.255.255.224 255.255.255.0 65535 65535 nat port 0
admin(network.fw.policy.outb)>insert 1 209.239.160.44 255.255.255.224 192.168.55.
44 255.255.255.0
Outbound Policy Successfully inserted at index 1
admin(network.fw.policy.outb)>list
-----------------------------------------------------------------------------
Idx Src IP-Netmask Dst IP-Netmask Tp SPorts DPorts Rev. NAT Action
-----------------------------------------------------------------------------
1 209.239.160.44- 192.168.55.44- all 1: 1: 0.0.0.0 deny
255.255.255.224 255.255.255.0 65535 65535 nat port 0
2 209.239.170.88- 192.168.42.2- all 1: 1: 0.0.0.0 deny
255.255.255.224 255.255.255.0 65535 65535 nat port 0
insert
<idx> <sip> <snetmask> <dip> <dnetmask>
Inserts a new policy into the outbound firewall policy list at spot
<idx>, with source IP address and netmask of <sip> and <snetmask>,
and destination IP address and netmask of <dip> and <dnetmask>.