HP-UX vPars and Integrity VM V6.3 Administrator Guide

8.4.3.1 Creating and managing a vswitch with a VLAN interface
To illustrate how to create and manage a vswitch with a VLAN interface, assume that your system
has physical and aggregate interfaces as shown by the following format:
Name/ Interface Station Sub- Interface Related
ClassInstance State Address system Type Interface
============== ========= ============== ======== ============== =========
lan0 UP 0x0017A4AB5461 igelan 1000Base-T
lan1 UP 0x0017A4AB5460 igelan 1000Base-T
lan2 UP 0x001A4B06E90A iether 1000Base-T
lan3 UP 0x001A4B06E90B iether 1000Base-T lan900
lan900 UP 0x001A4B06E90B hp_apa hp_apa
lan901 DOWN 0x000000000000 hp_apa hp_apa
lan902 DOWN 0x000000000000 hp_apa hp_apa
lan903 DOWN 0x000000000000 hp_apa hp_apa
lan904 DOWN 0x000000000000 hp_apa hp_apa
To configure a PPA of the VLAN interface (VPPA) with a VLAN ID = 20 on the lan900 aggregate,
enter the following:
# nwmgr -a -S vlan -A vlanid=20, ppa=900
VLAN interface lan5000 successfully configured.
lan5000 current values:
VPPA = 5000
Related PPA = 900
VLAN ID = 20
VLAN Name = UNNAMED
Priority = 0
Priority Override Level = CONF_PRI
ToS = 0
ToS Override Level = IP_HEADER
VLAN Related VLAN Pri Pri ToS Tos Name
Interface Interface ID Override Override
Name Level Level
============= ========= ===== ==== ========== ==== ========== ================
lan5000 lan900 20 0 CONF_PRI 0 IP_HEADER UNNAMED
To create, boot, and view a vswitch bound to VLAN lan5000, enter the following:
# hpvmnet -c -S vs5020 -n 5000
# hpvmnet -b -S vs5020
# hpvmnet -S vs5020
Name Number State Mode NamePPA MAC Address IPv4 Address
======== ====== ======= ========= ======== ============== ===============
vs5020 18 Up Shared lan5000 0x001a4b06e90b
[Port Configuration Details]
Port Port Port Untagged Number of Active VM Tagged
Number State Adaptor VLANID Reserved VMs VLANIDs
======= ============ ======== ======== ============ ============ =============
1 Reserved avio_lan none 2 none
2 Reserved avio_lan none 1 none
3 Active avio_lan none 1 u03 none
To enable the VBVsw feature, HP-UX PHNE_40215 or a superseding patch is required on the VSP.
This patch is available as an individual patch or as part of "FEATURE11i" bundle. To verify whether
the patch is installed, enter the following:
# swlist -l product | grep LAN cumulative patch
PHNE_40215 1.0 LAN cumulative patch
The dlpi_max_ub_promisc kernel tunable must be set to 16 when using a VBVsw type vswitch.
Otherwise, attempting to boot the vswitch fails with the following error message from the hpvmnet
command:
# hpvmnet -b -S vs5000
hpvmnetd: setup_downlink: promisc failed, recv_ack:
promisc_phys: UNIX error - Device busy, errno 5
126 Creating virtual and direct I/O networks