HP UX Auto Port Aggregation (APA) Software manual Using lanadmin Interactively

Page 59

To add ports lan1 and lan2 (which are not aggregated) to link aggregate lan901 (which is not enabled), with the group capability set to 901, do the following:

1.Configure the switch.

Configure your switches' trunking mode to match the mode being used on the server. The mode is Cisco Fast EtherChannel (FEC).

2.Configure the server:

a.Set the link aggregate's group capability to 901. Enter: lanadmin -X -g 901 901 900

b.Change the port's group capability to be the same as the link aggregate's group capability (901).

#lanadmin -X -g 1 901 900

#lanadmin -X -g 2 901 900

c.Change ports lan1 and lan2 mode to FEC_AUTO.

#lanadmin -X -p 1 FEC_AUTO 900

#lanadmin -X -p 2 FEC_AUTO 900

NOTE: By default, the group_capability of each physical link is set to 5.

Using lanadmin Interactively

When you enter the lanadmin command either by itself or with the -toption, the command becomes interactive. The following example illustrates the interactive use of lanadmin:

#lanadmin

LOCAL AREA NETWORK ONLINE ADMINISTRATION, Version 1.0

Tue , Oct 1,2007 14:05:56

Copyright 1994 Hewlett Packard Company.

All rights are reserved.

Test Selection mode.

lan

= LAN Interface Administration

menu

= Display this menu

quit

= Terminate the Administration

terse

=

Do not display command menu

verbose

=

Display command menu

Enter command: lan

LAN Interface test mode. LAN Interface PPA Number = 1

clear

= Clear statistics registers

 

display

= Display LAN Interface status and statistics

registers

end

= End LAN Interface Administration, return to

Test Selection

menu

= Display this menu

 

ppa

= PPA Number of the LAN Interface

 

quit

= Terminate the Administration, return to shell

reset

= Reset LAN Interface to execute its selftest

 

specific = Go to Driver specific menu

Enter command: ppa

Enter PPA Number. Currently 1: 901

LAN Interface test mode. LAN Interface PPA Number = 901

clear

= Clear statistics registers

display

= Display LAN Interface status and statistics registers

end

= End LAN Interface Administration, return to Test Selection

menu

= Display this menu

ppa

= PPA Number of the LAN Interface

quit

= Terminate the Administration, return to shell

 

Using lanadmin Interactively 59

Image 59
Contents HP Auto Port Aggregation Administrators Guide Page Table of Contents 113 105129 119127 Vlan over a Failover Group List of FiguresVlan over a Link Aggregate List of Tables List of Examples Document Organization About This DocumentIntended Audience New and Changed Information in This EditionRelated Information Typographic ConventionsHP Encourages Your Comments Publishing HistoryPage Link Aggregate IntroductionConceptual Overview Load Balancing Proactive Failover Failover GroupVlan Support TCP Segmentation OffloadHP System Administration Manager Interoperability with HP ServiceguardAdministrative Methods Manually Editing Configuration Files Lanadmin CommandHardware Requirements Installing the APA SoftwareInstallation Requirements Software Requirements Installing the SoftwareVerifying the Installation Operating System RequirementsIf nothing is displayed, rebuild the kernel Removing the SoftwareOutput similar to the following displays Page Enterprise Intranet Client/Server Environment Configuring APAHP APA Configuration Examples 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 WorksheetHW Path ModeFailover Policy Instance NumberLoad Distribution Algorithm Link Aggregate Advanced ParametersPriority CostFailover Group Advanced Parameters Rapid ARP Count Configuring a Link AggregateConfiguring an Fecauto Mode Link Aggregate Rapid ARP Interval10 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 GroupVerifying the Configuration Configuring an IP AddressConfiguring the Link Partner Configuring HP ServiceguardWhat Happens During Start Up? What Happens During Start Up? Page Summary of lanadmin -x and -X Options Using the lanadmin CommandDisplays the -Xand -xoptions help screen Set OptionsWhere 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 Logging Messages to the syslog.log File Administering HP APAModifying HP APA Global Parameters Examples Administering HP APAViewing HP APA Statistics Example 5-2shows 64-bit MIB statistics Example 5-1 Sample Link Aggregate 32-Bit StatisticsGetting Started Troubleshooting HP APASolving HP APA Problems Operation# /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 Hpapaconf File HP APA Configuration FilesHP APA uses the following configuration files Ports mode is set to the valueOnly. Directs APA how to set up the Lacp Configure a link aggregate for Hot Standby mode. ThisPermissible values are on and off. The default is off Text might cause errors. This does not apply to HP APAHpapaportconf File Lanconfig.ascii File Example B-1 Sample lanconfig.ascii Configuration File Specify a name for each LAN Monitor failover group on Name format is lan9XX, where XX is a decimal numberName of the system as obtained by gethostname. This Must be the first line in the fileLanconfig File 104 Editing Files for MANUAL, FECAUTO, or Lacpauto Mode Configuring HP APA by Editing FilesEditing Configuration Files for Link Aggregates 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 SwitchesCreate the Vlan with ID 333 over lan900. Enter Configuring VLANs over Failover GroupsVerify that the Vlan with ID 333 is tagged to Trk3. 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 Configuring a Single Port Switch Configuration InformationAlteon Switches Cisco 6509 SwitchesDisplaying the Link Aggregation Creating an Lacp Link AggregationCreating an PAgP Link Aggregation Displaying More Lacp Information Displaying a Port in a Link AggregationDeleting a Link Aggregation Extreme SwitchesConfiguring HP APA Link Aggregates Save the configuration. Enter saveProcurve Procurve SwitchesConfiguring Lacp Link Aggregates Procurve 4000/8000Enter the following Procurve 9304/8Following prompt displays TIP Enter command name ? to display the syntax for a commandInformation similar to the following displays Save the configuration. EnterReboot the switch. Enter the following Glossary AdministrativeMAC CKO IndexFirstapaport Firstlacpport Lbmac Index Vlan
Related manuals
Manual 13 pages 7.01 Kb