Hello, I created an LACP group by preparing a config file; I put two entries for two ports, eth0 and eth1, in that config file (lacp.conf) and I ran the teamd daemon successfully with this configuration by:
teamd -f lacp.conf
Now I want to add additional interfaces to this LACP group, like eth2 and eth3, setting values for port members, like lacp_key.
If I try: teamdctl team0 port add eth2 lacp_key=56 I get an error (Unknown command).
I know, of course, that I can add this entry for eth3 in the lacp.conf file and restart the daemon.
But the question is: After the daemon is started, setting an LACP group, how can I add ports to it such that various port members (like lacp_key or priority) can be set ? (without restarting the daemon)
regards, DavidS
Sat, May 31, 2014 at 06:16:00PM CEST, dshwatrz@gmail.com wrote:
Hello, I created an LACP group by preparing a config file; I put two entries for two ports, eth0 and eth1, in that config file (lacp.conf) and I ran the teamd daemon successfully with this configuration by:
teamd -f lacp.conf
Now I want to add additional interfaces to this LACP group, like eth2 and eth3, setting values for port members, like lacp_key.
If I try: teamdctl team0 port add eth2 lacp_key=56
I'm not sure what lead you to idea this might work this way. Did you see this somewhere? Did you get the impression this might work from man page?
I get an error (Unknown command).
I know, of course, that I can add this entry for eth3 in the lacp.conf file and restart the daemon.
But the question is: After the daemon is started, setting an LACP group, how can I add ports to it such that various port members (like lacp_key or priority) can be set ? (without restarting the daemon)
Well. man pages are your best friend... always.
So "man teamdctl" and "man teamd.conf"
What you are looking for is "teamdctl team0 port config update eth3 'whateverconfigyouhavefortheport'"
regards, DavidS _______________________________________________ libteam mailing list libteam@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/libteam
libteam@lists.fedorahosted.org