User guide

Firewall Firewall command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-120
4.3.2.0.14 FIREWALL CLEAR PORTFILTERS
Syntax FIREWALL CLEAR PORTFILTERS <policyname>
Description This command deletes all portfilters that were added to an existing firewall policy using
the firewall add portfilter command.
Option Description Default Value
name An arbitrary name that identifies the portfilter. It can be made
up of one or more letters or a combination of letters and dig-
its, but it cannot start with a digit.
N/A
policyname An existing firewall policy. To display policy names, use the
FIREWALL LIST POLICIES command.
N/A
IPaddress The source and destination IP address. The IP address is dis-
played in the following format: 192.168.102.3
N/A
Mask the IP Mask address. N/A
protocol The number of a non-TCP or non-UDP protocol. Protocol
numbers can be found at http://www.ietf.org/rfc/rfc1700.txt
N/A
startport The start of the port range for a TCP or UDP protocol. N/A
endport The end of the port range for a TCP or UDP protocol. N/A
inbound Allows transport of packets of the specified protocol, applica-
tion or service from an outside interface to an inside one.
Outbound transport of the packets is not allowed.
N/A
outbound Allows transport of packets of the specified protocol, applica-
tion or service from an inside interface to an outside inter-
face. Inbound transport of the packets is not allowed.
N/A
both Allows inbound and outbound transport of packets of the
specified protocol, application or service between inside and
outside interfaces.
N/A
enable It enables the changes done to the attributes. N/A
disable It disables the changes done to the attributes. N/A
allow set the permission status of portfilter to allow N/A
deny set the permission status of portfilter to deny