ZyXEL Communications 3.1 User Manual

Page of 386
 Chapter 28 Services
ZyWALL (ZLD) CLI Reference Guide
245
28.2.2.1  Service Group Command Examples
The following commands create service ICMP_ECHO, create service group SG1, and add 
ICMP_ECHO to SG1.
[no] object-group group_name
Adds the specified service group (second group_name) to the specified 
service group (first group_name). The 
no
 command removes the specified 
service group from the specified service group.
[no] description description
Sets the description to the specified value. The 
no
 command removes the 
description.
description
: You can use alphanumeric and 
()+/:=?!*#@$_%-
 
characters, and it can be up to 60 characters long.
object-group service rename group_name 
group_name
Renames the specified service group from the first group_name to the 
second group_name.
Table 144   
object-group Commands: Service Groups (continued)
COMMAND
DESCRIPTION
Router# configure terminal
Router(config)# service-object ICMP_ECHO icmp echo
Router(config)# object-group service SG1
Router(group-service)# service-object ICMP_ECHO
Router(group-service)# exit
Router(config)# show service-object ICMP_ECHO
Object name                     Protocol         Minmum port  Maxmum port  Ref.
===========================================================================
ICMP_ECHO                       ICMP             8            8            1
Router(config)# show object-group service SG1
Object/Group name               Type   Reference
===========================================================================
ICMP_ECHO                       Object 1