HP VPN Firewall Appliances Access Control Command Reference

Table Of Contents
45
# Create MAC address object objectmac on VD virdev.
<Sysname> system-view
[Sysname] switchto vd virdev
[Sysname-vsys-virdev] object mac objectmac
Related commands
mac-address
object network
Use object network to create an IP address object and enter its view. If the object already exists, you enter
its view.
Use undo object network to delete an IP address object.
Syntax
object network { host | range | subnet } name
undo object network { host | range | subnet } name
Default
No IP address object is configured.
Views
VD system view
Default command level
2: System level
Parameters
host: Creates a host address object and enter its view.
range: Creates an address range object and enter its view.
subnet: Creates a subnet address object and enter its view.
name: Specifies the object name, a case-insensitive string of 1 to 31 characters.
Usage guidelines
IP address objects fall in to three sub-categories: host address object, address range object, and subnet
address object. The device can have these sub-categories of objects at the same time.
Examples
# Create host address object objectaddr on the default VD.
<Sysname> system-view
[Sysname] object network host objectaddr
# Create address range object objectaddr on the default VD.
<Sysname> system-view
[Sysname] object network range objectaddr
# Create subnet address object objectaddr on the default VD.
<Sysname> system-view
[Sysname] object network subnet objectaddr
# Create host address object objectaddr on VD virdev.