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


 
Using lanadmin -V to Administer VLANs
Using the lanadmin -V Command for Administering VLANs
Chapter 5 53
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
ifconfig
ifconfig
mib2agt
scopeux
In addition to IP and ARP being configured on the interface, two
applications, mib2agt and scopeux, are using the interface. These
applications are started during system bootup via the startup scripts
/sbin/rc2.d/S565SnmpMib2 and /sbin/rc2.d/S810mwa respectively. To
stop these utilities, run the stop sequence of the scripts. To delete the
lan5001 interface, type the following commands:
ifconfig lan5001 unplumb
/sbin/rc2.d/S565SnmpMib2 stop
/sbin/rc2.d/S810mwa stop
Now, lanadmin -p 5001 will not display anything, and the interface can
be deleted using lanadmin -V delete
vppa
.
Once the interface is deleted, you can restart the script by issuing the
start sequence:
/sbin/rc2.d/S565SnmpMib2 start
/sbin/rc2.d/S810mwa start
NOTE: The start and stop sequence of the startup scripts will affect all
the interfaces on the system, and they must be restarted once the delete
operation is completed.
The output from the commands just described may not look exactly the
same on your system. The output can vary depending on the applications
using the interfaces in your environment.