Some questions about Link Aggregation and Failover

Al Plant noc at hdk5.net
Thu Mar 8 02:45:09 UTC 2012


bo wang wrote:
> Thank your for reply.
>  First,I think the Link Aggregation can't support too much ports
> aggregation.So I change the configure, just get together two
> ports.Below are configuration information of c3750:


??? > Switch#show eth 1 sum  Check your eth discriptor this is for Linux 
  is not for FreeBSD use ed0 or other FreeBSD



> Flags:  D - down        P - bundled in port-channel
>        I - stand-alone s - suspended
>        H - Hot-standby (LACP only)
>        R - Layer3      S - Layer2
>        U - in use      f - failed to allocate aggregator
> 
>        M - not in use, minimum links not met
>        u - unsuitable for bundling
>        w - waiting to be aggregated
>        d - default port
> 
> 
> Number of channel-groups in use: 2
> Number of aggregators:           2
> 
> Group  Port-channel  Protocol    Ports
> ------+-------------+-----------+-----------------------------------------------
> 1      Po1(SU)         LACP      Gi1/0/1(P)  Gi1/0/2(P)
> 
> 
> Switch#show lacp neighbor
> Flags:  S - Device is requesting Slow LACPDUs
>        F - Device is requesting Fast LACPDUs
>        A - Device is in Active mode       P - Device is in Passive mode
> 
> Channel group 1 neighbors
> 
> Partner's information:
> 
>                  LACP port                        Admin  Oper   Port    Port
> Port      Flags   Priority  Dev ID          Age    key    Key    Number  State
> Gi1/0/1   SA      32768     0010.18c0.af20   4s    0x0    0x250  0x3     0x3D
> Gi1/0/2   SA      32768     0010.18c0.af20   4s    0x0    0x250  0x4     0x3D
> 
> Channel group 2 neighbors
> 
> Partner's information:
> 
>                  LACP port                        Admin  Oper   Port    Port
> Port      Flags   Priority  Dev ID          Age    key    Key    Number  State
> Gi1/0/13  SA      32768     0010.18c0.af7c   1s    0x0    0x250  0x3     0x3D
> Gi1/0/14  SA      32768     0010.18c0.af7c   1s    0x0    0x250  0x4     0x3D
> 
> 
> Switch#show lacp neighbor detail
> Flags:  S - Device is requesting Slow LACPDUs
>        F - Device is requesting Fast LACPDUs
>        A - Device is in Active mode       P - Device is in Passive mode
> 
> Channel group 1 neighbors
> 
> Partner's information:
> 
> 
>          Partner               Partner                     Partner
> Port      System ID             Port Number     Age         Flags
> Gi1/0/1   32768,0010.18c0.af20  0x3              13s        SA
> 
>          LACP Partner         Partner         Partner
>          Port Priority        Oper Key        Port State
>          32768                0x250           0x3D
> 
>          Port State Flags Decode:
>          Activity:   Timeout:   Aggregation:   Synchronization:
>          Active      Long       Yes            Yes
> 
>          Collecting:   Distributing:   Defaulted:   Expired:
>          Yes           Yes             No           No
> 
>          Partner               Partner                     Partner
> Port      System ID             Port Number     Age         Flags
> Gi1/0/2   32768,0010.18c0.af20  0x4              14s        SA
> 
>          LACP Partner         Partner         Partner
>          Port Priority        Oper Key        Port State
>          32768                0x250           0x3D
> 
>          Port State Flags Decode:
>          Activity:   Timeout:   Aggregation:   Synchronization:
>          Active      Long       Yes            Yes
> 
>          Collecting:   Distributing:   Defaulted:   Expired:
>          Yes           Yes             No           No
> 
> Channel group 2 neighbors
> 
> Partner's information:
> 
> 
>          Partner               Partner                     Partner
> Port      System ID             Port Number     Age         Flags
> Gi1/0/13  32768,0010.18c0.af7c  0x3              15s        SA
> 
>          LACP Partner         Partner         Partner
>          Port Priority        Oper Key        Port State
>          32768                0x250           0x3D
> 
>          Port State Flags Decode:
>          Activity:   Timeout:   Aggregation:   Synchronization:
>          Active      Long       Yes            Yes
> 
>          Collecting:   Distributing:   Defaulted:   Expired:
>          Yes           Yes             No           No
> 
>          Partner               Partner                     Partner
> Port      System ID             Port Number     Age         Flags
> Gi1/0/14  32768,0010.18c0.af7c  0x4              16s        SA
> 
>          LACP Partner         Partner         Partner
>          Port Priority        Oper Key        Port State
>          32768                0x250           0x3D
> 
>          Port State Flags Decode:
>          Activity:   Timeout:   Aggregation:   Synchronization:
>          Active      Long       Yes            Yes
> 
>          Collecting:   Distributing:   Defaulted:   Expired:
>          Yes           Yes             No           No
> 
> 2012/3/7 bo wang <wowopla at gmail.com>:
>> Hello:
>>      Recently I want to do Link Aggregation for increasing the
>> speed. I use a Cisco 3750 Switche and two IBM Server R       with BSD
>> 9.0 .I do link aggregation According to this page.
>>      http://www.freebsd.org/doc/en/books/handbook/network-aggregation.html
>>      I use LACP .But when i have done ,the link aggregation  only can
>> do Failover  .It cann't increase the  speed. What is the
>> problem?Detailed configuration as follows
>>
>> in the BSD9.0  /etc/rc.conf
>> hostname="bbc04"
>> ifconfig_bce2="up"
>> ifconfig_bce3="up"
>> ifconfig_bce4="up"
>> ifconfig_bce5="up"
>> ifconfig_bce6="up"
>> ifconfig_bce7="up"
>> cloned_interfaces="lagg0"
>> ifconfig_lagg0="laggproto loadbalance laggport bce2 laggport bce3
>> laggport bce4 laggport bce5 laggport bce6 laggport bce7"
>> ipv4_addrs_lagg0="172.16.60.64/16"
>> defaultrouter="172.16.0.1"
>> sshd_enable="YES"
>> pureftpd_enable="YES"
>> # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
>> dumpdev="NO"
>>
>> the Cisco 3750 configure
>> interface range gigabitEthernet 1/0/1-6
>> channel-proto lacp
>> channel-group 1 mode active
>>
>>
>> interface range gigabitEthernet 1/0/13-18
>> channel-proto lacp
>> channel-group 2 mode active
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 


-- 

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
   + http://hawaiidakine.com + http://freebsdinfo.org +
   + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   < email: noc at hdk5.net >
"All that's really worth doing is what we do for others."- Lewis Carrol



More information about the freebsd-questions mailing list