10

Configuration Commands

Use these commands to configure your configuration settings on the ZyWALL. Many of these commands are also available in the web configurator.

10.1 Command Summary

The following table describes the values required for many config commands. Other values are discussed with the corresponding commands.

Table 26 config Command Input Values

LABEL

DESCRIPTION

day

Specifies which day. Options are

 

sundaymondaytuesdaywednesdaythursdayfridaysaturday.

entry#

Specifies which custom service (from 1~100). A custom service allows you to

 

configure a port for specific applications such as P2P applications. The available

 

sub-fields are:

 

name <string>

 

range <start-port><end-port>

 

ip-protocol<icmptcpudptcp/udpuser-defined>

 

user-defined-ip <1~255>

 

icmp-type <0~255>

 

icmp-code <0~255>

 

 

mask

Describes a subnet mask in dotted decimal notation.

 

 

non-zero-

A non-zero number used to indicate a black or white filter rule is enabled.

number

 

 

 

rule#

Specifies which rule from in a set. A rule is used to describe an action to be

 

taken when a packet matches the rule description. The number of rules

 

available depends on the product.

 

See Section 10.3.2 on page 81 for a detailed description of the parameters.

 

 

rule-action

Specifies the action to take when a rule applies to a packet. The options are

 

permitdropreject.

send-email-

Specifies when to send an e-mail. Options are fullhourlydailyweeklynone.

policy

 

 

 

set#

Specifies which set. A set is a named set of rules and actions applying to

 

packets with a specified source and destination interface. Set numbers go from

 

1~255. See Section 10.3.1 on page 77 for a detailed description of the

 

parameters.

 

 

 

67

ZyWALL (ZyNOS) CLI Reference Guide