Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Auto Port Aggregation Administrator's Guide: HP-UX 11.0, 11i v1, 11i v2 > Chapter 3 Configuring APA

Configuring a Link Aggregate

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

This section shows how to configure the following using SAM:

  • FEC_AUTO mode link aggregates

  • MANUAL mode link aggregates

For information on configuring link aggregates by editing configuration files, see “Editing Configuration Files for Link Aggregates”.

Configuring an FEC_AUTO Mode Link Aggregate

When configuring an automatic link aggregate (FEC_AUTO or LACP_AUTO) using SAM, you configure the link aggregation characteristics first, followed by the port's modes and characteristics.

NOTE: Although this example shows how to configure an FEC_AUTO mode link aggregate, you can use these steps to configure an LACP_AUTO link aggregate. Substitute LACP_AUTO for FEC_AUTO, and key for group_capability.

Complete the following steps:

  1. Log in as superuser.

  2. Enter sam at the HP-UX system prompt.

  3. Double-click Networking and Communications, and then Auto Port Aggregation. A window like the one in Figure 3-10 appears. The Networking and Communications screen's List pull-down menu displays one of the following:

    • Link Aggregates supported by HP APA. This is the list of all available link aggregates in the system.

    • Network Physical Ports that Support HP APA. This is the list of all physical ports in the system that support HP APA.

    NOTE: The starting PPA number for link aggregates varies with the operating system installed: for HP-UX 11.0, it is 100; and for all versions of 11i, it is 900.

    Figure 3-10 Displaying Link Aggregates

    Displaying Link Aggregates
  4. Click on the link aggregate to be configured. From the Actions pull-down menu choose the Configure Link Aggregate option. A window similar to Figure 3-11 will appear.

    Figure 3-11 Configuring Link Aggregates

    Configuring Link Aggregates
  5. Click Advanced Options to display window similar to Figure 3-12.

    Figure 3-12 Link Aggregate Advanced Options

    Link Aggregate Advanced Options
  6. Verify the correct settings for the load-balancing (distribution) algorithm. If required, make the necessary changes.

  7. Change the group capability of this link aggregate as required. The group capability should be a nonzero number that differs from the group capability of any other link aggregate. It should also match the group capability that will be assigned later to the ports intended to join the link aggregate. Click OK, then click OK in the Configure Link Aggregate window.

  8. Choose the Network Physical Ports that Support HP APA option from the List pull-down menu. The displayed port configuration mode (column 7 in Figure 3-13) determines the mode for the link aggregation. In Figure 3-13 the configuration mode for the ports that support APA is, by default, set to MANUAL mode. You might need to adjust the horizontal scroll bar to see all the window's fields.

    Figure 3-13 Network Physical Ports Supporting HP APA

    Network Physical Ports Supporting HP APA
  9. For each port to be configured in the automatic link aggregation, verify that the port's configuration mode is set to the desired mode: FEC_AUTO. Check that the port's group capability matches the group capability that was previously assigned to the link aggregation. If changes are needed, go to the next step.

  10. Highlight the port to configure by clicking on the port designated by its PPA.

  11. In the Actions pull-down menu, choose the Modify Network Physical Port Attributes option. You will see a window like the one in Figure 3-14.

    Figure 3-14 Modify Network Physical Port Attributes

    Modify Network Physical Port Attributes
  12. In this window, make the necessary changes and click OK.

  13. Repeat steps 8 through 12 to configure the remaining ports to be in the aggregate. Figure 3-15 shows a sample FEC_AUTO configuration using ports 0 and 1 with a group capability of 7.

    Figure 3-15 Example of Configured Link Aggregates

    Example of Configured Link Aggregates
  14. From the List pull-down menu, choose the Link Aggregates Supported by HP APA option. A window similar to Figure 3-16 will appear. Note that the link aggregate might not have a status of UP immediately because HP APA and the switch or link partner might not have completed the negotiation required for forming the link aggregation.

    Wait for the link aggregate to change status to LINK_UP. Then, configure the IP address on the link aggregate and continue with the next step.

    Figure 3-16 Status of Configured Link Aggregate is UP

    Status of Configured Link Aggregate is UP
  15. Click once again on the link aggregate being configured. Then from the Actions pull-down menu, choose the Configure Link Aggregate option. A window like that in Figure 3-17 will appear.

    Figure 3-17 Configuring Link Aggregates

    Configuring Link Aggregates
  16. Fill in the desired IP address and subnet mask to be used for the link aggregate. Then click OK. A window like that in Figure 3-18 will appear.

    Figure 3-18 Link Aggregate with Configured IP Address

    Link Aggregate with Configured IP Address

    Perform one of the following:

    • If the link aggregate has a status of UP

      the configuration is complete. Exit SAM. Verify that the proper ports are configured in the proper link aggregation with the lanadmin -x -v 900 command.

    • If the link aggregate is DOWN

      If the switch has not been configured, then exit SAM and configure the switch. The APA configuration will have been permanently saved and can be modified later if needed. If the switch has been configured, verify the switch and HP APA configuration and make the required changes to bring them into agreement. If the link aggregate still does not form correctly, see Chapter 6.

