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

v
VLAN(7) VLAN(7)
level 802.1p user priority. Priority override applies to outbound frames only. The priority over-
ride level strings for outbound traffic are:
CONF_PRI Your specified priority value will be used.
IP_HEADER The IP header ToS will be converted to 802.1p priority.
CONF_TOS Your specified ToS value will be converted to 802.1 priority.
tos ToS_value
Specify ToS, the IP precedence in the IP header. Switches ignore ToS. Routers may use it. The
valid range is 0-255. The default is 0.
tos_override level
Provide a mechanism to override the IP level precedence in the header of an inbound IP packet.
ToS override level strings for inbound traffic are:
IP_HEADER The ToS value in the IP header will be used.
ETHER_HEADER The Ether header 802.1p priority will be converted to the ToS value.
CONF_TOS Your specified ToS value will be used.
CONF_PRI Your specified 802.1 priority value will be converted to ToS.
vlanid vlanid
Uniquely identify the VLAN to which a frame belongs. The valid range for vlanid is 0-4094.
vppa vppa
Specify the virtual PPA (VPPA) number associated with a VLAN. See vppa in VLAN lanadmin
Operands.
VLAN lanadmin Operands
The
lanadmin command has the following VLAN operands:
ppa The physical point of attachment (PPA) number of the LAN interface. See lanadmin(1M) for
details.
vppa The virtual PPA (VPPA) number associated with a VLAN. It is virtual because it does not have a
unique hardware instance.
You can display current values of ppa and vppa with the
lanscan command (see lanscan Options and
lanscan(1M)).
lanscan Options
The
lanscan command shows the number of interfaces available on the system such as lan0,or
lan1.
See lanscan(1M). The following
lanscan options can be used to display VLAN information.
lanscan -a Display the MAC addresses of all the interfaces on the system.
lanscan -i Display the names of all the interfaces on the system.
lanscan -m Display the MAC type for all the interfaces.
lanscan -n Display the Network Management IDs for all the interfaces.
lanscan -p Display the PPA or VPPA number for all the interfaces.
lanscan -v Display the output in verbose mode with detailed information.
EXAMPLES
The examples explain the usage of the 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 -V 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 described in VLAN lanadmin Options are used.
222 Hewlett-Packard Company 2 HP-UX 11i Version 2: December 2007 Update