HP-UX Reference (11i v2 04/09) - 7 Device (Special) Files, 9 General Information, Index (vol 10)

v
vlan(7) vlan(7)
CONF_PRI Your specified 802.1 priority value will be converted to
ToS.
pri_override level
Priority override provides a mechanism to convert IP level precedence (IPV4 ToS
octet) to link level 802.1p user priority. Priority override applies to outbound
frames only. Priority override level strings for outbound traffic are:
CONF_PRI Your specified priority value will be used.
IP_HEADER IP header ToS will be converted to 802.1p priority.
CONF_TOS Your specified ToS value will be converted to 802.1 prior-
ity.
lanadmin -V scan
Identifies all VLANs and their properties.
lanadmin -V info vppa
Identifies a single VLAN and its properties. The command returns 0 on successful completion and
-1 on failure.
lanadmin -V basevppa
For finding the minimum acceptable value for a virtual PPA (VPPA).
lanadmin -p
lanadmin option to see if for upper-layer protocols or applications are running (used before delet-
ing VLANs)
lanscan Options
The
lanscan command shows the number of interfaces available on the system such as lan0, lan1. The
following lanscan options can be used to display vlan information.
lanscan -a displays the MAC addresses of all the interfaces on the system.
lanscan -i displays the names of all the interfaces on the system.
lanscan -m displays the MAC type for all the interfaces
lanscan -n displays the Network Management IDs for all the interfaces
lanscan -p displays the PPA or VPPA number for all the interfaces
lanscan -v displays the output in verbose mode with detailed information.
EXAMPLES
Following are explanations of the usage of all the new and existing
lanadmin and lanscan commands
and how they can be used to work with virtual LANs (VLANs).
Creating a VLAN
When VLANs are configured on a LAN card, the
lanscan output under Hardware Path shows VLANx,
where x is a unique VLAN interface number.
To create VLANs, you use either SAM or the
lanadmin create command. There are multiple
required and optional arguments for creating VLANs. If you don’t specify any or all of the optional argu-
ments, the default values shown at the beginning of this man page are used.
You can either specify a virtual PPA (VPPA) number greater than the minimum allowed VPPA number
(5000) or allow the system to assign a VPPA number.
Suppose you want to create a VLAN with a VPPA of 6050 and a vlanid of 4 on PPA 0, you can use the fol-
lowing command:
#lanadmin -V create vlanid 4 vppa 6050 0
Upon successful creation, the following message is displayed:
Successfully configured.
lan6050: vlanid 4 name UNNAMED pri 0 tos 0
tos_override IP_HEADER pri_override CONF_PRI ppa 0
The message shows that you have successfully created VLAN 6050 on the system. If you do not assign
any name to a VLAN, a standard string "UNNAMED" is displayed as the name.
HP-UX 11i Version 2: September 2004 2 Hewlett-Packard Company Section 7205