HP-UX VLAN Administrator's Guide, February 2007
A VLAN interface (lan5000) displays in nwmgr output the same as a physical interface. VPPAs
are identified by the string vlanx in the Name/ClassInstance field, where 5000 <= x < 9000 and
is unique per VPPA.
Displaying Only VLAN Interfaces
To display all configured VLAN (and only VLAN) interfaces and their associated properties,
enter:
# nwmgr -S vlan (equivalent to nwmgr -g -S vlan)
For example:
# nwmgr -S vlan
VLAN Related VLAN Pri Pri ToS Tos Name
Interface Interface ID Override Override
Name Level Level
============= ========= ===== ==== ========== ==== ========== ================
lan5000 lan0 454 6 CONF_PRI 0 IP_HEADER UNNAMED
The name of the VLAN interface displays as UNNAMED in cases where the name attribute is
unspecified for the VLAN interface.
Displaying a Specific VLAN Interface
To display information on a specific VLAN interface, enter:
# nwmgr -c lan5000:
The -c specifies a specific target interface (ClassInstance) on which the operation is performed.
For example:
# nwmgr -c lan5000
VLAN Related VLAN Pri Pri ToS Tos Name
Interface Interface ID Override Override
Name Level Level
============= ========= ===== ==== ========== ==== ========== ================
lan5000 lan0 454 6 CONF_PRI 0 IP_HEADER UNNAMED
Modifying a VLAN Interface
To modify the attributes of a VLAN interface, use the set (-s|--set) operation of nwmgr. For
example, to change the VLAN ID to 53 and the priority to 3 on lan5000, enter:
# nwmgr -s -c lan5000 -A vlanid=53, pri=3
For example:
# nwmgr -s -c lan5000 -A vlanid=53, pri=3
Successfully set the requested attributes on lan5000.
lan5000 current values:
New vlanid = 53
New pri = 3
When your modifications are complete, you can display all VLAN interfaces by entering:
# nwmgr -S vlan
Alternatively, to display only the VLAN interface modified, enter:
# nwmgr -c lan5000.
For example:
42 Using nwmgr to Configure and Administer HP-UX VLANs