SAM permanently saves the HP APA configuration values in the /etc/rc.config.d/hp_apaconf and /etc/rc.config.d/hp_apaportconf files, which maintains the values across reboots.

Using SAM to Configure a MANUAL Mode Link Aggregate

When configuring a manual link aggregate using SAM, you first configure the port's modes and characteristics, then configure the link aggregate characteristics.

  1. Log in as superuser.

  2. Enter sam at the HP-UX system prompt.

  3. Double-click Networking and Communications, and then Auto Port Aggregation. A window like the one in Figure 3-19 appears. The Networking and Communications screen List pull-down menu (Figure 3-19) displays either of the following:

    • Link Aggregates supported by HP APA. This is the list of all available link aggregates in the system.

    • Network Physical Ports that Support HP APA. This is the list of all physical ports in the system that support HP APA.

    Figure 3-19 Link Aggregates Supporting HP APA

    Link Aggregates Supporting HP APA
  4. Choose the Network Physical Ports that Support HP APA option from the List pull-down menu. The port configuration mode (shown in column 7 in Figure 3-20) determines the mode for the link aggregate. In Figure 3-20, the configuration mode for the ports that support HP APA is, by default, set to MANUAL mode. You might need to adjust the horizontal scroll bar to see all the window's fields.

    Figure 3-20 Network Physical Ports Supporting APA

    Network Physical Ports Supporting APA
  5. For each port to be configured in the manual link aggregate, verify that the port's configuration mode is set to the desired mode: MANUAL. Choose a Group Capability Number for each port and also for the aggregation. If changes are needed, go to the next step.

    NOTE: Set the group capability to be the same as that of the link aggregate to which it belongs. Ports going to different link aggregates should have different group capability numbers.

    For the September 2007 release of HP APA for HP-UX 11i v1 (B.11.11.30), you no longer need to assign a group capability number to ports to be included in a MANUAL mode link aggregate.

  6. Highlight the port to configure by clicking on the port designated by its PPA.

  7. In the Actions pull-down menu, choose the Modify Network Physical Port Attributes option. A window similar to the one in Figure 3-21 appears.

    Figure 3-21 Modify Network Physical Port Attributes

    Modify Network Physical Port Attributes
  8. In this window make the necessary changes and click OK.

  9. Repeat steps 4 through 7 to configure the remaining ports to be in the aggregate.

  10. To configure the link aggregate characteristics, choose the Link Aggregates supported by HP APA option from the List pull-down menu. A window similar to Figure 3-22 appears.

    Figure 3-22 Display Link Aggregates to Configure

    Display Link Aggregates to Configure
  11. Click on the link aggregate being configured. Then, from the Actions pull-down menu, choose the Configure Link Aggregate option. A window similar to Figure 3-23 appears.

    Figure 3-23 Configuring Link Aggregates

    Configuring Link Aggregates
  12. Fill in the desired IP address and subnet mask to be used for the link aggregate.

  13. Click the Advanced Options button to display a window similar to Figure 3-24.

    Figure 3-24 Link Aggregate Advanced Options

    Link Aggregate Advanced Options
  14. Verify the correct settings for the Group Capability (11i v1), assigned in step 4, and either Hot Standby or the load balancing (distribution) algorithm (not both). Make the necessary changes, if required. Then click OK.

  15. Click Add or Delete Network Physical Ports. A window similar to Figure 3-25 appears.

    Figure 3-25 Adding Ports to or Deleting Ports from Link Aggregate

    Adding Ports to or Deleting Ports from Link Aggregate
  16. Highlight a port to be included in the link aggregate. Then use < to move it into the link aggregate.

    Figure 3-26 shows the result of moving lan0 and lan3 into the link aggregate, lan900.

    Figure 3-26 Adding Ports to or Deleting Ports from Link Aggregate

    Adding Ports to or Deleting Ports from Link Aggregate
  17. Click OK to see the Configure Link Aggregates window (Figure 3-27) with all the link aggregate information filled in.

    Figure 3-27 Configured Link Aggregates Display

    Configured Link Aggregates Display
  18. Clicking OK displays the original window (Figure 3-28). It now shows lan900 configured as a MANUAL mode link aggregate.

    Figure 3-28 Link Aggregate Displays with Status UP

    Link Aggregate Displays with Status UP
  19. The link aggregate is configured. Configure the next MANUAL mode link aggregate, or exit by choosing the Exit option from the File pull-down menu.

SAM permanently saves the HP APA configuration values in the /etc/rc.config.d/hp_apaconf and /etc/rc.config.d/hp_apaportconf files, which maintains the values across reboots.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2007 Hewlett-Packard Development Company, L.P.