HP T1453-90001 manual Using lanadmin to Set 802.1p Priority, ToS, and Overrides

Page 50

Using lanadmin -V to Administer VLANs

Using the lanadmin -V Command for Administering VLANs

The VLAN (lan5000) appears in lanscan output just like a physical interface. VPPAs are identified by the string “VLANx” in the hardware path, where x is a number and is unique per VPPA. In the lanscan output, VPPAs of a given physical interface are displayed just after the corresponding physical interface.

The verbose option of the lanscan command displays more information about the VLAN.

lanscan -v

Hardware

Station

Crd Hdw

Net-Interface

NM

MAC HP-DLPI

DLPI

Path

Address

In# State

Name

PPA

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

454

0

6

0 CONF_PRI

IP_HEADER

UNNAMED

Using lanadmin to Set 802.1p Priority, ToS, and Overrides

The lanadmin -V create vlanid command has options to set the 802.1p priority, called pri, and/or the Type of Service (ToS) value, called tos. It also has pri_override and tos_override. For more details, refer to “Setting 802.1p Priority, ToS, and Overrides” in this document.

Using lanadmin to Query for VLANs on a System

The following command can be used to query for the list of VPPAs configured and their properties.

lanadmin -V scan

A sample output for the successful command is as follows:

VLAN

Physical

VLAN

Pri

Pri

ToS

ToS

NAME

Interface

Interface ID

 

Override

 

Override

 

Name

 

 

 

Level

 

Level

 

lan5000

lan0

5

2

CONF_PRI

25

IP_HEADER

 

lan5003

lan0

11

5

CONF_PRI

204

CONF_PRI

purple

lan5001

lan1

1

4

IP_HEADER

64

IP_HEADER

newone

lan5002

lan2

3

7

CONF_TOS

200

CONF_PRI

UNNAMED

Note: UNNAMED will be displayed as the VLAN name if there is no name associated with the VPPA.

50

Chapter 5

Image 50
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 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 Parameters in vlanconf File Parameter Range Default Type Description RestrictionsAllowable Values for HP VLANs Parameter -- description Range and Restrictions Default Type Lan5002 Lan5003 Lan5000 Lan5001 Vlanid Using VLANs with MC/ServiceGuardExample VLANs and Service Guard Lan2How is 802.1p Priority Set? ToS to 802.1 User Priority Mappings Based on IP PrecedenceValue in vlanconf File Allowable Settings for VlanprioverridePriority Override Setting Outbound IP Packets 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