Chapter 53 Services
ZyWALL Series CLI Reference Guide
469
53.2.1.1 Service Object Command Examples
The following commands create four services, displays them, and then removes one of them.
service-object object_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>
| 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.
Table 264 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