
13-14
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
OL-20748-01
Chapter 13 Identifying Traffic with Access Lists
Simplifying Access Lists with Object Grouping
Adding a Service Object Group
To add or change a service object group, perform the following steps. After you add the group, you can
add more objects as required by following this procedure again for the same group name and specifying
additional objects. You do not need to reenter existing objects; the commands you already set remain in
place unless you remove them with the
no
form of the command.
To add a service group, perform the following steps:
Step 1
To add a service group, enter the following command:
hostname(config)#
object-group service
grp_id
{
tcp
|
udp
|
tcp-udp
}
The
grp_id
is a text string up to 64 characters in length.
Specify the protocol for the services (ports) you want to add, either
tcp
,
udp
, or
tcp-udp
keywords.
Enter
tcp-udp
keyword if your service uses both TCP and UDP with the same port number, for example,
DNS (port 53).
The prompt changes to service configuration mode.
Step 2
(Optional) To add a description, enter the following command:
hostname(config-service)#
description
text
The description can be up to 200 characters.
Step 3
To define the ports in the group, enter the following command for each port or range of ports:
hostname(config-service)#
port-object
{
eq
port
|
range
begin_port
end_port
}
For a list of permitted keywords and well-known port assignments, see the
“Protocols and Applications”
section on page E-11
.
For example, to create service groups that include DNS (TCP/UDP), LDAP (TCP), and RADIUS (UDP),
enter the following commands:
hostname(config)#
object-group service
services1 tcp-udp
hostname(config-service)#
description DNS Group
hostname(config-service)#
port-object
eq
domain
hostname(config-service)#
object-group service
services2 udp
hostname(config-service)#
description RADIUS Group
hostname(config-service)#
port-object
eq
radius
hostname(config-service)#
port-object
eq
radius-acct
hostname(config-service)#
object-group service
services3 tcp
hostname(config-service)#
description LDAP Group
hostname(config-service)#
port-object
eq
ldap
Adding an ICMP Type Object Group
To add or change an ICMP type object group, perform the following steps. After you add the group, you
can add more objects as required by following this procedure again for the same group name and
specifying additional objects. You do not need to reenter existing objects; the commands you already set
remain in place unless you remove them with the
no
form of the command.
Summary of Contents for 6500 - Catalyst Series 10 Gigabit EN Interface Module Expansion
Page 35: ...P A R T 1 Getting Started and General Information ...
Page 36: ......
Page 297: ...P A R T 2 Configuring the Security Policy ...
Page 298: ......
Page 521: ...P A R T 3 System Administration ...
Page 522: ......
Page 613: ...P A R T 4 Reference ...
Page 614: ......