免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5564 | 回复: 4
打印 上一主题 下一主题

关于port-channel问题!【已经有测试结论】 [复制链接]

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
1 [报告]
发表于 2009-12-02 10:34 |显示全部楼层
可以,会导致1GE口解复用。当10GE口断掉,会起到备份作用。

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
2 [报告]
发表于 2009-12-02 20:48 |显示全部楼层
哦。是吗??
我找机会测试一次吧

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
3 [报告]
发表于 2009-12-03 12:54 |显示全部楼层
####链路聚合测试----LACP 静态绑定模式====


#############初始配置及状态
#
link-aggregation group 1 mode static
#
#
interface Ethernet1/0/1
lacp enable
port link-aggregation group 1
#
interface Ethernet1/0/2
lacp enable
port link-aggregation group 1
#
[shiyan-6-2-Ethernet1/0/2]dis link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
        D -- Synchronization, E -- Collecting, F -- Distributing,
        G -- Defaulted, H -- Expired

Aggregation ID: 1,  AggregationType: Static,   Loadsharing Type: Shar
Aggregation Description:  
System ID: 0x8000, 000f-e2ec-a2b8
Port Status: S -- Selected,  U -- Unselected
Local:
Port                     Status  Priority  Key    Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            S       32768     1      {ACDEF}
Ethernet1/0/2            S       32768     1      {ACDEF}

Remote:
Actor                    Partner Priority Key   SystemID                     Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            1       32768    1     0x8000,000f-e2ec-a2ae {ACDEF}
Ethernet1/0/2            2       32768    1     0x8000,000f-e2ec-a2ae {ACDEF}
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
        D -- Synchronization, E -- Collecting, F -- Distributing,
        G -- Defaulted, H -- Expired
                                          
Aggregation ID: 2,  AggregationType: Manual,   Loadsharing Type: NonS
Aggregation Description:  
System ID: 0x8000, 000f-e2ec-a2b8
Port Status: S -- Selected,  U -- Unselected
Local:
Port                     Status  Priority  Key    Flag
--------------------------------------------------------------------------------

Remote:
Actor                    Partner Priority Key   SystemID                     Flag
--------------------------------------------------------------------------------
[shiyan-6-2-Ethernet1/0/2]







###########切入一条千兆的电口链路
#
interface GigabitEthernet1/1/1
lacp enable
port link-aggregation group 1
#
[shiyan-6-2-GigabitEthernet1/1/1]dis link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
        D -- Synchronization, E -- Collecting, F -- Distributing,
        G -- Defaulted, H -- Expired

Aggregation ID: 1,  AggregationType: Static,   Loadsharing Type: NonS
Aggregation Description:  
System ID: 0x8000, 000f-e2ec-a2b8
Port Status: S -- Selected,  U -- Unselected
Local:
Port                     Status  Priority  Key    Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            U       32768     1      {AC}
Ethernet1/0/2            U       32768     1      {AC}
GigabitEthernet1/1/1     S       32768     2      {ACDEF}

Remote:
Actor                    Partner Priority Key   SystemID                     Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            1       32768    1     0x8000,000f-e2ec-a2ae {AC}
Ethernet1/0/2            2       32768    1     0x8000,000f-e2ec-a2ae {AC}
GigabitEthernet1/1/1     25      32768    2     0x8000,000f-e2ec-a2ae {ACDEF}
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
        D -- Synchronization, E -- Collecting, F -- Distributing,
        G -- Defaulted, H -- Expired

Aggregation ID: 2,  AggregationType: Manual,   Loadsharing Type: NonS
Aggregation Description:  
System ID: 0x8000, 000f-e2ec-a2b8
Port Status: S -- Selected,  U -- Unselected
Local:
Port                     Status  Priority  Key    Flag
--------------------------------------------------------------------------------

Remote:
Actor                    Partner Priority Key   SystemID                     Flag
--------------------------------------------------------------------------------
[shiyan-6-2-GigabitEthernet1/1/1]






