HP VPN Firewall Appliances Access Control Command Reference

Table Of Contents
40
Field Descri
p
tion
Description
Description for the object. This field is displayed only when a description is
configured for the object.
Objects
Members of the object. This field is displayed only when one or more objects
are added to the group object.
host address
Use host address to add a host IP address to a host address object.
Use undo host address to remove a host IP address from a host address object.
Use undo host to restore the default.
Syntax
host address ip-address
undo host [ address ip-address ]
Default
A host address object has no host IP address or host name members.
Views
Host address object view
Default command level
2: System level
Parameters
address ip-address: Specifies a host IP address.
Usage guidelines
A host address object can comprise host IP addresses or a host name, but only one type of them. To add
a host IP address to a host address object with a host name member, for example, you must remove the
host name member first.
A host address object can comprise multiple host IP addresses. To add more host IP addresses, execute
the host address command multiple times.
Examples
# Add host IP addresses 1.1.1.1 and 1.1.1.5 to host address object hosttest on the default VD.
<Sysname> system-view
[Sysname] object network host hosttest
[Sysname-object-network-hosttest] host address 1.1.1.1
[Sysname-object-network-hosttest] host address 1.1.1.5
# Add host IP addresses 1.1.1.1 and 1.1.1.5 to host address object hosttest on VD virdev.
<Sysname> system-view
[Sysname] switchto vd virdev
[Sysname-vsys-virdev] object network host hosttest
[Sysname-vsys-virdev-object-network-hosttest] host address 1.1.1.1
[Sysname-vsys-virdev-object-network-hosttest] host address 1.1.1.5