Chapter 53 Services
ZyWALL Series CLI Reference Guide
470
53.2.2 Service Group Commands
The first table lists the commands for service groups.
53.2.2.1 Service Group Command Examples
The following commands create service ICMP_ECHO, create service group SG1, and add ICMP_ECHO
to SG1.
Table 265 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.
[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.
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