再切入一条千兆的光链路(此处用STACK_SFP代替)
#
interface GigabitEthernet1/2/2
lacp enable
port link-aggregation group 1
#
[shiyan-6-2-GigabitEthernet1/2/2]dis transceiver int g1/2/2
GigabitEthernet1/2/2 transceiver information:
  Transceiver Type              : STACK_SFP
  Connector Type                : COPPER
  Wavelength(nm)                : UNKNOWN
  Transfer Distance(m)          : UNKNOWN
  Digital Diagnostic Monitoring : NO
  Vendor Name                   : WTD
  Ordering Name                 : SFP-STACK

[shiyan-6-2-GigabitEthernet1/2/2]


[shiyan-6-2-GigabitEthernet1/2/2]dis link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
        D -- Synchronization, E -- Collecting, F -- Distributing,
        G -- Defaulted, H -- Expired

Aggregation ID: 1,  AggregationType: Static,   Loadsharing Type: Shar
Aggregation Description:  
System ID: 0x8000, 000f-e2ec-a2b8
Port Status: S -- Selected,  U -- Unselected
Local:
Port                     Status  Priority  Key    Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            U       32768     1      {AC}
Ethernet1/0/2            U       32768     1      {AC}
GigabitEthernet1/1/1     S       32768     2      {ACDEF}
GigabitEthernet1/2/2     S       32768     2      {ACDEF}

Remote:
Actor                    Partner Priority Key   SystemID                     Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            1       32768    1     0x8000,000f-e2ec-a2ae {AC}
Ethernet1/0/2            2       32768    1     0x8000,000f-e2ec-a2ae {AC}
GigabitEthernet1/1/1     25      32768    2     0x8000,000f-e2ec-a2ae {ACDEF}
GigabitEthernet1/2/2     26      32768    2     0x8000,000f-e2ec-a2ae {ACDEF}
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
        D -- Synchronization, E -- Collecting, F -- Distributing,
        G -- Defaulted, H -- Expired

Aggregation ID: 2,  AggregationType: Manual,   Loadsharing Type: NonS
Aggregation Description:  
System ID: 0x8000, 000f-e2ec-a2b8
Port Status: S -- Selected,  U -- Unselected
Local:
Port                     Status  Priority  Key    Flag
--------------------------------------------------------------------------------

Remote:
Actor                    Partner Priority Key   SystemID                     Flag
--------------------------------------------------------------------------------
[shiyan-6-2-GigabitEthernet1/2/2]


###将千兆链路DOWN掉
#
interface GigabitEthernet1/1/1
shutdown
lacp enable
port link-aggregation group 1
#
interface GigabitEthernet1/2/2
shutdown
lacp enable
port link-aggregation group 1
#
[shiyan-6-2-GigabitEthernet1/2/2]                                                                                                                                                                   dis link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
        D -- Synchronization, E -- Collecting, F -- Distributing,
        G -- Defaulted, H -- Expired

Aggregation ID: 1,  AggregationType: Static,   Loadsharing Type: Shar
Aggregation Description:  
System ID: 0x8000, 000f-e2ec-a2b8
Port Status: S -- Selected,  U -- Unselected
Local:
Port                     Status  Priority  Key    Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            S       32768     1      {ACDEF}
Ethernet1/0/2            S       32768     1      {ACDEF}
GigabitEthernet1/1/1     U       32768     2      {AC}
GigabitEthernet1/2/2     U       32768     2      {AC}

Remote:
Actor                    Partner Priority Key   SystemID                     Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            1       32768    1     0x8000,000f-e2ec-a2ae {ACDEF}
Ethernet1/0/2            2       32768    1     0x8000,000f-e2ec-a2ae {ACDEF}
GigabitEthernet1/1/1     25      32768    2     0x8000,000f-e2ec-a2ae {ACEF}
GigabitEthernet1/2/2     26      32768    2     0x8000,000f-e2ec-a2ae {ACEF}
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
        D -- Synchronization, E -- Collecting, F -- Distributing,
        G -- Defaulted, H -- Expired

