• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

链路聚合

2023-10-12提问
  • 1关注
  • 1收藏,1063浏览
粉丝:0人 关注:0人

问题描述:

华三交换机的链路聚合是下面这个,那么对接思科交换机的话,思科交换机需要怎么配置呀

interface Bridge-Aggregation83 

     description to_96.1 

     port link-type trunk 

     port trunk permit vlan all 

     port trunk pvid vlan 96 

     link-aggregation mode dynamic 

     mad enable 

组网及组网描述:

华三交换机的链路聚合是下面这个,那么对接思科交换机的话,思科交换机需要怎么配置呀

interface Bridge-Aggregation83 

     description to_96.1 

     port link-type trunk 

     port trunk permit vlan all 

     port trunk pvid vlan 96 

     link-aggregation mode dynamic 

     mad enable 

最佳答案

粉丝:2人 关注:1人

[SW]int Bridge-Aggregation 1 创建链路聚合组端口1


[SW-Bridge-Aggregation1]link-aggregation mode dynamic 链路聚合模式动态


[SW-Bridge-Aggregation1]interface gigabitethernet 101 进入网口


[SW-Ethernet101]port link-aggregation group 1 加入链路聚合组


[SW-Ethernet101]quit 退出


[SW]interface Ethernet(gigabitethernet) 102


[SW-Ethernet102]port link-aggregation group 1 加入链路聚合组


[SW-Ethernet101]quit


[SW-Bridge-Aggregation1]port link-type trunk 改为trunk模式


[SW-Bridge-Aggregation1]port trunk permit vlan all 所有的vlan适用

https://blog.csdn.net/qq_58404026/article/details/131077779?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522169709894916800184168677%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=169709894916800184168677&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduend~default-4-131077779-null-null.142^v96^pc_search_result_base8&utm_term=%E6%80%9D%E7%A7%91%E7%AB%AF%E5%8F%A3%E8%81%9A%E5%90%88%E9%85%8D%E7%BD%AE%E5%91%BD%E4%BB%A4&spm=1018.2226.3001.4187

社区最帅 发表时间:2023-10-12 更多>>

这个是华三的,不是思科的配置

派大星 发表时间:2023-10-12

https://blog.csdn.net/qq_58404026/article/details/131077779?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522169709894916800184168677%2522%252C%2522scm%2522%253A%252220140713.130102334..%2522%257D&request_id=169709894916800184168677&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduend~default-4-131077779-null-null.142^v96^pc_search_result_base8&utm_term=%E6%80%9D%E7%A7%91%E7%AB%AF%E5%8F%A3%E8%81%9A%E5%90%88%E9%85%8D%E7%BD%AE%E5%91%BD%E4%BB%A4&spm=1018.2226.3001.4187

社区最帅 发表时间:2023-10-12
2 个回答
已采纳
粉丝:237人 关注:8人

3.1  与思科设备对接操作指导


3.1.1  互通性分析

表7 互通性分析

H3C

Cisco

互通结论

Static(缺省)

On(缺省)

可以互通

Dynamic

Active

可以互通

 

3.1.2  采用静态聚合模式对接案例

1. 组网需求

10所示,H3C设备与Cisco设备通过各自的二层以太网接口相互连接。现要求在H3C设备和Cisco设备上分别配置静态链路聚合,实现增加链路带宽、提高链路可靠性的目的。

图10 采用静态聚合模式对接配置组网图

 

2. 配置步骤

·     配置H3C设备

创建三层聚合接口1,并为该接口配置IP地址和子网掩码。

<H3C> system-view

[H3C] interface Route-aggregation 1

[H3C-Route-Aggregation1] ip address 16.1.105.33 24

[H3C-Route-Aggregation1] quit

将三层以太网接口GigabitEthernet1/0/1加入三层聚合组1中。

[H3C] interface gigabitethernet 1/0/1

[H3C-GigabitEthernet1/0/1] port link-aggregation group 1

[H3C-GigabitEthernet1/0/1] quit

将三层以太网接口GigabitEthernet1/0/2加入三层聚合组1中。

[H3C] interface GigabitEthernet 1/0/2

[H3C-GigabitEthernet1/0/2] port link-aggregation group 1

[H3C-GigabitEthernet1/0/2] quit

·     配置Cisco设备

如下配置以Cisco Nexus9000 C9236C为例进行介绍,设备具体信息如下:

Cisco# show version

Cisco Nexus Operating System (NX-OS) Software

TAC support: http://www.cisco.com/tac

Copyright (C) 2002-2017, Cisco and/or its affiliates.

All rights reserved.

The copyrights to certain works contained in this software are

owned by other third parties and used and distributed under their own

licenses, such as open source.  This software is provided "as is," and unless

