Chapter 28 Services

Table 143 service-object Commands: Service Objects (continued)

COMMAND

DESCRIPTION

service-objectobject_name icmp icmp_value

Creates the specified ICMP message using the specified

 

parameters.

 

icmp_value: <0..255> alternate-address conversion-error

 

echo echo-reply information-reply information-request

 

mask-reply mask-request mobile-redirect parameter-

 

problem redirect router-advertisement router-solicitation

 

source-quench time-exceeded timestamp-reply

 

timestamp-request unreachable

 

 

service-object object_name protocol <1..255>

Creates the specified user-defined service using the specified

 

parameters.

 

 

service-object rename object_name object_name

Renames the specified service from the first object_name to

 

the second object_name.

 

 

service-object object_name icmpv6 {<0..255>

Creates the specified ICMPv6 message using the specified

neighbor-solicitation router-advertisement

parameters.

echo packet-toobig router-solicitation

 

echo-reply parameter-problem time-exceeded

 

neighbor-advertisement redirect unreachable}

 

28.2.1.1 Service Object Command Examples

The following commands create four services, displays them, and then removes one of them.

Router# configure terminal

 

23

Router(config)# service-object TELNET tcp eq

Router(config)# service-object FTP tcp range

20 21

Router(config)# service-object ICMP_ECHO icmp echo

Router(config)# service-object MULTICAST protocol 2

Router(config)# show service-object

Minmum port Maxmum port Ref.

Object name

Protocol

=====================================================================TELNET

TCP

23

23

0

21

0

FTP

 

TCP

20

ICMP_ECHO

 

ICMP

0

0

0

MULTICAST

 

2

0

0

0

Router(config)# no service-object ICMP_ECHO

 

 

 

Router(config)# show service-object

Minmum port

Maxmum port

Ref.

Object name

 

Protocol

=====================================================================TELNET

 

TCP

23

23

0

21

0

FTP

 

TCP

20

MULTICAST

 

2

0

0

0

28.2.2 Service Group Commands

The first table lists the commands for service groups.

Table 144 object-group Commands: Service Groups

COMMAND

DESCRIPTION

show object-group service group_name

Displays information about the specified service group.

[no] object-group service group_name

Creates the specified service group if necessary and enters sub-command

 

mode. The no command removes the specified service group.

[no] service-object object_name

Adds the specified service to the specified service group. The no command

 

removes the specified service from the specified group.

244

 

ZyWALL (ZLD) CLI Reference Guide