0% found this document useful (0 votes)
60 views2 pages

How To Configure APA Using LACP

This document provides a step-by-step guide on configuring Auto Port Aggregation (APA) using Link Aggregation Control Protocol (LACP) on HP-UX 11.31. It includes instructions for editing configuration files, assigning IP addresses, and ensuring proper switch configuration. Additionally, it emphasizes the need to restart specific scripts and networking services after configuration changes.

Uploaded by

Ricardo Macedo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views2 pages

How To Configure APA Using LACP

This document provides a step-by-step guide on configuring Auto Port Aggregation (APA) using Link Aggregation Control Protocol (LACP) on HP-UX 11.31. It includes instructions for editing configuration files, assigning IP addresses, and ensuring proper switch configuration. Additionally, it emphasizes the need to restart specific scripts and networking services after configuration changes.

Uploaded by

Ricardo Macedo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

HP-UX 11.

31 - How to Configure APA Using LACP


Issue
How to configure Auto Port Aggregation (APA) using Link Aggregation Control Protocol (LACP)?
Solution
Following are the steps for configuring an APA Link Aggregate using LACP:
1. Configure the /etc/rc.config.d/hpietherconf (or applicable NIC file) for all LANs
in an APA aggregate:
HP_IETHER_INTERFACE_NAME[0]=
HP_IETHER_STATION_ADDRESS[0]=
HP_IETHER_SPEED[0]=
HP_IETHER_MTU[0]=
HP_IETHER_FLOW_CONTROL[0]=
HP_IETHER_AUTONEG[0]=
HP_IETHER_SEND_COAL_TICKS[0]=
HP_IETHER_RECV_COAL_TICKS[0]=
HP_IETHER_SEND_MAX_BUFS[0]=
HP_IETHER_RECV_MAX_BUFS[0]=
HP_IETHER_VMTU[0]=
HP_IETHER_ITR_MODE[0]=
HP_IETHER_SEND_CKO[0]=
HP_IETHER_RECV_CKO[0]=
NOTE: If you are running at 1000FD, the defaults should be fine and you may not
have to configure each interface.
2. Configure /etc/rc.config.d/netconf :
a. Assign an IP address to the relevant link aggregate (e.g.,lan900):
INTERFACE_NAME[3]="lan900"
IP_ADDRESS[3]="192.1.1.150"
SUBNET_MASK[3]="255.255.255.0"
BROADCAST_ADDRESS[3]=""
INTERFACE_STATE[3]=""
DHCP_ENABLE[3]=0
INTERFACE_NAME[4]="lan901"
IP_ADDRESS[4]="172.168.1.150"
SUBNET_MASK[4]="255.255.255.0"
BROADCAST_ADDRESS[4]=""
INTERFACE_STATE[4]=""
DHCP_ENABLE[4]=0
b. Assign gateway.
3. Configure /etc/rc.config.d/hp_apaportconf :
(No entries for these interfaces in the netconf file)
HP_APAPORT_INTERFACE_NAME[0]=lan1
HP_APAPORT_KEY[0]=900
HP_APAPORT_CONFIG_MODE[0]=LACP_AUTO

HP_APAPORT_INTERFACE_NAME[1]=lan2
HP_APAPORT_KEY[1]=900
HP_APAPORT_CONFIG_MODE[1]=LACP_AUTO

HP_APAPORT_INTERFACE_NAME[2]=lan3
HP_APAPORT_KEY[2]=901
HP_APAPORT_CONFIG_MODE[2]=LACP_AUTO

HP_APAPORT_INTERFACE_NAME[3]=lan4
HP_APAPORT_KEY[3]=901
HP_APAPORT_CONFIG_MODE[3]=LACP_AUTO
4. Configure /etc/rc.config.d/hp_apaconf :
HP_APA_INTERFACE_NAME[0]=lan900
HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC
HP_APA_KEY[0]=900

HP_APA_INTERFACE_NAME[1]=lan901
HP_APA_LOAD_BALANCE_MODE[1]=LB_MAC
HP_APA_KEY[1]=901
NOTE: This example shows Load Balance mode as LB_MAC. LB_IP or LB_PORT can also be
used.
5. Ensure the switch is properly configured for LACP. (for Cisco 6509, see Appendix E
of HP APA Administrator’s Guide )
Click here to HP Auto Port Aggregation Administrator's Guide
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02017724/
c02017724.pdf
6. Stop and restart /sbin/init.d/hpapa script.
7. Restart networking.
8. lanscan -q
0
5
6
7
900 1 2
901 3 4
902
903
904

You might also like