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

对接思科

2024-10-09提问
  • 0关注
  • 0收藏,324浏览
粉丝:0人 关注:10人

问题描述:

思科交换机对接华三交换机,二层链路聚合,华三交换机这边的端口需要做什么

最佳答案

粉丝:237人 关注:8人

聚合模式需要一致


LACP链路聚合对接操作指导

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

暂无评论

1 个回答
粉丝:160人 关注:1人

要将思科交换机与华三交换机进行二层链路聚合(LACP),你需要在华三交换机上进行以下配置:

  1. 进入系统视图

    <H3C> system-view
  2. 创建聚合接口

    [H3C] interface Bridge-Aggregation 1
  3. 将物理接口加入聚合组

    [H3C-Bridge-Aggregation1] port link-aggregation group 1 [H3C-Bridge-Aggregation1] quit
  4. 配置物理接口

    [H3C] interface GigabitEthernet 1/0/1 [H3C-GigabitEthernet1/0/1] port link-aggregation group 1 [H3C-GigabitEthernet1/0/1] quit [H3C] interface GigabitEthernet 1/0/2 [H3C-GigabitEthernet1/0/2] port link-aggregation group 1 [H3C-GigabitEthernet1/0/2] quit
  5. 配置聚合接口为Trunk模式(如果需要):

    [H3C] interface Bridge-Aggregation 1 [H3C-Bridge-Aggregation1] port link-type trunk [H3C-Bridge-Aggregation1] port trunk permit vlan all [H3C-Bridge-Aggregation1] quit
  6. 启用LACP

    [H3C] interface Bridge-Aggregation 1 [H3C-Bridge-Aggregation1] link-aggregation mode dynamic [H3C-Bridge-Aggregation1] quit

这些步骤将确保华三交换机的端口正确配置为与思科交换机进行二层链路聚合12


暂无评论

编辑答案

你正在编辑答案

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

分享扩散:

提出建议

    +

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

确定

亲~检测到您登陆的账号未在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. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

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

不规范转载

×

举报说明