otherwise stated, there is no warranty, express or implied, including but not

limited to warranties of merchantability and fitness for a particular purpose.

Certain components of this software are licensed under

the GNU General Public License (GPL) version 2.0 or

GNU General Public License (GPL) version 3.0  or the GNU

Lesser General Public License (LGPL) Version 2.1 or

Lesser General Public License (LGPL) Version 2.0.

A copy of each such license is available at

***.***/licenses/gpl-2.0.php and

***.***/licenses/gpl-3.0.html and

***.***/licenses/lgpl-2.1.php and

***.***/licenses/old-licenses/library.txt.

Software

 BIOS: version 07.56

 NXOS: version 7.0(3)I4(6)

 BIOS compile time:  06/08/2016

 NXOS image file is: bootflash:///nxos.7.0.3.I4.6.bin

 NXOS compile time:  3/9/2017 22:00:00 [03/10/2017 07:05:18]

Hardware

 cisco Nexus9000 C9236C chassis

Intel(R) Xeon(R) CPU  @ 1.80GHz with 16400984 kB of memory.

 Processor Board ID FDO20511FC7

Device name: switch

 bootflash:   53298520 kB

Kernel uptime is 17 day(s), 20 hour(s), 9 minute(s), 30 second(s)

Last reset

Reason: Unknown

 System version: 7.0(3)I4(6)

 Service:

plugin

 Core Plugin, Ethernet Plugin

Active Package(s):

配置聚合口的IP地址。

Cisco# configure terminal

Cisco(config)# interface channel-group 1

Cisco(config-if)# ip address 16.1.105.34 255.255.255.0

Cisco(config-if)# exit

设置接口Ethernet1/3的聚合模式为手动方式。

Cisco(config)# interface Ethernet 1/3

Cisco(config-if)# channel-group 1 mode on

Cisco(config-if)# exit

设置接口Ethernet1/5的聚合模式为手动方式。

Cisco(config-if)# interface Ethernet 1/5

Cisco(config-if)# channel-group 1 mode on

Cisco(config-if)# end

3. 验证配置

H3C设备上验证聚合组的详细信息。

[H3C] display link-aggregation verbose

Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing

Port Status: S -- Selected, U -- Unselected, I -- Individual

Port: A -- Auto port, M -- Management port, R -- Reference port

Flags:  A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,

        D -- Synchronization, E -- Collecting, F -- Distributing,

        G -- Defaulted, H -- Expired

                                                              

Aggregate Interface: Route-Aggregation1

Aggregation Mode: Static

Loadsharing Type: Shar

Management VLANs: None

  Port             Status  Priority Oper-Key

  GE1/0/1(R)       S       32768    1        

  GE1/0/2          S       32768    1        

H3C设备上能Ping通对端设备。

[H3C ] ping 16.1.105.34

Ping 16.1.105.34 (16.1.105.34): 56 data bytes, press CTRL_C to break

56 bytes from 16.1.105.34: icmp_seq=0 ttl=255 time=2.537 ms

56 bytes from 16.1.105.34: icmp_seq=1 ttl=255 time=2.000 ms

56 bytes from 16.1.105.34: icmp_seq=2 ttl=255 time=1.935 ms

56 bytes from 16.1.105.34: icmp_seq=3 ttl=255 time=2.044 ms

56 bytes from 16.1.105.34: icmp_seq=4 ttl=255 time=2.143 ms

                                                                   

--- Ping statistics for 16.1.105.34 ---

5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss

round-trip min/avg/max/std-dev = 1.935/2.132/2.537/0.214 ms

3.1.3  采用动态聚合模式对接案例

1. 组网需求

11所示,H3C设备与Cisco设备通过各自的二层以太网接口相互连接。现要求在H3C设备和Cisco设备上分别配置动态链路聚合,实现增加链路带宽、提高链路可靠性的目的。

图11 采用动态聚合模式对接配置组网图

 

2. 配置步骤

·     配置H3C设备

创建三层聚合接口1,并为该接口配置IP地址和子网掩码。

<H3C> system-view

[H3C] interface Route-aggregation 1

[H3C-Route-Aggregation1] ip address 16.1.105.33 24

配置三层聚合接口1对应的聚合组工作在动态聚合模式下。

[H3C-Route-Aggregation1] link-aggregation mode dynamic

[H3C-Route-Aggregation1] quit

将三层以太网接口GigabitEthernet1/0/1加入三层聚合组1中。

[H3C] interface gigabitethernet 1/0/1

[H3C-GigabitEthernet1/0/1] port link-aggregation group 1

[H3C-GigabitEthernet1/0/1] quit

将三层以太网接口GigabitEthernet1/0/2加入三层聚合组1中。

[H3C] interface gigabitethernet 1/0/2

