HP UX Auto Port Aggregation (APA) Software manual Invoking lanadmin from the Command Line

Page 57

-t-x-tportPPA anyLinkAggregatePPA

Displays the current port priority for the port with the specified portPPA number. For LACP_AUTO, this shows the priority value for the port. For HOT_STANDBY, this shows which port is used for traffic and which for standby. This option is not applicable to PAgP (FEC_AUTO).

-v-x-vlinkAggregatePPA

Displays the status for a given link aggregate with the specified linkAggregatePPA number. For example:

Link Aggregate PPA #

: 901

 

Number of Ports

: 3

 

Ports PPA

: 2 1

3

Link Aggregation State

: LINKAGG AUTO

Group Capability

: 901

 

Load Balance Mode

: MAC Address based (LB_MAC)

-y-x-ylinkaggregatePPA

Displays the Hot Standby status for the link aggregate with the specified linkAggregatePPA number.

vmtu [-x vmtu linkaggregatePPA]

Displays the TSO status for a given link aggregate with the specified linkAggregatePPA number. For example:

#lanadmin -x vmtu 903

Driver/Hardware does not support TCP Segmentation Offload

#

#lanadmin -x vmtu 905

Driver/Hardware supports TCP Segmentation Offload, Current VMTU = 32160

#

The following option is supported, but with a different meaning:

-aDisplays the current station address of link aggregate with the specified linkAggregatePPA number.

Invoking lanadmin from the Command Line

NOTE: Remember that the starting PPA number for link aggregates varies with the operating

system you have installed: for HP-UX 11.00, it is 100; and for 11i v1 and 11i v2, it is 900. The following example uses HP-UX 11i.

To obtain additional information on options for the lanadmin command, enter the following command:

lanadmin -X-HlinkAggregatePPA

Where linkAggregatePPA can be any valid link aggregate PPA value.

To form a link aggregate of ports automatically using the Cisco Fast EtherChannel protocol on that port, set the port configuration mode to FEC_AUTO. For example, if port 2 must be trunked automatically, enter the following command:

lanadmin -X -p 2 FEC_AUTO 900

900 is the PPA of the first link aggregate. When the protocol completes successfully, HP APA determines the link aggregate into which port 2 best fits and adds the port to an aggregate based on the group_capability of ports and link aggregate. Ports in the same link aggregate must be connected to the same host and in the same trunk.

To form a link aggregate of ports automatically using the LACP protocol, use LACP_AUTO in place of FEC_AUTO. In this case, key is used instead of group_capability.

Invoking lanadmin from the Command Line 57

