beautypg.com

Appendix e firewall cli commands – ZyXEL Communications Broadband Security Gateway P-312 User Manual

Page 232

background image

P312 Broadband Security Gateway

CLI Commands

K

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

Description

F

F

i

i

r

r

e

e

w

w

a

a

l

l

l

l

S

S

e

e

t

t

-

-

U

U

p

p

config edit firewall active | no>

Activates or deactivates the saved firewall settings

config retrieve firewall

Retrieves currently saved firewall settings

config save firewall

Saves the current firewall settings

D

D

i

i

s

s

p

p

l

l

a

a

y

y

config display firewall

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

config display firewall set #>

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 #> rule

Displays current entries of a rule in a set configuration;

config display firewall attack

Displays all the settings for attack alert

config display firewall e-mail

Displays all the setting for e-mail part

config display firewall ?

Displays all the available sub commands

E

E

d

d

i

i

t

t

E

E

-

-

m

m

a

a

i

i

l

l

config edit firewall e-mail mail-
server

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

config edit firewall e-mail
return-addr

Edits the source address for sending mail usage