Sorry that was not 100% correct.
To disable LACP/PAGP negociation:
Channel-group 1 mode on
As you are passing vlans you could just as well make sure all the interface are
in trunk mode.
So Switchport nonegociate will disable the dynamic trunk negociation.
Now you also mentioned when I power up the Server
Is your server supporting LACP?
How are is the bonding configured on the interfaces?
Eric
-Message d'origine-
De : swinog-boun...@lists.swinog.ch [mailto:swinog-
boun...@lists.swinog.ch] De la part de Eric Laporte
Envoyé : mercredi 4 avril 2012 10:13
À : swinog@lists.swinog.ch
Objet : Re: [swinog] EtherChannel - Long Time between LINK-3-UPDOWN and
LINEPROTO-5-UPDOWN
Be aware of the port-channeling protocol you use ( LACP or PAGP )
Channel-group 1 mode active - LACP
There are timers involved to get the port-channel up.
If you are sure about which interfaces will be part of it and you don't
need to define spare ports
Then you could also go for a static port-channel:
switchport nonegociate
Also be careful to apply your vlans on the port-channel interface only.
It gets replicated to the physical interfaces.
Eric
-Message d'origine-
De : swinog-boun...@lists.swinog.ch [mailto:swinog-
boun...@lists.swinog.ch] De la part de Tobias Brunner
Envoyé : mercredi 4 avril 2012 09:12
À : swinog@lists.swinog.ch
Objet : Re: [swinog] EtherChannel - Long Time between LINK-3-UPDOWN
and
LINEPROTO-5-UPDOWN
Hi all,
Thanks for the input so far. I've merged all the input of you (and the
trunk/vlan configuration I need to use) and this is how the
configuration
looks right now:
interface GigabitEthernet1/0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 27
switchport trunk allowed vlan 27,453
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
spanning-tree bpdufilter enable
channel-group 1 mode active
!
interface GigabitEthernet2/0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 27
switchport trunk allowed vlan 27,453
switchport mode trunk
no cdp enable
spanning-tree portfast trunk
spanning-tree bpdufilter enable
channel-group 1 mode active
!
interface Port-channel1
switchport trunk encapsulation dot1q
switchport trunk native vlan 27
switchport trunk allowed vlan 27,453
switchport mode trunk
spanning-tree portfast trunk
spanning-tree bpdufilter enable
end
It's not possible to just configure the channel-group on the GiX
interfaces
and all the rest on Po1 (as suggested by Steven), I had to add at
least
the
switchport settings (otherwise the switch complains about not
compatible
ports).
The addition of the spanning-tree settings to Po1 did not change the
behaviour
either. Also the used cables should be OK.
And now, when I power on the server, this is the output of the switch-
log (The
server boots from Network, then from local disk with Debian and
bonding
configured:
Apr 4 09:00:06 192.168.1.144 152: *Mar 15 17:05:41.781: %LINK-3-
UPDOWN:
Interface GigabitEthernet2/0/1, changed state to up
Apr 4 09:00:06 192.168.1.144 153: *Mar 15 17:05:41.781: %LINK-3-
UPDOWN:
Interface GigabitEthernet1/0/1, changed state to up
Apr 4 09:00:15 192.168.1.144 154: *Mar 15 17:05:51.202: %LINK-3-
UPDOWN:
Interface GigabitEthernet2/0/1, changed state to down
Apr 4 09:00:16 192.168.1.144 155: *Mar 15 17:05:52.250: %LINK-3-
UPDOWN:
Interface GigabitEthernet1/0/1, changed state to down
Apr 4 09:00:17 192.168.1.144 156: *Mar 15 17:05:53.525: %LINK-3-
UPDOWN:
Interface GigabitEthernet2/0/1, changed state to up
Apr 4 09:00:18 192.168.1.144 157: *Mar 15 17:05:54.607: %LINK-3-
UPDOWN:
Interface GigabitEthernet1/0/1, changed state to up
Apr 4 09:00:30 192.168.1.144 158: *Mar 15 17:06:05.907: %LINK-3-
UPDOWN:
Interface GigabitEthernet2/0/1, changed state to down
Apr 4 09:00:30 192.168.1.144 159: *Mar 15 17:06:05.924: %LINK-3-
UPDOWN:
Interface GigabitEthernet1/0/1, changed state to down
Apr 4 09:00:32 192.168.1.144 160: *Mar 15 17:06:08.465: %LINK-3-
UPDOWN:
Interface GigabitEthernet2/0/1, changed state to up
Apr 4 09:00:32 192.168.1.144 161: *Mar 15 17:06:08.482: %LINK-3-
UPDOWN:
Interface GigabitEthernet1/0/1, changed state to up
Apr 4 09:00:47 192.168.1.144 162: *Mar 15 17:06:22.701: %LINK-3-
UPDOWN:
Interface GigabitEthernet2/0/1, changed state to down
Apr 4 09:00:47 192.168.1.144 163: *Mar 15 17:06:22.718: %LINK-3-
UPDOWN:
Interface GigabitEthernet1/0/1, changed state to down
Apr 4 09:00:49 192.168.1.144 164: *Mar 15 17:06:25.050: %LINK-3-
UPDOWN:
Interface GigabitEthernet2/0/1, changed state to up
Apr 4 09:00:49 192.168.1.144 165: *Mar 15 17:06:25.285: %LINK-3-
UPDOWN:
Interface GigabitEthernet1/0/1, changed state to up
Apr 4 09:00:54 192.168.1.144 166: *Mar 15 17:06:29.957: %LINK-3-
UPDOWN:
Interface