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

v
VLAN(7) VLAN(7)
Path Address In# State NamePPA ID Type Support Mjr#
1/4/0/0 0x006023456789 1 DOWN lan1 snap1 1 ETHER Yes 119
Extended Station LLC Encapsulation
Address Methods
0x006023456789 IEEE HPEXTIEEE SNAP ETHER NOVELL
Driver Specific Information
btlan
-----------------------------------------------------------------------
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
VLAN5000 0x006023456789 5000 DOWN lan5000 snap5000 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
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, trafc 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 pri 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
HP-UX 11i Version 2: December 2007 Update 5 Hewlett-Packard Company 225