Using HP-UX VLANs (September 2004)

Using lanadmin -V to Administer VLANs
Using the lanadmin -V Command for Administering VLANs
Chapter 5 59
Driver Specific Information
vlan
...........................................................
............
Vlan ID Phy-PPA Priority ToS Priority-Override ToS-Override
Name
53 0 3 0 CONF_PRI IP_HEADER
UNNAMED
Using lanadmin to Delete a VLAN
Before deleting a VLAN, ensure that there are no applications or upper
layer protocols active on the VLAN by running:
lanadmin -p <VPPA>.
This command displays the applications and commands that are
presently using the interface. For example, if the only thing done to
lan5000 is configure an IP address, the lanadmin -p command output
would look like:
lanadmin -p 5000
ifconfig
ifconfig
Since ifconfig command is used to configure an IP address the same is
displayed. There are two entries because when an IPv4 address is
configured using ifconfig, it configures both IP and ARP on the
interface.
To remove the IP and ARP streams, do:
ifconfig lan5000 unplumb.
The lanadmin -p 5000 output will not show any entries now, which
means the interface can be deleted. To delete this VLAN use the delete
option as follows:
lanadmin -V delete 5000
The lanadmin -p <PPA>, command always displays the displays the
applications and commands that use or are configured on the interface.
Lets take another example. Before deleting, the interface lan5001, check
if there are any applications running on it by typing:
lanadmin -p 5001