HP T1453-90001 manual Using the lanadmin -V Command for Administering VLANs, Lanadmin Syntax

Page 48

Using lanadmin -V to Administer VLANs

Using the lanadmin -V Command for Administering VLANs

Using the lanadmin -V Command for

Administering VLANs

To configure VLANs, you use either the GUI-based system admin manager (SAM) or edit the configuration file with an editor. VLAN configuration doesn’t require a reboot to take effect. If you use SAM, your configurations will be preserved after reboots in a configuration file called /etc/rc.config.d/vlanconf.

If you use the lanadmin command line interface, your configuration will not be preserved after reboots unless you also save the configuration in the vlanconf file by either using SAM or editing it. See “Modifying Parameters in vlanconf File” in this document for the format of the /etc/rc.config.d/vlanconf file.

lanadmin Syntax

If you use the lanadmin command line interface to work with VLANs, you can display the general usage string by typing:

lanadmin -V help

General usage string:

lanadmin -V create vlanid <vlanid> (range 0-4094) [pri <priority> (range 0 - 7, default 0)] [tos <ToS value> (range 0-255, default 0)] [vppa <vppa>]

[name <name> (31 characters alphanumeric string)]

[tos_override <level>(IP_HEADER, ETHER_HEADER, CONF_TOS or CONF_PRI,

default IP_HEADER)] [pri_override <level>(CONF_PRI,IP_HEADER

or CONF_TOS, default CONF_PRI)] <ppa> -V delete <vppa>

-V modify [vlanid <vlanid> (range 0-4094)] [pri <priority> (range 0 - 7)]

[tos <ToS value> (range 0-255)]

[name <name> (31 characters alpha numeric string]

[tos_override <level>(IP_HEADER, ETHER_HEADER,

48

Chapter 5

Image 48
Contents Using HP-UX VLANs Legal Notices Contents Glossary Tables Tables Figures Figures What are HP-UX VLANs? Physical View Logical 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 FramesParameter Range Default Type Description Restrictions Allowable Values for HP VLANsAllowable 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 PrecedenceAllowable Settings for Vlanprioverride Priority Override Setting Outbound IP PacketsValue 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 # Vlanid Conftos # 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