Aggregation ID: 2,  AggregationType: Manual,   Loadsharing Type: NonS
Aggregation Description:  
System ID: 0x8000, 000f-e2ec-a2b8
Port Status: S -- Selected,  U -- Unselected
Local:
Port                     Status  Priority  Key    Flag
--------------------------------------------------------------------------------

Remote:
Actor                    Partner Priority Key   SystemID                     Flag
--------------------------------------------------------------------------------
[shiyan-6-2-GigabitEthernet1/2/2]

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
4 [报告]
发表于 2009-12-03 12:54 |显示全部楼层
######链路聚合测试----手工聚合模式=====


########初始配置及状态
#
link-aggregation group 2 mode manual
#
interface Ethernet1/0/1
port link-aggregation group 2
#
interface Ethernet1/0/2
port link-aggregation group 2
#
return
[shiyan-6-2-Ethernet1/0/2]dis li
[shiyan-6-2-Ethernet1/0/2]dis link-ag
[shiyan-6-2-Ethernet1/0/2]dis link-aggregation v
[shiyan-6-2-Ethernet1/0/2]dis link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
        D -- Synchronization, E -- Collecting, F -- Distributing,
        G -- Defaulted, H -- Expired

Aggregation ID: 2,  AggregationType: Manual,   Loadsharing Type: Shar
Aggregation Description:  
System ID: 0x8000, 000f-e2ec-a2b8
Port Status: S -- Selected,  U -- Unselected
Local:
Port                     Status  Priority  Key    Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            S       32768     2      {}
Ethernet1/0/2            S       32768     2      {}

Remote:
Actor                    Partner Priority Key   SystemID                     Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            0       0        0     0x0000,0000-0000-0000 {}
Ethernet1/0/2            0       0        0     0x0000,0000-0000-0000 {}
[shiyan-6-2-Ethernet1/0/2]
[shiyan-6-2-Ethernet1/0/2]



#####切入一条千兆电链路
#
interface GigabitEthernet1/1/1
port link-aggregation group 2
#
return
[shiyan-6-2-GigabitEthernet1/1/1]dis li
[shiyan-6-2-GigabitEthernet1/1/1]dis link-ag
[shiyan-6-2-GigabitEthernet1/1/1]dis link-aggregation g
[shiyan-6-2-GigabitEthernet1/1/1]dis link-aggregation v
[shiyan-6-2-GigabitEthernet1/1/1]dis link-aggregation verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
        D -- Synchronization, E -- Collecting, F -- Distributing,
        G -- Defaulted, H -- Expired

Aggregation ID: 2,  AggregationType: Manual,   Loadsharing Type: NonS
Aggregation Description:  
System ID: 0x8000, 000f-e2ec-a2b8
Port Status: S -- Selected,  U -- Unselected
Local:
Port                     Status  Priority  Key    Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            U       32768     2      {}
Ethernet1/0/2            U       32768     2      {}
GigabitEthernet1/1/1     S       32768     3      {}

Remote:
Actor                    Partner Priority Key   SystemID                     Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            0       0        0     0x0000,0000-0000-0000 {}
Ethernet1/0/2            0       0        0     0x0000,0000-0000-0000 {}
GigabitEthernet1/1/1     0       0        0     0x0000,0000-0000-0000 {}
[shiyan-6-2-GigabitEthernet1/1/1]




####切入另一条千兆光链路
[shiyan-6-2-GigabitEthernet1/2/2]dis this
#
interface GigabitEthernet1/2/2
port link-aggregation group 2
#
return
[shiyan-6-2-GigabitEthernet1/2/2]dis link-ag v
[shiyan-6-2-GigabitEthernet1/2/2]dis link-ag verbose
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
        D -- Synchronization, E -- Collecting, F -- Distributing,
        G -- Defaulted, H -- Expired

