3.Activate the new configuration by entering:

#/sbin/init.d/hplm stop 1

#/sbin/init.d/hpapa stop 2

#/sbin/init.d/hpapa start

#/sbin/init.d/hplm start 3

1If failover groups are also configured.

2This can interrupt traffic on existing link aggregates.

3 For configuring failover groups.

FEC_AUTO Port Configuration Mode

To configure load balancing and group capability for link aggregate 901 with MAC-based load balancing, do the following:

1.Edit the /etc/rc.config.d/hp_apaconf file and add the following entries:

HP_APA_INTERFACE_NAME[0]=lan901 HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC HP_APA_GROUP_CAPABILITY[0]=901

2.Edit the /etc/rc.config.d/hp_apaportconf file and add the following entries to put lan1 and lan2 into link aggregate 901:

HP_APAPORT_INTERFACE_NAME[0]=lan1 HP_APAPORT_GROUP_CAPABILITY[0]=901 HP_APAPORT_CONFIG_MODE[0]=FEC_AUTO

HP_APAPORT_INTERFACE_NAME[1]=lan2 HP_APAPORT_GROUP_CAPABILITY[1]=901 HP_APAPORT_CONFIG_MODE[1]=FEC_AUTO

3.Activate the new configuration by entering:

#/sbin/init.d/hplm stop 1

#/sbin/init.d/hpapa stop 2

#/sbin/init.d/hpapa start

#/sbin/init.d/hplm start 3

1If failover groups are also configured.

2This can interrupt traffic on existing link aggregates.

3 For configuring failover groups.

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

LACP_AUTO Port Configuration Mode

To configure load balancing and the port key for link aggregate 902 with MAC–based load balancing, do the following:

1.Edit the /etc/rc.config.d/hp_apaconf file and add the following entries:

HP_APA_INTERFACE_NAME[0]=lan902 HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC HP_APA_KEY[0]=902

2.Edit the /etc/rc.config.d/hp_apaportconf file and add the following entries to put lan1 and lan2 into link aggregate 902 and set the APA port key and the configuration mode:

HP_APAPORT_INTERFACE_NAME[0]=lan1 HP_APAPORT_KEY[0]=902 HP_APAPORT_CONFIG_MODE[0]=LACP_AUTO HP_APAPORT_INTERFACE_NAME[1]=lan2

106 Configuring HP APA by Editing Files

Page 106
Image 106
HP UX Auto Port Aggregation (APA) Software Fecauto Port Configuration Mode, Activate the new configuration by entering