HP T1453-90001 manual Using lanadmin to Create a Vlan, Displaying a Vlan and its Properties

Page 49

Using lanadmin -V to Administer VLANs

Using the lanadmin -V Command for Administering VLANs

CONF_TOS or CONF_PRI)

[pri_override <level>(CONF_PRI,IP_HEADER or CONF_TOS)] <vppa>

-V scan

-V info <vppa> -V basevppa -V help

Using lanadmin to Create a VLAN

Assume that the system has the following configuration as shown by the lanscan command output.

lanscan

Hardware Station

Crd

Hdw

Net-Interface

NM

MAC HP-DLPI

DLPI

Path

Address

In#

State

NamePPA

ID

Type Support

Mjr#

1/2/3

0x001083FF9951

0

UP

lan0

snap0

1

ETHER

Yes

119

1/2/4

0x006023456789

1

DOWN

lan1

snap1

2

ETHER

Yes

119

To configure a VPPA with VLAN ID 454 and a priority of 6 on “lan0”, execute the following command.

lanadmin -V create vlanid 454 pri 6 0

Successfully configured

lan5000: vlanid 454 name UNNAMED pri 6 tos 0 tos_override IP_HEADER pri_override

CONF_PRI ppa 0

This command created a VLAN “lan5000” on top of the physical interface lan0. The PPA associated with this VLAN, 5000, is referred to as a VPPA, short for Virtual PPA. Note: the parameters that were not specified in the command have been assigned default values.

Displaying a VLAN and its Properties

You can use the default lanscan command to view all the interfaces as follows.

lanscan

VLAN0

0x001083FF9951

5000 UP

lan5000snap5000

14

ETHER

Yes

119

1/2/4

0x006023456789

1 DOWN

lan1 snap1

2

ETHER

Yes

119

Chapter 5

49

Image 49
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 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 HP VLANs Parameter Range Default Type Description RestrictionsAllowable Values for Parameters in vlanconf File 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?Priority Override Setting Outbound IP Packets Allowable Settings for VlanprioverrideValue in vlanconf File 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