506
# Configure an IPv4 address object with the host name of pc3.
<Sysname> system-view
[Sysname] object-group ip address ipgroup
[Sysname-obj-grp-ip-ipgroup] network host name pc3
# Configure an IPv4 address object with the IPv4 address of 192.167.0.0 and mask length of 24.
<Sysname> system-view
[Sysname] object-group ip address ipgroup
[Sysname-obj-grp-ip-ipgroup] network subnet 192.167.0.0 24
# Configure an IPv4 address object with the IPv4 address of 192.167.0.0 and mask of 255.255.0.0.
<Sysname> system-view
[Sysname] object-group ip address ipgroup
[Sysname-obj-grp-ip-ipgroup] network subnet 192.166.0.0 255.255.0.0
# Configure an IPv4 address object with the address range of 192.165.0.100 to 192.165.0.200.
<Sysname> system-view
[Sysname] object-group ip address ipgroup
[Sysname-obj-grp-ip-ipgroup] network range 192.165.0.100 192.165.0.200
# Configure an IPv4 address object referencing object group ipgroup2.
<Sysname> system-view
[Sysname] object-group ip address ipgroup
[Sysname-obj-grp-ip-ipgroup] network group-object ipgroup2
network (IPv6 address object group view)
Use network to configure an IPv6 address object.
Use undo network to delete the IPv6 address object.
Syntax
[ object-id ] network { host { address ipv6-address | name host-name } | subnet ipv6-address
prefix-length | range ipv6-address1 ipv6-address2 | group-object object-group-name} }
undo network { host { address ipv6-address | name host-name } | subnet ipv6-address prefix-length |
range ipv6-address1 ipv6-address2 | group-object object-group-name }
undo object-id
Default
No IPv6 object exists.
Views
IPv6 object group view
Predefined user roles
network-admin
Parameters
Object-id: Specifies an object ID in the range of 0 to 4294967294. If you do not configure an object ID,
the system automatically assigns the object a multiple of 10 next to the greatest ID being used. For
example, if the greatest ID is 22, the system automatically assigns 30.
host: Configures an IPv6 address object with the host address or name.