HP T1453-90001 manual Lanadmin -V delete

Page 53

Using lanadmin -V to Administer VLANs

Using the lanadmin -V Command for Administering VLANs

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.

Chapter 5

53

Image 53
Contents Using HP-UX VLANs Legal Notices Contents Glossary Tables Tables Figures Figures What are HP-UX VLANs? VLANs Virtual LANs Physical ViewLogical View Chapter HP-UX Vlan Features Benefits of HP-UX VLANs Types of VLANs Supported by HP-UX Ieee 802.1Q Vlan Tag in Ethernet Frame HP-UX Vlan TaggingVlans Overlapping or Sharing the Same LAN Card Port Patches Required for the March 2002 HP-UX 11i-based Version System and Software RequirementsDriver 11i Patch # Needed Patches for HP-UX VLANsSupported Switches Unsupported Functionality Overview of Installation Communication between Vlans Requires an External Router Planning HP-UX VLANsTagged and Untagged Vlan Technology in Same Network How to Configure VLANs on the SwitchVLANs Per Tagging Scheme Port Summary of Vlan Tagging AssignmentHow to Configure VLANs on HP-UX Configuration Process Properties of a Vlan Special Case of Vlan ID 0--Priority Tagged Frames Promiscuous Mode CharacteristicsAllowable Values for Parameters in vlanconf File Parameter Range Default Type Description RestrictionsAllowable Values for HP VLANs Parameter -- description Range and Restrictions Default Type Example VLANs and Service Guard Using VLANs with MC/ServiceGuardLan5002 Lan5003 Lan5000 Lan5001 Vlanid Lan2ToS to 802.1 User Priority Mappings Based on IP Precedence How is 802.1p Priority Set?Value in vlanconf File Allowable Settings for VlanprioverridePriority Override Setting Outbound IP Packets Vlantosoverride Value in vlanconf Allowable Settings forWhere to Get More Information Setting 802.1p Priority, ToS, and OverridesWhere to Get More Information Chapter Configuring VLANs Using SAM List Pulldown with Virtual LANs Displayed Configuring VLANs Using SAMAction Pulldown for Creating Virtual LANs Create Virtual LANs Add an IP Address for the Vlan Configuring VLANs Using SAM Chapter Configuring VLANs by Editing # Vlanid Modifying Parameters in vlanconf FileConftos # VLANPRIORITY1= Using lanadmin -V to Lanadmin Syntax Using the lanadmin -V Command for Administering VLANsDisplaying a Vlan and its Properties Using lanadmin to Create a VlanUsing lanadmin to Query for VLANs on a System Using lanadmin to Set 802.1p Priority, ToS, and OverridesUsing lanadmin to Modify a Vlan Using a VlanLanadmin -V modify vlanid 53 pri 3 Using lanadmin to Delete a VlanLanadmin -V delete Using lanadmin -V to Administer VLANs Troubleshooting Troubleshooting Table A-1 Flowchart Descriptions Chart Type of Test Purpose Diagnostic FlowchartsFlowchart 1 Link Level Tests Figure A-1 Flowchart Figure A-2 Flowchart 1a Flowchart 1a Linkloop TestFlowchart 1a Procedures Figure A-3 Flowchart 1b Flowchart 1b lanscan and lanadmin TestFlowchart 1b Procedures Figure A-4 Flowchart Flowchart 2 Network Level TestsFlowchart 2 Procedures Figure A-5 Flowchart 2a Flowchart 2a ARP TestFlowchart 2a Procedures Figure A-6 Flowchart 2b Flowchart 2b ping TestFlowchart 2b Procedures Figure A-7 Flowchart 2b Flowchart 2 Network Level Tests Tracing Output from a Gigabit Ethernet Card NetTL Trace and Log of VLANsNetTL Trace and Log of VLANs Logging ExampleNetTL Trace and Log of VLANs Appendix a Glossary GlossaryMaximum Transmission Unit MTU GlossaryVppa Virtual PPA or Vppa Glossary