Chapter 26 Services

Table 106 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 list

Lists all available network services.

service-object rename object_name object_name

Renames the specified service from the first

 

object_name to the second object_name.

26.2.1.1 Service Object Command Examples

The following commands create one service and display information about it.

Router# configure terminal

Router(config)# service-object FTP tcp range 20 21

Router(config)# show service-object FTP

 

Router(config)# show service-object FTP

Minmum port Maxmum port Ref.

Object name

Protocol

===========================================================================

FTP

TCP

20

21

1

FTP References:

 

 

 

 

Category

Rule Name Description

 

 

 

Rule Priority

 

 

 

===========================================================================

Captive Portal

3

N/A

N/A

Router(config)#

 

 

26.2.2 Service Group Commands

The first table lists the commands for service groups.

Table 107 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.

182

 

NXC CLI Reference Guide