- 1、本文档共4页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
lacp配置与防火墙接入
?一、接入拓扑图
实现原理:LACP模式是一种利用LACP协议进行聚合参数协商、确定活动接口和非活动接口的链路聚合方式链路负载分担和链路冗余备份的双重功能在链路聚合组中条链路处于活动状态,这些链路负责转发数据并进行负载分担,条链路处于备份链路状态,当,会接替出现故障的链路,开始转发数据。配置LACP模式链路聚合示例??采用如下的思路配置LACP模式链路聚合:lacp timeout fast在S-switch设备上创建Eth-Trunk,配置Eth-Trunk为静态LACP模式。Quidway system-view
[S1] interface eth-trunk 1
[S1-Eth-Trunk1] mode lacp-static
[S1-Eth-Trunk1] quit
Quidway system-view
[S2] interface eth-trunk 1
[S2-Eth-Trunk1] mode lacp-static
[S2-Eth-Trunk1] quit
将成员接口加入Eth-Trunk。[S1] interface ethernet 0/0/1
[S1-Ethernet0/0/1] eth-trunk 1
[S1-Ethernet0/0/1] quit
[S1] interface ethernet 0/0/2
[S1-Ethernet0/0/2] eth-trunk 1
[S1-Ethernet0/0/2] quit
[S2] interface ethernet 0/0/1
[S2-Ethernet0/0/1] eth-trunk 1
[S2-Ethernet0/0/1] quit
[S2] interface ethernet 0/0/2
[S2-Ethernet0/0/2] eth-trunk 1
[S2-Ethernet0/0/2] quit
配置接口Eth-Trunk处理BPDU报文。[S1] interface eth-trunk 1
[S1-Eth-Trunk1] bpdu enable
[S1-Eth-Trunk1] quit
[S2] interface eth-trunk 1
[S2-Eth-Trunk1] bpdu enable
[S2-Eth-Trunk1] quit
配置系统优先级确定主动端。
[S1] lacp priority 100
在S上配置接口优先级确定活动链路
[S] interface ethernet 0/0/1
[S1-Ethernet0/0/1] lacp priority 100
[S1-Ethernet0/0/1] quit
[S1] interface ethernet 0/0/2
[S1-Ethernet0/0/2] lacp priority 100
[S1-Ethernet0/0/2] quit
可选配置
? 在S上配置活动接口上限阈值为
[S1] interface eth-trunk 1
[S1-Eth-Trunk1] max active-linknumber 1
[S1-Eth-Trunk1] quit
思科
1.在设备S1S2上创建port-channelS1(config)#int port-channel 1
S1(config-if)#no switchport
S1(config-if)#ip add
S1(config-if)#speed 1000
S1(config-if)#duplex full
S2(config)#int port-channel 1
S2(config-if)# no switchport
S2(config-if)# ip add
S2(config-if)#speed 1000
S2(config-if)#duplex full
2.将成员接口加入port-channelS1(config-if)#int g1/0/1
S1(config-if)# no switchport
S1(config-if)#channel-protocol lacp
S1(config-if)#channel-group 1 mode active
S1(config-if)#int g1/0/2
S1(config-if)# no switchport
S1(config-if)#channel-protocol lacp
S1(config-if)#channel-group 1 mode active
S2(config-if)#int g1/0/1
S2(config-if)# no switchport
S2(config-if)#channel-protocol lacp
S2(c
文档评论(0)