
3-27
Cisco PIX Firewall and VPN Configuration Guide
78-15033-01
Chapter 3 Controlling Network Access and Use
Simplifying Access Control with Object Grouping
Step 5 (Optional) Verify that the object group has been configured successfully:
pix(config)# show object-group [network | services | icmp-type] [grp-id]
This command displays a list of the currently configured object groups of the specified type. Without a
parameter, the command displays all object groups.
For example:
pix(config)# show object-group
object-group network ftp_servers
description: This is a group of FTP servers
network-object host 209.165.201.3
network-object host 209.165.201.4
object-group network TrustedHosts
network-object host 209.165.201.1
network-object 192.168.1.0 255.255.255.0
group-object ftp_servers
Step 6 Apply the access-list command to the object group.
Note Beginning with Version 5.3, the PIX Firewall uses access lists to control connections between
inside and outside networks. Access lists are implemented with the access-list and access-group
commands. These commands are used instead of the conduit and outbound commands, which
were used in earlier versions of PIX
Firewall. In PIX Firewall software releases later than
Version 6.3, the conduit and outbound commands are no longer supported. To help you with
the conversion process, a tool is available online at:
https://cco-dev.cisco.com/cgi-bin/Support/OutputInterpreter/home.pl.
Replace the parameters of the access-list commands with the corresponding object group:
• Replace the protocol parameter with a protocol object group.
• Replace local and remote IP addresses and subnet masks with a network object group.
• Replace the port parameter with a service object group.
• Replace the icmp-type parameter with an icmp-type object group.
Note Empty object groups cannot be used with any commands.
For example, the following command permits access to the members of the object group TrustedHosts:
pix(config)# access-list acl permit tcp object-group TrustedHosts host 1.1.1.1
Refer to the access-list commands in the Cisco PIX Firewall Command Reference for the detailed syntax
of these commands.
Step 7 (Optional) Use the show access-list command to display the expanded access list entries:
pix(config)# show access-list
access-list acl permit tcp host 209.165.201.1 host 1.1.1.1
access-list acl permit tcp 192.168.1.0 255.255.255.0 host 1.1.1.1
access-list acl permit tcp host 209.165.201.3 host 1.1.1.1
access-list acl permit tcp host 209.165.201.4 host 1.1.1.1
Comentarios a estos manuales