ZyXEL Communications P-661HW Series 用户手册
P-661H/HW Series User’s Guide
Appendix G
329
Appendix G
Firewall Commands
The following describes the firewall commands.
Table 142 Firewall Commands
FUNCTION
COMMAND
DESCRIPTION
Firewall SetUp
config edit firewall active
<yes | no>
<yes | no>
This command turns the firewall on or off.
config retrieve firewall
This command returns the previously saved
firewall settings.
config save firewall
This command saves the current firewall
settings.
Display
config display firewall
This command shows the of all the firewall
settings including e-mail, attack, and the sets/
rules.
config display firewall set
<set #>
<set #>
This command shows the current
configuration of a set; including timeout
values, name, default-permit, and etc.If you
don’t put use a number (#) after “set”,
information about all of the sets/rules appears.
config display firewall set
<set #> rule <rule #>
<set #> rule <rule #>
This command shows the current entries of a
rule in a firewall rule set.
config display firewall attack This command shows all of the attack
response settings.
config display firewall e-mail This command shows all of the e-mail
settings.
config display firewall?
This command shows all of the available
firewall sub commands.
Edit
E-mail
config edit firewall e-mail
mail-server <ip address of
mail server>
mail-server <ip address of
mail server>
This command sets the IP address to which
the e-mail messages are sent.