Aggregation ID: 2,  AggregationType: Manual,   Loadsharing Type: Shar
Aggregation Description:  
System ID: 0x8000, 000f-e2ec-a2b8
Port Status: S -- Selected,  U -- Unselected
Local:
Port                     Status  Priority  Key    Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            U       32768     2      {}
Ethernet1/0/2            U       32768     2      {}
GigabitEthernet1/1/1     S       32768     3      {}
GigabitEthernet1/2/2     S       32768     3      {}

Remote:
Actor                    Partner Priority Key   SystemID                     Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            0       0        0     0x0000,0000-0000-0000 {}
Ethernet1/0/2            0       0        0     0x0000,0000-0000-0000 {}
GigabitEthernet1/1/1     0       0        0     0x0000,0000-0000-0000 {}
GigabitEthernet1/2/2     0       0        0     0x0000,0000-0000-0000 {}
[shiyan-6-2-GigabitEthernet1/2/2]






#####断掉其中的千兆电链路
[shiyan-6-2-GigabitEthernet1/1/1]dis this
#
interface GigabitEthernet1/1/1
shutdown
port link-aggregation group 2
#
return
[shiyan-6-2-GigabitEthernet1/1/1]dis link-ag ver
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Flags:  A -- LACP_Activity, B -- LACP_timeout, C -- Aggregation,
        D -- Synchronization, E -- Collecting, F -- Distributing,
        G -- Defaulted, H -- Expired

Aggregation ID: 2,  AggregationType: Manual,   Loadsharing Type: NonS
Aggregation Description:  
System ID: 0x8000, 000f-e2ec-a2b8
Port Status: S -- Selected,  U -- Unselected
Local:
Port                     Status  Priority  Key    Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            U       32768     2      {}
Ethernet1/0/2            U       32768     2      {}
GigabitEthernet1/1/1     U       32768     3      {}
GigabitEthernet1/2/2     S       32768     3      {}

Remote:
Actor                    Partner Priority Key   SystemID                     Flag
--------------------------------------------------------------------------------
Ethernet1/0/1            0       0        0     0x0000,0000-0000-0000 {}
Ethernet1/0/2            0       0        0     0x0000,0000-0000-0000 {}
GigabitEthernet1/1/1     0       0        0     0x0000,0000-0000-0000 {}
GigabitEthernet1/2/2     0       0        0     0x0000,0000-0000-0000 {}
[shiyan-6-2-GigabitEthernet1/1/1]

论坛徽章:
5
IT运维版块每日发帖之星
日期:2015-08-06 06:20:00IT运维版块每日发帖之星
日期:2015-08-10 06:20:00IT运维版块每日发帖之星
日期:2015-08-23 06:20:00IT运维版块每日发帖之星
日期:2015-08-24 06:20:00IT运维版块每日发帖之星
日期:2015-11-12 06:20:00
5 [报告]
发表于 2009-12-03 12:55 |显示全部楼层
以上测试结果采用H3C设备。证实结论为4楼的结果。具体如下:

[shiyan-6-2]dis version
H3C Comware Platform Software
Comware Software, Version 3.10, Release 2107P07
Copyright (c) 2004-2008 Hangzhou H3C Technologies Co., Ltd. All rights reserved.
H3C S2403TP-EA uptime is 0 week, 0 day, 1 hour, 4 minutes

H3C S2403TP-EA with 1 Processor
64M     bytes SDRAM
8M      bytes Flash Memory
Config Register points to FLASH

Hardware Version is REV.D
Bootrom Version is 520
[Subslot 0] 24FE         Hardware Version is REV.D
[Subslot 1]  1GE         Hardware Version is REV.D
[Subslot 2]  1GE         Hardware Version is REV.D

[shiyan-6-2]


感觉CISCO应该也是如此,手头没设备无法测试。

[ 本帖最后由 ssffzz1 于 2009-12-3 13:11 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP