lanadmin_vlan.1m (2010 09)

l
lanadmin_vlan(1M) lanadmin_vlan(1M)
(TO BE OBSOLETED)
pri priority
Specify the 802.1p priority in the tag in the frame header. Switches use the 802.1p priority.
The valid range for priority is 0-7. The default is 0.
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. The priority
override 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 lanad-
min 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,orlan1.
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.
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010