HP-UX VLAN Administrator's Guide, February 2007
Adding a VLAN Interface
Assume that your system has physical interfaces configured as shown by the following output:
# nwmgr
Name/ Interface Station Sub- Interface Related
ClassInstance State Address system Type Interface
============== ========= ============== ======== ============== =========
lan0 UP 0x00306E4B08F9 igelan 1000Base-T
lan1 DOWN 0x00306E5FF044 btlan 100Base-TX
lan2 UP 0x00306E5FF045 btlan 100Base-TX
To use nwmgr to configure a VPPA with VLAN ID = 454 and a priority = 6 on lan0, enter:
# nwmgr -a -S vlan -A vlanid=454, pri=6, ppa=0
For example:
# nwmgr -a -S vlan -A vlanid=454, pri=6, ppa=0
VLAN interface lan5000 successfully configured.
lan5000 current values:
VPPA = 5000
Related PPA = 0
VLAN ID = 454
VLAN Name = UNNAMED
Priority = 6
Priority Override Level = CONF_PRI
ToS = 0
ToS Override Level = IP_HEADER
This command adds a VLAN interface with a VLAN ID of lan5000 on physical interface lan0.
The PPA associated with the VLAN, 5000 is referred to as its VPPA. Parameters not specified in
the command are assigned default values.
Displaying Interfaces
You can use the nwmgr command to display all configured interfaces on a server or only interfaces
of specified subsystems. One of the subsystems supported by nwmgr is VLAN; other examples
include btlan, gelan, iether, and igelan. For a list of supported subsystems on a specific
server, enter:
# nwmgr -h -S all
Displaying All Configured Interfaces
To view configured interfaces of all supported subsystems (including VLAN) enter:
# nwmgr
For example:
# nwmgr
Name/ Interface Station Sub- Interface Related
ClassInstance State Address system Type Interface
============== ========= ============== ======== ============== =========
lan0 UP 0x00306E4B08F9 igelan 1000Base-T
lan5000 UP 0x00306E4B08F9 vlan vlan lan0
lan1 DOWN 0x00306E5FF044 btlan 100Base-TX
lan2 UP 0x00306E5FF045 btlan 100Base-TX
Adding a VLAN Interface 41