HP (Hewlett-Packard) T1453-90001 Network Hardware User Manual


 
Using lanadmin -V to Administer VLANs
Using the lanadmin -V Command for Administering VLANs
Chapter 550
The VLAN (lan5000) appears in lanscan output just like a physical
interface. VPPAs are identified by the string “VLANx” in the hardware
path, where x is a number and is unique per VPPA. In the lanscan
output, VPPAs of a given physical interface are displayed just after the
corresponding physical interface.
The verbose option of the lanscan command displays more information
about the VLAN.
lanscan -v
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State Name PPA ID Type Support Mjr#
VLAN0 0x001083FF9951 5000 UP lan5000 snap5000 14 ETHER Yes 119
Extended Station LLC Encapsulation
Address Methods
0x001083FF9951
Driver Specific Information
vlan
.......................................................................
Vlan ID Phy-PPA Priority ToS Priority-Override ToS-Override Name
454 0 6 0 CONF_PRI IP_HEADER UNNAMED
Using lanadmin to Set 802.1p Priority, ToS, and Overrides
The lanadmin -V create vlanid command has options to set the
802.1p priority, called pri, and/or the Type of Service (ToS) value, called
tos. It also has pri_override and tos_override. For more details, refer to
“Setting 802.1p Priority, ToS, and Overrides” in this document.
Using lanadmin to Query for VLANs on a System
The following command can be used to query for the list of VPPAs
configured and their properties.
lanadmin -V scan
A sample output for the successful command is as follows:
VLAN Physical VLAN Pri Pri ToS ToS NAME
Interface Interface ID Override Override
Name Level Level
lan5000 lan0 5 2 CONF_PRI 25 IP_HEADER
lan5003 lan0 11 5 CONF_PRI 204 CONF_PRI purple
lan5001 lan1 1 4 IP_HEADER 64 IP_HEADER newone
lan5002 lan2 3 7 CONF_TOS 200 CONF_PRI UNNAMED
Note: UNNAMED will be displayed as the VLAN name if there is no
name associated with the VPPA.