Chapter 26 Services

 

 

Table 107 object-group Commands: Service Groups (continued)

COMMAND

DESCRIPTION

[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

Renames the specified service group from the first

group_name

group_name to the second group_name.

 

 

26.2.2.1 Service Group Command Examples

The following commands create service ICMP_ECHO, create service group SG1, and add ICMP_ECHO to SG1.

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

Minmum port Maxmum port Ref.

Object name

Protocol

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

ICMP_ECHO

ICMP

8

8

1

ICMP_ECHO References:

 

 

 

 

Category

Rule Name Description

 

 

 

Rule Priority

 

 

 

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

Service Group

N/A

SG1

N/A

Router(config)# show object-group service SG1

Object/Group name

 

Type Reference

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

ICMP_ECHO

Object 1

Router(config)#

 

 

183

NXC CLI Reference Guide