host (IPv4)
To specify a host or a subnet as a member of an IPv4-address object group, use the host command. To remove
a group member from an IPv4-address object group, use the no form of this command.
[ sequence-number ] host IPv4-address
no {sequence-number| host IPv4-address}
[ sequence-number ] IPv4-address network-wildcard
no IPv4-address network-wildcard
[ sequence-number ] IPv4-address / prefix-len
no IPv4-address / prefix-len
Syntax Description
(Optional) Sequence number for this group member.
Sequence numbers maintain the order of group
members within an object group. Valid sequence
numbers are from 1 to 4294967295. If you do not
specify a sequence number, the device assigns a
number that is 10 greater than the largest sequence
number in the current object group.
sequence-number
Specifies that the group member is a single IPv4
address. Enter IPv4-address in dotted-decimal format.
host IPv4-address
IPv4 address and network wildcard. Enter
IPv4-address and network-wildcard in dotted-decimal
format. Use network-wildcard to specify which bits
of IPv4-address are the network portion of the
address, as follows:
switch(config-ipaddr-ogroup)# 10.23.176.0
0.0.0.255
A network-wildcard value of 0.0.0.0 indicates that
the group member is a specific IPv4 address.
IPv4-address network-wildcard
IPv4 address and variable-length subnet mask. Enter
IPv4-address in dotted-decimal format. Use prefix-len
to specify how many bits of IPv4-address are the
network portion of the address, as follows:
switch(config-ipaddr-ogroup)# 10.23.176.0/24
A prefix-len value of 32 indicates that the group
member is a specific IP address.
IPv4-address/prefix-len
Cisco Nexus 7000 Series Security Command Reference
362
H Commands
host (IPv4)