P312 Broadband Security Gateway

Appendix E

Firewall CLI Commands

The following table describes the syntax used to configure your firewall using Command Line Interface (CLI) commands. Select option 24.8 Command Interpreter Mode from the Main Menu to go into CLI mode. For details on other CLI commands to configure your Prestige, please consult the supporting CD.

Function

CLI Syntax

Firewall

 

Set-Up

 

 

config edit firewall active <yes

 

no>

 

config retrieve firewall

 

config save firewall

Display

 

 

config display firewall

 

config display firewall set <set

 

#>

Description

Activates or deactivates the saved firewall settings

Retrieves currently saved firewall settings

Saves the current firewall settings

Displays the all the firewall settings including e-mail, attack, and sets/rules

Displays current entries of a set configuration; including timeout values, name, default-permit, and number of rules under it

If you don’t put # after set, it will display all the sets/rules information.

config display firewall set <set #> rule <rule #>

config display firewall attack

config display firewall e-mail

config display firewall ?

Edit

E-mailconfig edit firewall e-mail mail- server

<ip address of mail server>

config edit firewall e-mail return-addr

<e-mail address>

Displays current entries of a rule in a set configuration;

Displays all the settings for attack alert

Displays all the setting for e-mail part

Displays all the available sub commands

Edits the mail server which alerting e-mail messages are sent through

Edits the source address for sending mail usage

CLI Commands

K

Page 232
Image 232
ZyXEL Communications P-312 manual Appendix E Firewall CLI Commands, Function CLI Syntax