HP Auto Port Aggregation Administrator's Guide for HP-UX 11i v1 and 11i v2 September 2008

1. Connect lan1 and lan2 to the same switch or to different switches or hubs on the same
subnet.
NOTE: Be sure that trunking is not enabled on the switch ports.
2. Obtain the station address for lan2 by issuing the lanscan command, as follows:
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
8/8/2/0 0x0060B04B7B83 2 UP lan2 snap2 3 ETHER Yes 119
8/12/2/0 0x0060B04B7B82 4 UP lan4 snap4 4 ETHER Yes 119
8/8/1/0 0x080009D43696 1 UP lan1 snap1 5 ETHER Yes 119
10/12/6 0x001083953C1C 0 UP lan0 snap0 6 ETHER Yes 119
8/12/1/0 0x001083953C1D 3 UP lan3 snap3 7 ETHER Yes 119
LinkAgg0 0x000000000000 900 DOWN lan900 snap900 9 ETHER Yes 119
LinkAgg1 0x000000000000 901 DOWN lan901 snap901 10 ETHER Yes 119
LinkAgg2 0x000000000000 902 DOWN lan902 snap902 11 ETHER Yes 119
LinkAgg3 0x000000000000 903 DOWN lan903 snap903 12 ETHER Yes 119
LinkAgg4 0x000000000000 904 DOWN lan904 snap904 13 ETHER Yes 119
The station address is 0x0060B04B7B83.
3. Verify that there is link connectivity between lan1 and lan2, as follows:
# linkloop -i 1 0x0060B04B7B83
Link connectivity to LAN station: 0x0060B04B7B83
-- OK
#
If there is no link connectivity, resolve the connectivity issue between the devices.
4. Verify that an entry exists in the /etc/rc.config.d/hp_apaportconf file for the and
standby interfaces that sets the interfaces' port configuration mode to LAN_MONITOR.
HP_APAPORT_INTERFACE_NAME[0]=lan1
HP_APAPORT_CONFIG_MODE[0]=LAN_MONITOR
HP_APAPORT_INTERFACE_NAME[1]=lan2
HP_APAPORT_CONFIG_MODE[1]=LAN_MONITOR
5. Activate the configuration by entering:
# /sbin/init.d/hplm stop
# /sbin/init.d/hpapa stop
# /sbin/init.d/hpapa start
# /sbin/init.d/hplm start
6. If the device to be the link does not have the desired IP address, enter ifconfig to assign
the IP address. Also add an entry to the /etc/rc.config.d/netconf file to assign the
IP address permanently (or use SAM to do it).
# ifconfig lan1 192.1.1.153
7. Enter the lanqueryconf -s command to query the system for possible failover groups.
# lanqueryconf -s
ASCII output is in the /etc/lanmon/lanconfig.ascii file.
a. Verify that the content of the ASCII file is valid. Enter lancheckconf:
# lancheckconf
b. View the contents of the /etc/lanmon/lanconfig.ascii file and verify that it
contains the configuration information you want.
# cat /etc/lanmon/lanconfig.ascii
See “lanconfig.ascii File” (page 100) for an example of this file.
c. Verify that /etc/lanmon/lanconfig.ascii has the failover group configured, as
planned.
# cat /etc/lanmon/lanconfig.ascii
d. Edit the file, if needed, and enter lancheckconf again.
Editing Configuration Files for Link Aggregates 109