HP VPN Firewall Appliances Access Control Command Reference

Table Of Contents
44
Parameters
object-name: Specifies the name of an existing IP address object or IP address group object, a
case-insensitive string of 1 to 31 characters.
Usage guidelines
An IP address group object can comprise multiple IP address objects and IP address group objects. To do
so, execute the network-object command multiple times.
Examples
# Add IP address objects objectaddr1 and objectaddr2 to IP address group object groupaddr on the
default VD.
<Sysname> system-view
[Sysname] object-group network groupaddr
[Sysname-obj-grp-network-groupaddr] network-object objectaddr1
[Sysname-obj-grp-network-groupaddr] network-object objectaddr2
# Add IP address objects objectaddr1 and objectaddr2 to IP address group object groupaddr on VD
virdev.
<Sysname> system-view
[Sysname] switchto vd virdev
[Sysname-vsys-virdev] object-group network groupaddr
[Sysname-vsys-virdev-obj-grp-network-groupaddr] network-object objectaddr1
[Sysname-vsys-virdev-obj-grp-network-groupaddr] network-object objectaddr2
object mac
Use object mac to create a MAC address object and enter MAC address object view. If the object
already exists, you enter its view.
Use undo object mac to delete a MAC address object.
Syntax
object mac name
undo object mac name
Default
No MAC address object is configured.
Views
VD system view
Default command level
2: System level
Parameters
name: Specifies the object name, a case-insensitive string of 1 to 31 characters.
Examples
# Create MAC address object objectmac on the default VD.
<Sysname> system-view
[Sysname] object mac objectmac