HP T1453-90001 manual Using lanadmin to Delete a Vlan, Lanadmin -V modify vlanid 53 pri 3

Page 52

Using lanadmin -V to Administer VLANs

Using the lanadmin -V Command for Administering VLANs

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 -voutput 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

 

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 -pcommand 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:

52

Chapter 5

Image 52
Contents Using HP-UX VLANs Legal Notices Contents Glossary Tables Tables Figures Figures What are HP-UX VLANs? Logical View Physical ViewVLANs Virtual LANs Chapter HP-UX Vlan Features Benefits of HP-UX VLANs Types of VLANs Supported by HP-UX HP-UX Vlan Tagging Ieee 802.1Q Vlan Tag in Ethernet FrameVlans Overlapping or Sharing the Same LAN Card Port System and Software Requirements Patches Required for the March 2002 HP-UX 11i-based VersionNeeded Patches for HP-UX VLANs Driver 11i Patch #Supported Switches Unsupported Functionality Overview of Installation Planning HP-UX VLANs Communication between Vlans Requires an External RouterHow to Configure VLANs on the Switch Tagged and Untagged Vlan Technology in Same NetworkSummary of Vlan Tagging Assignment VLANs Per Tagging Scheme PortHow to Configure VLANs on HP-UX Configuration Process Properties of a Vlan Promiscuous Mode Characteristics Special Case of Vlan ID 0--Priority Tagged FramesAllowable Values for HP VLANs Parameter Range Default Type Description RestrictionsAllowable Values for Parameters in vlanconf File Parameter -- description Range and Restrictions Default Type Using VLANs with MC/ServiceGuard Example VLANs and Service GuardLan5002 Lan5003 Lan5000 Lan5001 Vlanid Lan2How is 802.1p Priority Set? ToS to 802.1 User Priority Mappings Based on IP PrecedencePriority Override Setting Outbound IP Packets Allowable Settings for VlanprioverrideValue in vlanconf File Allowable Settings for Vlantosoverride Value in vlanconfSetting 802.1p Priority, ToS, and Overrides Where to Get More InformationWhere to Get More Information Chapter Configuring VLANs Using SAM Configuring VLANs Using SAM List Pulldown with Virtual LANs DisplayedAction Pulldown for Creating Virtual LANs Create Virtual LANs Add an IP Address for the Vlan Configuring VLANs Using SAM Chapter Configuring VLANs by Editing Modifying Parameters in vlanconf File # VlanidConftos # VLANPRIORITY1= Using lanadmin -V to Using the lanadmin -V Command for Administering VLANs Lanadmin SyntaxUsing lanadmin to Create a Vlan Displaying a Vlan and its PropertiesUsing lanadmin to Set 802.1p Priority, ToS, and Overrides Using lanadmin to Query for VLANs on a SystemUsing a Vlan Using lanadmin to Modify a VlanUsing lanadmin to Delete a Vlan Lanadmin -V modify vlanid 53 pri 3Lanadmin -V delete Using lanadmin -V to Administer VLANs Troubleshooting Troubleshooting Diagnostic Flowcharts Table A-1 Flowchart Descriptions Chart Type of Test PurposeFlowchart 1 Link Level Tests Figure A-1 Flowchart Flowchart 1a Linkloop Test Figure A-2 Flowchart 1aFlowchart 1a Procedures Flowchart 1b lanscan and lanadmin Test Figure A-3 Flowchart 1bFlowchart 1b Procedures Flowchart 2 Network Level Tests Figure A-4 FlowchartFlowchart 2 Procedures Flowchart 2a ARP Test Figure A-5 Flowchart 2aFlowchart 2a Procedures Flowchart 2b ping Test Figure A-6 Flowchart 2bFlowchart 2b Procedures Figure A-7 Flowchart 2b Flowchart 2 Network Level Tests NetTL Trace and Log of VLANs Tracing Output from a Gigabit Ethernet CardLogging Example NetTL Trace and Log of VLANsNetTL Trace and Log of VLANs Appendix a Glossary GlossaryGlossary Maximum Transmission Unit MTUVppa Virtual PPA or Vppa Glossary