HP-UX Reference (11i v2 04/09) - 7 Device (Special) Files, 9 General Information, Index (vol 10)
v
vlan(7) vlan(7)
Address Methods
0x006023456789 IEEE HPEXTIEEE SNAP ETHER NOVELL
Driver Specific Information
vlan
Vlan ID Phy-PPA Priority ToS Priority-Override ToS-Override Name
75 1 3 64 CONF_PRI IP_HEADER honey
-----------------------------------------------------------------------
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
VLAN5001 0x006023456789 5001 DOWN lan5001 snap5001 15 ETHER Yes 119
Extended Station LLC Encapsulation
Address Methods
0x006023456789 IEEE HPEXTIEEE SNAP ETHER NOVELL
Driver Specific Information
vlan
Vlan ID Phy-PPA Priority ToS Priority-Override ToS-Override Name
76 1 2 200 IP_HEADER ETHER_HEADER bee
-----------------------------------------------------------------------
You can configure an IP address on the VPPAs. Let’s consider configuring VPPA 6050 with IP address
192.1.1.1. This can be done using the ifconfig command as it would be done for any PPA.
#ifconfig lan6050 192.1.1.1 netmask 0XFFFFF800 up.
The snapshots for lanscan -v, lanscan, lanadmin -V info, and lanadmin -V scan remain
the same.
Modifying a VLAN
You can modify a vlan while it is supporting traffic. If you modify a vlanid, traffic will be sent and
received on the new vlanid but not on the former vlanid.
Let’s try to modify the properties of the VPPAs already created, and also study the corresponding changes
in various
lanadmin and lanscan command outputs. Let’s modify the vlanid, priority, and name of
VPPA 6050. The following command will change the vlanid from 4 to 100, priority value from 0 to 7, and
the name from the default name to "candy" for VPPA 6050.
#lanadmin -V modify vlanid 100 priority 7 name candy 6050
Successfully modified lan6050.
Old value: vlanid 4 pri 0 name UNNAMED
New value: vlanid 100 pri 7 name candy
Let’s modify the properties tos, tos_override and pri_override for VPPA 5000. The following command
can be used to change tos to 64 from 100, tos_override to IP_HEADER from CONF_TOS and pri_override
to CONF_PRI from IP_HEADER.
#lanadmin -V modify tos 64 tos_override IP_HEADER pri_override CONF_PRI
5000
Successfully modified lan5000.
Old value: tos 100 tos_override CONF_TOS pri_override IP_HEADER
New value: tos 64 tos_override IP_HEADER pri_override CONF_PRI
Let’s take a look at the
lanadmin -V scan, lanadmin -V info, and lanscan -v snapshot of
the system after successful modification of 2 VPPAs: VPPA 6050 on PPA 0 and VPPA 5000 on PPA 1. The
lanscan snapshot will remain the same as before the modification; however you can see differences in
the lanscan -v and lanadmin -V scan snapshots before and after modification.
#lanadmin -V scan
VLAN Physical VLAN Pri Pri ToS ToS NAME
Interface Interface ID Override Override
Name Level Level
lan6050 lan0 100 7 CONF_PRI 0 IP_HEADER candy
Section 7−−208 Hewlett-Packard Company − 5 − HP-UX 11i Version 2: September 2004