Object group-related tasks
Object groups are useful for defining groups of addresses and ports for use exclusively in the two ACL-defining commands
access-list ip
and
access-list ipv6
.
Common object group-related tasks are as follows. Simple tasks link to the relevant command description.
Task | Command or procedure | Example |
---|---|---|
Creating an IPv4 address object group | object-group ip address
|
object-group ip address my_ipv4_addr_group |
Creating an IPv6 address object group | object-group ipv6 address
|
object-group ipv6 address my_ipv6_addr_group |
Creating a port object group | object-group port
|
object-group port my_port_group |
Showing an IPv4 address object group | show object-group |
show object-group ip address my_ipv4_addr_group |
Showing all IPv6 address object groups | show object-group |
show object-group ipv6 address |
Showing a port object group | show object-group |
show object-group port my_port_group |
Showing all port object groups as commands | show object-group |
show object-group port commands |
Resequencing an IPv4 address object group | object-group ip address
|
object-group ip address my_ipv4_addr_group resequence 100 10 |
Resequencing a port object group | object-group port
|
object-group port my_port_group resequence 200 5 |
Resetting an IPv6 address object group | object-group ipv6 address
|
object-group ipv6 address my_ipv6_addr_group reset |
Resetting a port object group | object-group port
|
object-group port my_port_group reset |