H Commands
Command Default
None
Command Modes
IPv4 address object group configuration.
Command History
Release
4.0(1)
Usage Guidelines
To specify a subnet as a group member, use either of the following forms of this command:
[ sequence-number ] IPv4-address network-wildcard
[ sequence-number ] IPv4-address / prefix-len
Regardless of the command form that you use to specify a subnet, the device shows the IP-address/prefix-len
form of the group member when you use the show object-group command.
To specify a single IPv4 address as a group member, use any of the following forms of this command:
[ sequence-number ] host IPv4-address
[ sequence-number ] IPv4-address 0.0.0.0
[ sequence-number ] IPv4-address /32
Regardless of the command form that you use to specify a single IPv4 address, the device shows the host
IP-address form of the group member when you use the show object-group command.
This command does not require a license.
Examples
This example shows how to configure an IPv4-address object group named ipv4-addr-group-13 with two
group members that are specific IPv4 addresses and one group member that is the 10.23.176.0 subnet:
10.121.57.234/32
switch# configure terminal
switch(config)# object-group ip address ipv4-addr-group-13
switch(config-ipaddr-ogroup)# host 10.121.57.102
switch(config-ipaddr-ogroup)#
switch(config-ipaddr-ogroup)# 10.23.176.0 0.0.0.255
switch(config-ipaddr-ogroup)# show object-group ipv4-addr-group-13
10 host 10.121.57.102
20 host 10.121.57.234
30 10.23.176.0/24
switch(config-ipaddr-ogroup)#
Related Commands
Command
object-group ip address
Modification
This command was introduced.
Description
Configures an IPv4 address group.
Cisco Nexus 7000 Series Security Command Reference
host (IPv4)
363