加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

链路聚合[神州数码设备]

发布时间:2020-12-13 20:16:46 所属栏目:百科 来源:网络整理
导读:实验线路连接图 : 650) this.width=650;" border="0" alt="" src="http://img.jb51.cc/vcimg/static/loading.png" src="http://img1.51cto.com/attachment/201109/151848393.png"> 实验内容: 测试机配置 [ 如图示 ] DCRS-5526S 配置,接上个实验配置。 ===

实验线路连接图:

实验内容:

测试机配置[如图示]

DCRS-5526S配置,接上个实验配置。

===端口聚合配置===

SwitchB(Config)#port-group 1

//方法一:手工生成链路聚合组--使用强制模式

SwitchA

//创建port-group

SwitchA(Config)#port-group 1

SwitchA(Config)#interface ethernet 0/0/22-23

SwitchA(Config-Port-Range)#port-group 1 mode on

//on -- 强制模式

SwitchB

//创建port-group

SwitchB(Config)#port-group 1

SwitchB(Config)#interface ethernet 0/0/22-23

SwitchB(Config-Port-Range)#port-group 1 mode on

//方法二:LACP动态生成链路聚合组,经测-此模式要等待一会儿才生效,耐心!

SwitchA

//创建port-group

SwitchA(Config)#port-group 1

SwitchA(Config)#interface ethernet 0/0/22-23

SwitchA(Config-Port-Range)#port-group 1 mode active

SwitchB

//创建port-group

SwitchB(Config)#port-group 2

SwitchB(Config)#interface ethernet 0/0/22-23

SwitchB(Config-Port-Range)#port-group 2 mode passive

//passive -- 被动发起汇聚模式

==详细配置==[第三种配制方法]

SwitchA-Config

SwitchA(Config)#spanning-tree

MSTP is starting now,please wait...........

MSTP is enabled successfully.

SwitchA(Config)#port-group 1

SwitchA(Config)#interface ethernet 0/0/22-23

SwitchA(Config-Port-Range)#switchport mode trunk

Set the port Ethernet0/0/22 mode TRUNK successfully

Set the port Ethernet0/0/23 mode TRUNK successfully

SwitchA(Config-Port-Range)#port-group 1 mode active

LACP successfully enabled on port Ethernet0/0/22

LACP successfully enabled on port Ethernet0/0/23

SwitchB-Config

SwitchB(Config)#spanning-tree

MSTP is starting now,please wait...........

MSTP is enabled successfully.

SwitchB(Config)#port-group 1

SwitchB(Config)#interface ethernet 0/0/22-23

SwitchB(Config-Port-Range)#switchport mode trunk

Set the port Ethernet0/0/22 mode TRUNK successfully

Set the port Ethernet0/0/23 mode TRUNK successfully

SwitchB(Config-Port-Range)#port-group 1 mode active

LACP successfully enabled on port Ethernet0/0/22

LACP successfully enabled on port Ethernet0/0/23

4)测试机A可以ping通测试机B

总结:生成链路聚合可以双方都为强制模式,也可都为主动模式,还可一方为主动一方为被动。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读