Image 57
Contents HP Auto Port Aggregation Administrators Guide Page Table of Contents 113 105119 127129 List of Figures Vlan over a Link AggregateVlan over a Failover Group List of Tables List of Examples Intended Audience About This DocumentNew and Changed Information in This Edition Document OrganizationRelated Information Typographic ConventionsHP Encourages Your Comments Publishing HistoryPage Introduction Conceptual OverviewLink Aggregate Load Balancing Proactive Failover Failover GroupVlan Support TCP Segmentation OffloadInteroperability with HP Serviceguard Administrative MethodsHP System Administration Manager Manually Editing Configuration Files Lanadmin CommandInstalling the APA Software Installation RequirementsHardware Requirements Verifying the Installation Installing the SoftwareOperating System Requirements Software RequirementsRemoving the Software Output similar to the following displaysIf nothing is displayed, rebuild the kernel Page Configuring APA HP APA Configuration ExamplesEnterprise Intranet Client/Server Environment Configuring APA Internet or Large Enterprise Environments Using RoutersSample Router and Server Configuration No Switch Server-to-Server Back-to-Back Sample Router and Server Configuration SwitchHot Standby for High Availability This configuration has the following characteristicsSample Hot Standby Configuration for High Availability Server-to-Server with Switch Not RecommendedHP APA 2-4 Port Link Aggregation Switch Sample Failover Group Lanmonitor Configuration Failover Group Using Link AggregatesSample Failover Group Using Link Aggregates Configuration Preparing for ConfigurationAggregate Instance Number HP APA Configuration WorksheetFailover Policy ModeInstance Number HW PathPriority Link Aggregate Advanced ParametersCost Load Distribution AlgorithmFailover Group Advanced Parameters Configuring an Fecauto Mode Link Aggregate Configuring a Link AggregateRapid ARP Interval Rapid ARP Count10 Displaying Link Aggregates 12 Link Aggregate Advanced Options Click Advanced Options to display window similar to FigureThis window, make the necessary changes and click OK 14 Modify Network Physical Port Attributes16 Status of Configured Link Aggregate is UP 18 Link Aggregate with Configured IP Address Using SAM to Configure a Manual Mode Link Aggregate19 Link Aggregates Supporting HP APA 21 Modify Network Physical Port Attributes 23 Configuring Link Aggregates 25 Adding Ports to or Deleting Ports from Link Aggregate 27 Configured Link Aggregates Display Configuring a Failover GroupConfiguring the Link Partner Configuring an IP AddressConfiguring HP Serviceguard Verifying the ConfigurationWhat Happens During Start Up? What Happens During Start Up? Page Summary of lanadmin -x and -X Options Using the lanadmin CommandSet Options WhereDisplays the -Xand -xoptions help screen Lloadbalancealgorithm linkAggregatePPA Displays the help screen Display OptionsKportPPA lnyLinkAggregatePPA NanyLinkAggregatePPA Following option is supported, but with a different meaning Invoking lanadmin from the Command LineLanadmin -X -a 6 7 8 9 Configuring an Fecauto Mode Link Aggregation using lanadminChange ports lan1 and lan2 mode to Fecauto Using lanadmin InteractivelyLAN Interface Status Display Partner Page Administering HP APA Modifying HP APA Global ParametersLogging Messages to the syslog.log File Examples Administering HP APAViewing HP APA Statistics Example 5-2shows 64-bit MIB statistics Example 5-1 Sample Link Aggregate 32-Bit StatisticsSolving HP APA Problems Troubleshooting HP APAOperation Getting Started# /sbin/init.d/hplm stop # /sbin/init.d/hpapa stop No # lanscan Solving Link Aggregate Problems Manual Mode Complete the following steps # arp hostname Appears to hang, complete the following steps Solving Link Aggregate Problems Lacp Mode HP APA If the port is not in Lacp mode, possible reasons areSet the key value and mode with the following commands Complete the following steps # ifconfig interface-name up Solving Link Aggregate Problems FEC Mode If the port is not in FEC mode, possible reasons are Network is unreachable Complete the following steps Solving Failover Group Problems If the port is not in Lanmonitor mode, possible reasons are # lanadmin -r portPPA # lanqueryconf -s # lanapplyconf Complete the following steps Troubleshooting Tools Overview and Usage Scanning the System Hardware Testing Access to Internet Network HostsExample 6-1 Sample ioscan -f Output Nettl Tracing and Logging ToolTo stop Lacp tracing, enter To stop Ciscos FEC tracing, enterGathering Information Reporting ProblemsReporting Problems Page Table A-1 HP APA and LAN Monitor Capabilities Product SpecificationsPage HP APA uses the following configuration files HP APA Configuration FilesPorts mode is set to the value Hpapaconf FilePermissible values are on and off. The default is off Configure a link aggregate for Hot Standby mode. ThisText might cause errors. This does not apply to HP APA Only. Directs APA how to set up the LacpHpapaportconf File Lanconfig.ascii File Example B-1 Sample lanconfig.ascii Configuration File Name of the system as obtained by gethostname. This Name format is lan9XX, where XX is a decimal numberMust be the first line in the file Specify a name for each LAN Monitor failover group onLanconfig File 104 Configuring HP APA by Editing Files Editing Configuration Files for Link AggregatesEditing Files for MANUAL, FECAUTO, or Lacpauto Mode Activate the new configuration by entering Fecauto Port Configuration ModeActivate the configuration by entering Editing Configuration Files for Failover GroupsExample Configuring a Failover Group # lanscan Edit the file, if needed, and enter lancheckconf againProactive Failover Examples Assign a priority to the aggregates Edit the lanconfig.ascii configuration fileDown Edit the configuration fileConfiguring VLANs over Link Aggregates VLANs over APA Using HP Procurve SwitchesConfiguring VLANs over Failover Groups Verify that the Vlan with ID 333 is tagged to Trk3. EnterCreate the Vlan with ID 333 over lan900. Enter Tag Trk4 to VLANs 333 and 334. Enter Figure D-2 Vlan over a Failover GroupTag ports F17 and F18 to VLANs 333 and 334. Enter Switch 1# show vlan# lanadmin -V create vlanid 333 902 Successfully configured 118 Alteon Switches Switch Configuration InformationCisco 6509 Switches Configuring a Single PortCreating an Lacp Link Aggregation Creating an PAgP Link AggregationDisplaying the Link Aggregation Displaying More Lacp Information Displaying a Port in a Link AggregationConfiguring HP APA Link Aggregates Extreme SwitchesSave the configuration. Enter save Deleting a Link AggregationConfiguring Lacp Link Aggregates Procurve SwitchesProcurve 4000/8000 ProcurveEnter the following Procurve 9304/8Following prompt displays TIP Enter command name ? to display the syntax for a commandSave the configuration. Enter Reboot the switch. Enter the followingInformation similar to the following displays Glossary AdministrativeMAC CKO IndexFirstapaport Firstlacpport Lbmac Index Vlan
Related manuals
Manual 13 pages 7.01 Kb