host (IPv6)
Usage Guidelines
To specify a subnet as a group member, use the following forms of this command:
[ sequence-number ] IPv6-address /network-prefix
To specify a single IP address as a group member, use any of the following forms of this command:
[ sequence-number ] host IPv6-address
[ sequence-number ] IPv6-address /128
Regardless of the command form that you use to specify a single IPv6 address, the device shows the
hostIPv6-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 IPv6-address object group named ipv6-addr-group-A7 with two
group members that are specific IPv6 addresses and one group member that is the 2001:db8:0:3ab7:: subnet:
10.121.57.234/32
switch# configure terminal
switch(config)# object-group ipv6 address ipv6-addr-group-A7
switch(config-ipv6addr-ogroup)# host 2001:db8:0:3ab0::1
switch(config-ipv6addr-ogroup)# 2001:db8:0:3ab0::2/128
switch(config-ipv6addr-ogroup)# 2001:db8:0:3ab7::/96
switch(config-ipv6addr-ogroup)# show object-group ipv6-addr-group-A7
10 host 2001:db8:0:3ab0::1
20 host 2001:db8:0:3ab0::2
30 2001:db8:0:3ab7::/96
switch(config-ipv6addr-ogroup)#
Related Commands
Command
object-group ipv6 address
show object-group
Cisco Nexus 7000 Series Security Command Reference
366
Description
Configures an IPv6 address group.
Displays object groups.
H Commands