Nesting Object Groups - Cisco Catalyst 6500 Series Configuration Manual

Catalyst 6500 series switch and cisco 7600 series router firewall services
Hide thumbs Also See for Catalyst 6500 Series:
Table of Contents

Advertisement

Simplifying Access Control Lists with Object Grouping
(Optional) To add a description, enter the following command:
Step 2
FWSM/contexta(config-icmp-type)# description text
The description can be up to 200 characters.
To define the ICMP types in the group, enter the following command for each type:
Step 3
FWSM/contexta(config-icmp-type)# icmp-object icmp_type
See the
For example, to create an ICMP type group that includes echo-reply and echo (for controlling ping),
enter the following commands:
FWSM/contexta(config)# object-group icmp-type ping
FWSM/contexta(config-service)# description Ping Group
FWSM/contexta(config-icmp-type)# icmp-object echo
FWSM/contexta(config-icmp-type)# icmp-object echo-reply

Nesting Object Groups

To nest an object group within another object group of the same type, first create the group that you want
to nest according to the
To add or edit an object group under which you want to nest another object group, enter the following
Step 1
command:
FWSM/contexta(config)# object-group {{protocol | network | icmp-type} grp_id |
service grp_id {tcp | udp | tcp-udp}}
To add the specified group under the object group you specified in step 1, enter the following command:
Step 2
FWSM/contexta(config- group_type )# group-object grp_id
The nested group must be of the same type.
You can mix and match nested group objects and regular objects within an object group.
For example, you create network object groups for privileged users from various departments:
FWSM/contexta(config)# object-group network eng
FWSM/contexta(config-network)# network-object host 10.1.1.5
FWSM/contexta(config-network)# network-object host 10.1.1.9
FWSM/contexta(config-network)# network-object host 10.1.1.89
FWSM/contexta(config-network)# object-group network hr
FWSM/contexta(config-network)# network-object host 10.1.2.8
FWSM/contexta(config-network)# network-object host 10.1.2.12
FWSM/contexta(config-network)# object-group network finance
FWSM/contexta(config-network)# network-object host 10.1.4.89
FWSM/contexta(config-network)# network-object host 10.1.4.100
You then nest all three groups together as follows:
FWSM/contexta(config)# object-group network admin
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide
10-22
"ICMP Types" section on page D-9
"Adding Object Groups" section on page
Chapter 10
Controlling Network Access with Access Control Lists
for a list of ICMP types.
10-19. Then follow these steps:
OL-6392-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

7600 series

Table of Contents