ZyXEL Communications ZLD Benutzerhandbuch
Chapter 28 Services
ZyWALL (ZLD) CLI Reference Guide
244
28.2.1.1 Service Object Command Examples
The following commands create four services, displays them, and then removes one of them.
28.2.2 Service Group Commands
The first table lists the commands for service groups.
service-object object_name icmp icmp_value
Creates the specified ICMP message using the specified
parameters.
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
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.
parameters.
service-object rename object_name object_name
Renames the specified service from the first object_name to
the second object_name.
the second object_name.
service-object object_name icmpv6 {<0..255> |
neighbor-solicitation | router-advertisement |
echo | packet-toobig | router-solicitation |
echo-reply | parameter-problem | time-exceeded |
neighbor-advertisement | redirect | unreachable}
Creates the specified ICMPv6 message using the specified
parameters.
parameters.
Table 143
service-object Commands: Service Objects (continued)
COMMAND
DESCRIPTION
Router# configure terminal
Router(config)# service-object TELNET tcp eq 23
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
Object name Protocol Minmum port Maxmum port Ref.
=====================================================================TELNET
TCP 23 23 0
FTP TCP 20 21 0
ICMP_ECHO ICMP 0 0 0
MULTICAST 2 0 0 0
Router(config)# no service-object ICMP_ECHO
Router(config)# show service-object
Object name Protocol Minmum port Maxmum port Ref.
=====================================================================TELNET
TCP 23 23 0
FTP TCP 20 21 0
MULTICAST 2 0 0 0
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
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.