[H3C-GigabitEthernet1/0/2] port link-aggregation group 1

[H3C-GigabitEthernet1/0/2] quit

·     配置Cisco设备

如下配置以Cisco Nexus9000 C9236C为例进行介绍,设备具体信息如下:

Cisco# show version

Cisco Nexus Operating System (NX-OS) Software

TAC support: http://www.cisco.com/tac

Copyright (C) 2002-2017, Cisco and/or its affiliates.

All rights reserved.

The copyrights to certain works contained in this software are

owned by other third parties and used and distributed under their own

licenses, such as open source.  This software is provided "as is," and unless

otherwise stated, there is no warranty, express or implied, including but not

limited to warranties of merchantability and fitness for a particular purpose.

Certain components of this software are licensed under

the GNU General Public License (GPL) version 2.0 or

GNU General Public License (GPL) version 3.0  or the GNU

Lesser General Public License (LGPL) Version 2.1 or

Lesser General Public License (LGPL) Version 2.0.

A copy of each such license is available at

***.***/licenses/gpl-2.0.php and

***.***/licenses/gpl-3.0.html and

***.***/licenses/lgpl-2.1.php and

***.***/licenses/old-licenses/library.txt.

Software

 BIOS: version 07.56

 NXOS: version 7.0(3)I4(6)

 BIOS compile time:  06/08/2016

 NXOS image file is: bootflash:///nxos.7.0.3.I4.6.bin

 NXOS compile time:  3/9/2017 22:00:00 [03/10/2017 07:05:18]

Hardware

 cisco Nexus9000 C9236C chassis

Intel(R) Xeon(R) CPU  @ 1.80GHz with 16400984 kB of memory.

 Processor Board ID FDO20511FC7

Device name: switch

 bootflash:   53298520 kB

Kernel uptime is 17 day(s), 20 hour(s), 9 minute(s), 30 second(s)

Last reset

Reason: Unknown

 System version: 7.0(3)I4(6)

 Service:

plugin

 Core Plugin, Ethernet Plugin

Active Package(s):

启动LACP

Cisco# configure terminal

Cisco(config)# feature lacp

设置聚合接口的IP地址。

Cisco(config)# interface channel-group 1

Cisco(config-if)# ip address 16.1.105.34 255.255.255.0

Cisco(config-if)# exit

Ethernet1/3接口设置为LACPactive模式。

Cisco(config)# interface Ethernet 1/3

Cisco(config-if)# channel-group 1 mode active

Cisco(config-if)# exit

Ethernet1/5接口设置为LACPactive模式。

Cisco(config-if)# interface Ethernet 1/5

Cisco(config-if)# channel-group 1 mode active

Cisco(config-if)# end

3. 验证配置

H3C设备上验证聚合组的详细信息。

[H3C] display link-aggregation verbose

Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing

Port Status: S -- Selected, U -- Unselected, I -- Individual

Port: A -- Auto port, M -- Management port, R -- Reference port

Flags:  A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,

        D -- Synchronization, E -- Collecting, F -- Distributing,

        G -- Defaulted, H -- Expired

Aggregate Interface: Route-Aggregation1

Aggregation Mode: Dynamic

Loadsharing Type: Shar

Management VLANs: None

System ID: 0x8000, 1cab-3496-09f6

Local:

  Port               Status   Priority Index    Oper-Key               Flag

  GE1/0/1(R)          S        32768    1        1                    {ACDEF}

  GE1/0/2             S        32768    2        1                    {ACDEF}

Remote:

  Actor            Priority  Index    Oper-Key    SystemID               Flag  

   GE1/0/1         32768    265      32768    0x8000, 2c33-113a-eaef {ACDEF}

   GE1/0/2         32768    273      32768    0x8000, 2c33-113a-eaef {ACDEF}

H3C设备上能Ping通对端设备。

[H3C] ping 16.1.105.34

Ping 16.1.105.34 (16.1.105.34): 56 data bytes, press CTRL_C to break

Request time out

56 bytes from 16.1.105.34: icmp_seq=1 ttl=255 time=2.331 ms

56 bytes from 16.1.105.34: icmp_seq=2 ttl=255 time=2.063 ms

56 bytes from 16.1.105.34: icmp_seq=3 ttl=255 time=2.202 ms

56 bytes from 16.1.105.34: icmp_seq=4 ttl=255 time=2.219 ms

 

--- Ping statistics for 16.1.105.34 ---

5 packet(s) transmitted, 4 packet(s) received, 20.0% packet loss

round-trip min/avg/max/std-dev = 2.063/2.204/2.331/0.095 ms

粉丝:160人 关注:1人

思科也配置动态链路聚合,注意思科动态聚合支持lacp和pagp,选择lacp就可以了

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明