User manual

Chapter 4 - Layer 3 Command Set - IP Networking Ipfw Command (IP Firewall)
Alvarion BreezeNET B130/B300 GigE 173 Operational User Manual
For better understanding of how filtering mechanism works, it is necessary to
read how filters are defined and how filters are used.
Syntax:
list
show | reset
rearrange [N]
flush
quiet | -quiet
del num
mov num1 num2
add[out] [NUM] [IFNAME] rules...
rules: [{setpri|addpri}=N|-1|-2] accept|reject|rpfilter|pass
[log]
[vlan=N] [dot1p=N] [swg=N] [ether=X] [dscp=N|tos=N]
-f "pcap filter expression"
|
PROTO from [not] ADDR [PORTs] to [not] ADDR [PORTs]
PROTO: [all] | tcp | udp | icmp | arp | proto NUMBER
ADDR: IP | $LOCAL | $ROUTE | $ACL | mac {x:x:x:x:x:x}
PORTS: NUM[:NUM] [NUM] ...
Description:
ipfw show / reset
This command shows "ipfw" rules/resets "ipfw" rules counters.
ipfw list
The set of currently defined filters is displayed on the operator terminal.
ipfw flush
All currently defined filters in both the incoming and outgoing filter sets are
removed. Filtering is disabled.
ipfw add [num] . . .