Using HP-UX VLANs (September 2004)

Using lanadmin -V to Administer VLANs
Using the lanadmin -V Command for Administering VLANs
Chapter 558
lanadmin -V basevppa
Example: lanadmin -V basevppa
5000
Using a VLAN
Once a VLAN is created, its VPPA can be used to configure protocols,
send commands, and transmit and receive data just like a physical point
of attachment (PPA). For example, to configure an IP address on the
VLAN, type:
ifconfig lan5000 inet 100.2.1.1 netmask 255.255.255.0 up
NOTE You cannot change physical link properties such as speed, duplexity, or
maximum transmission unit (MTU) over a VLAN. If you make changes
to a physical interface, those changes will be reflected in the VLANs on
that interface.
Using lanadmin to Modify a VLAN
The properties of a VLAN can be modified using lanadmin. For example,
to change the VLAN ID to 53 and priority to 3, on lan5000, type:
lanadmin -V modify vlanid 53 pri 3 5000
Successfully modified lan5000
Old value: vlanid 454 pri 6
New value: vlanid 53 pri 3
After the modification, the lanscan -v output will display:
Hardware Station Crd Hdw Net-Interface NM MAC
HP-DLPI DLPI
Path Address In# State NamePPA ID Type
Support Mjr#
VLAN0 0x001083FF9951 5000 UP lan5000 snap5000 14 ETHER
Yes 119
Extended Station LLC Encapsulation
Address Methods
0x001083FF9951