HP vPars and Integrity Virtual Machines V6.1 Administrator Guide

VLAN interfaces on the host for the relevant VLANs. Use the lanadmin command to configure
VLANs on a remote HP-UX host. For example, to configure a VLAN interface with VLAN ID 100
on lan4, enter the following command:
# lanadmin -V create vlanid 100 4
Successfully configured
lan5000: vlanid 100 name UNNAMED pri 0 tos 0 tos_override IP_HEADER pri_override CONF_PRI ppa 4
10.5 Using direct I/O networking
The following commands provide direct I/O networking for vPars and VMs:
The hpvmhwmgmt command — allows you to:
List direct I/O capable functions on the VSP:
# hpvmhwmgmt -p dio -l
NOTE: Assignment level is displayed as the output to this command:
function: Function Level Assignment (FLA)
Each function may be added or deleted individually to or from the DIO pool.
Each function may be added or deleted individually to vPars/VMs.
Each function may be used individually by vPars/VMs and the VSP.
device: Device Level Assignment (DLA)
The entire device is added or deleted to or from the DIO pool when one function of
the device is specified.
Each function may be added or deleted individually to vPars/VMs.
Only one vPar/VM at a time can use functions that are part of the same device.
Add a function to the direct I/O pool:
# hpvmhwmgmt -p dio -a hwpath [-l label]
NOTE: You cannot add a function if it is in use by the VSP or restricted for VSP use.
Labels are optional and are used for offline migration.
Delete a function from the direct I/O pool:
# hpvmhwmgmt -p dio -d hwpath
Modify a label:
# hpvmhwmgmt -p dio -m hwpath -l label
Delete a label:
# hpvmhwmgmt -p dio -m hwpath -L none
NOTE: The hpvmdevmgmt a/m/d command blocks any attempt to add, modify, or
delete the Label attribute.
The hpvmmodify command — allows you to:
Add a direct I/O function to a vPar or VM:
# hpvmmodify -P vm -a lan:dio:[b,d,macaddr]:hwpath:hwpath
NOTE: The function must already be in the direct I/O pool.
Delete a direct I/O function from a vPar or VM:
# hpvmmodify -P vm -d lan:dio:[b,d,macaddr]:hwpath:hwpath
Replace a direct I/O function in a vPar or VM:
158 Creating virtual networks