1748259 Members
3701 Online
108760 Solutions
New Discussion юеВ

LAG configure

 
dmitry76
Occasional Contributor

LAG configure

Hi all.

I'm configure LAG on ES45 with Tru64 5.1B, but it work _only_ if interface disabled on Cisco before server boot. /etc/inet.local :

lagconfig -c dist=roundrobin
lagconfig -p ee1 key=1
lagconfig -p ee3 key=1
ifconfig lag0 x.x.x.x netmask 255.255.255.192 up

I'm try to 'ifconfig ee1 down' prior to 'lagconfig -p ee1' without success, remove network cable after boot without success too.

# lagconfig -p ee1 key=1
lagconfig: subsystem error: Invalid argument
8 REPLIES 8
Vladimir Fabecic
Honored Contributor

Re: LAG configure

I did not understand the question completely.
What do you mean "work _only_ if interface disabled on Cisco before server boot. /etc/inet.local"?
Do you have LAG option configured in kernel?
Does this Cisco switch support "LAG"?
In vino veritas, in VMS cluster
dmitry76
Occasional Contributor

Re: LAG configure

LAG configured in kernel:
# sysconfig -q lag
lag:
lag_debug = 0
lag_maxports = 8

Cisco support "LAG" (Etherchannel in terms of Cisco).

Good scenario:
1. disable port on Cisco.
2. reboot server and wait for system ready.
3. add eeX interfaces to LAG.
4. enable port on Cisco.
5. LAG work fine.

Bad scenario:
1. enable port on Cisco.
2. reboot server and wait for system ready.
3. i can't add eeX interfaces to LAG (lagconfig: subsystem error: Invalid argument).
4. 'ifconfig eeX down' can't help.
5. LAG not work at all.
Pieter 't Hart
Honored Contributor

Re: LAG configure

Good scenario:
1. disable port on Cisco.

You realy mean "port" ? or "ports"
(lag suggests multiple ports used)

I think the single interface must be "unconfigured" (not down) before adding to the lag.
dmitry76
Occasional Contributor

Re: LAG configure

i mean ports
Vladimir Fabecic
Honored Contributor

Re: LAG configure

Pieter, from man page of lagconfig:

lagconfig: subsystem error: Invalid argument
You attempted to add a port (interface) to a link aggregation group and
the port is UP. Mark the interface DOWN with the ifconfig command and
try to add the port again.

And, of course interfaces have to be unconfigured. But maybe the problem is in autonegotiation between ee interfaces and cisco switch.
Did you try to fixate port and adapter speed?
If not, please do it.
And you can also try this:
ifconfig ee0 down speed 200
ifconfig ee2 down speed 200
lagconfig -c lag=lag0
lagconfig -c dist=roundrobin
lagconfig -p ee0 key=1
lagconfig -p ee2 key=1
ifconfig ee0 up
ifconfig ee2 up
ifconfig lag0 10.0.0.1 netmask 255.255.255.0
EOD
In vino veritas, in VMS cluster
Pieter 't Hart
Honored Contributor

Re: LAG configure

I would go for Vladimir's suggestion to set the ports for fixed speed/duplex

as from page 2-34 in document : http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/ARH9CDTE/TITLE.HTM

The interfaces must all be of the
same speed and operate in full duplex mode.

dmitry76
Occasional Contributor

Re: LAG configure

'ifconfig ee0 down speed 200' work! Thank you.
Vladimir Fabecic
Honored Contributor

Re: LAG configure

I am glad it worked.
Since you are new in this forum, you can take a look at this:
http://forums11.itrc.hp.com/service/forums/helptips.do?#28
In vino veritas, in VMS cluster