HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problems with LACP in APA
Operating System - HP-UX
1833578
Members
3494
Online
110061
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2007 12:29 PM
04-09-2007 12:29 PM
Problems with LACP in APA
Hi everybody, I'm having troubles with my APA configuration.
I've already configured LACP support on my switches.
When I configure LACP via SAM, as the guide says:
1. I configure all the ports on the link aggregate with the same key (2)
2. I configure my link aggregate with the same key as the ports on that link.
When I try to add ports to my link aggregate I have the next error with all my ports: "The port you are trying to add to this Link Aggreate is currently configured as LACP. When you configure a port in LACP mode, it is automatically added to a Link Aggregate. You cannot use this screen to add FEC_AUTO mode port into a linkagg.
So I cannot see anyport into the "Ports in this Link Aggregate".
The next step is to click the OK button, so I have the next message:
"ifconfig: no such interface"
And I have no lan900 :(.
I tried to make this by editing files and got the next:
# /sbin/init.d/hplm stop
# /sbin/init.d/hpapa stop
# vi /etc/rc.config.d/hp_apaconf:
HP_APA_INTERFACE_NAME[0]=lan900
HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC
HP_APA_KEY[0]=2
#vi /etc/rc.config.d/hp_apaportconf:
HP_APAPORT_INTERFACE_NAME[0]=lan0
HP_APAPORT_KEY[0]=2
HP_APAPORT_CONFIG_MODE[0]=LACP_AUTO
HP_APAPORT_INTERFACE_NAME[1]=lan1
HP_APAPORT_KEY[1]=2
HP_APAPORT_CONFIG_MODE[1]=LACP_AUTO
#vi /etc/rc.config.d/netconf
DEFAULT_INTERFACE_MODULES=""
ROUTE_GATEWAY[0]=10.1.1.220
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]=default
INTERFACE_NAME[0]=lan900
IP_ADDRESS[0]=10.1.1.1
SUBNET_MASK[0]=255.255.255.0
When I activate the apa configuration I have no error messages
#/sbin/init.d/hpapa start
, but when I activate the net service I have the next message:
# /sbin/init.d/net start
ERROR: lan900 interface: ifconfig: no such interface
ERROR: Failed to add route entry because its interface is not yet initialized. May need to add this route entry with a route commad after the interface is up :add net default: gateway 10.1.1.220: Network is unreachable
and lan900 doesn't exist!!!
I have this version of APA:
# J4240AA B.11.23.05 Auto-Port Aggregation Software
# J4240AA.HP-APA-KRN B.11.23.05 HP Auto-Port Aggregation APA kernel products.
J4240AA.HP-APA-KRN.APA-KRN B.11.23.05 HP Auto-Port Aggregation APA kernel library
# J4240AA.HP-APA-LM B.11.23.05 HP Auto-Port Aggregation LM commands.
J4240AA.HP-APA-LM.APA-LM B.11.23.05 APA init files.
# J4240AA.HP-APA-SAM B.11.23.05 HP Auto-Port Aggregation APA SAM product.
J4240AA.HP-APA-SAM.SAM-APA B.11.23.05 SAM APA Configuration Tool
# J4240AA.HP-APA-FMT B.11.23.05 HP Auto-Port Aggregation APA formatter product.
J4240AA.HP-APA-FMT.APA-FORMAT B.11.23.05 APA formatter library
# J4240AA.HP-APA-RUN B.11.23.05 HP Auto-Port Aggregation APA command products.
J4240AA.HP-APA-RUN.APA-INIT B.11.23.05 APA init files.
J4240AA.HP-APA-RUN.APA-RUN B.11.23.05 HP Auto-Port Aggregation APA command libraries
I appreciate any suggestion
I've already configured LACP support on my switches.
When I configure LACP via SAM, as the guide says:
1. I configure all the ports on the link aggregate with the same key (2)
2. I configure my link aggregate with the same key as the ports on that link.
When I try to add ports to my link aggregate I have the next error with all my ports: "The port you are trying to add to this Link Aggreate is currently configured as LACP. When you configure a port in LACP mode, it is automatically added to a Link Aggregate. You cannot use this screen to add FEC_AUTO mode port into a linkagg.
So I cannot see anyport into the "Ports in this Link Aggregate".
The next step is to click the OK button, so I have the next message:
"ifconfig: no such interface"
And I have no lan900 :(.
I tried to make this by editing files and got the next:
# /sbin/init.d/hplm stop
# /sbin/init.d/hpapa stop
# vi /etc/rc.config.d/hp_apaconf:
HP_APA_INTERFACE_NAME[0]=lan900
HP_APA_LOAD_BALANCE_MODE[0]=LB_MAC
HP_APA_KEY[0]=2
#vi /etc/rc.config.d/hp_apaportconf:
HP_APAPORT_INTERFACE_NAME[0]=lan0
HP_APAPORT_KEY[0]=2
HP_APAPORT_CONFIG_MODE[0]=LACP_AUTO
HP_APAPORT_INTERFACE_NAME[1]=lan1
HP_APAPORT_KEY[1]=2
HP_APAPORT_CONFIG_MODE[1]=LACP_AUTO
#vi /etc/rc.config.d/netconf
DEFAULT_INTERFACE_MODULES=""
ROUTE_GATEWAY[0]=10.1.1.220
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]=default
INTERFACE_NAME[0]=lan900
IP_ADDRESS[0]=10.1.1.1
SUBNET_MASK[0]=255.255.255.0
When I activate the apa configuration I have no error messages
#/sbin/init.d/hpapa start
, but when I activate the net service I have the next message:
# /sbin/init.d/net start
ERROR: lan900 interface: ifconfig: no such interface
ERROR: Failed to add route entry because its interface is not yet initialized. May need to add this route entry with a route commad after the interface is up :add net default: gateway 10.1.1.220: Network is unreachable
and lan900 doesn't exist!!!
I have this version of APA:
# J4240AA B.11.23.05 Auto-Port Aggregation Software
# J4240AA.HP-APA-KRN B.11.23.05 HP Auto-Port Aggregation APA kernel products.
J4240AA.HP-APA-KRN.APA-KRN B.11.23.05 HP Auto-Port Aggregation APA kernel library
# J4240AA.HP-APA-LM B.11.23.05 HP Auto-Port Aggregation LM commands.
J4240AA.HP-APA-LM.APA-LM B.11.23.05 APA init files.
# J4240AA.HP-APA-SAM B.11.23.05 HP Auto-Port Aggregation APA SAM product.
J4240AA.HP-APA-SAM.SAM-APA B.11.23.05 SAM APA Configuration Tool
# J4240AA.HP-APA-FMT B.11.23.05 HP Auto-Port Aggregation APA formatter product.
J4240AA.HP-APA-FMT.APA-FORMAT B.11.23.05 APA formatter library
# J4240AA.HP-APA-RUN B.11.23.05 HP Auto-Port Aggregation APA command products.
J4240AA.HP-APA-RUN.APA-INIT B.11.23.05 APA init files.
J4240AA.HP-APA-RUN.APA-RUN B.11.23.05 HP Auto-Port Aggregation APA command libraries
I appreciate any suggestion
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2007 12:53 PM
04-09-2007 12:53 PM
Re: Problems with LACP in APA
Hi David,
Editing config files and stop/start-ing APA looks like should work.
Check for following:
* After you start APA, i.e.
#/sbin/init.d/hpapa start
See if the lan900 is created as expected.
You can use command:
lanadmin -x -i 900
You can also check if ports are configured properly, by:
lanadmin -x -p 0 900
and
lanadmin -x -p 1 900
You can copy-paste output of these commands for reference here.
If you think ports are OK, then check if switch side they are configured properly. Check their trunk mode, trunk number etc.
If switch and ports are correctly configured, then after hpapa start, lan900 should appear.
Let us see what you see first...
Thanks and regards,
+ Ketan Kotak
Editing config files and stop/start-ing APA looks like should work.
Check for following:
* After you start APA, i.e.
#/sbin/init.d/hpapa start
See if the lan900 is created as expected.
You can use command:
lanadmin -x -i 900
You can also check if ports are configured properly, by:
lanadmin -x -p 0 900
and
lanadmin -x -p 1 900
You can copy-paste output of these commands for reference here.
If you think ports are OK, then check if switch side they are configured properly. Check their trunk mode, trunk number etc.
If switch and ports are correctly configured, then after hpapa start, lan900 should appear.
Let us see what you see first...
Thanks and regards,
+ Ketan Kotak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 06:42 AM
04-10-2007 06:42 AM
Re: Problems with LACP in APA
Thanks Ketan, with this commands I could see that the lan900 existed but the ports were disabled because the switch is not correctly configured.
I corrected the configuration on my switch and now is working.
Thanks!!
I corrected the configuration on my switch and now is working.
Thanks!!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP