以太网链路聚合——LACP模式
Ethernet links condensed - LACP mode
将多条物理链路转变为一条E-trunk的逻辑链路,达到增加带宽的目的
Convert multiple physical links into a logical E-trunk link for the purpose of increasing bandwidth
分为手工模式、LACP模式(本章讲述)
Disaggregated into manual models, LACP models (discussed in this chapter)
LACP模式:
LACP mode:
1、LACP需要有链路集合控制协议LACP的参与
1. LACP requires the involvement of LACP in a chain-based control agreement
2、LACP模式下,部分链路是活动链路,所有活动链路均参与数据转发。
2. In the LACP model, some links are activity links, all of which are involved in data transmission.
!作用:1、增加带宽 2、链路备份
Impact: 1, increase bandwidth, 2 links back up.
指令:
Command:
lacp priority 1000 ;配置系统优先级为1000
lacp priority 1000; configuration system priority of 1000
LACP系统优先级,一边配,一边不配,两边不配。都可以
The LACP system is a priority, it's not a match, it's not a match, it's not a match.
配不配无所谓
It doesn't matter if it's worth it.
具体配置指令:(华为环境,前提是加入的端口必须为默认hybrid,且不能单独配置access、trunk协议)
Specific configuration instructions: (Word is an environment, provided the added port is by default hybrid and the access, trounk protocol cannot be configured separately)
lacp priority 1000;配置系统lacp优先级
lacp priority 1000;configuration system lacp priority
int eth-trunk 1;进入eth-trunk视图
in eth-trunk 1; entering the eth-trunk view
bpdu enable ;配置接口上发送到bpdu报文至cpu处理,起到防环作用
bpdu enable; sent on configuration interface to bpdu report to cpu process, which acts as an anti-ring function
mode lacp-static ;配置eth-trunk为lacp模式
mode lacp-static;configuring Eth-trunk to lacp mode
把端口加入eth-trunk 1
Add port to eth-trunk 1
方案1:(直接在eth-trunk 1模式中添加端口)
Option 1: (add ports directly to the Eth-trunk 1 mode)
trunkport ethernet 0/0/1 to 0/0/4;把接口1-4都加入eth-trunk 1
trunkport restnet 0/0/1 to 0/0/4; add Eth-trunk 1 to interface 1-4
trunkport e(g)0/0/1;把端口1号加入eth-trunk 1的聚合中
trunkport e(g)0/0/1; add port number 1 to the Eth-trunk 1 polymer
方案2:(退出eth-trunk 1模式后,去进入端口,然后再加入)
Option 2: (exit from the Eth-trunk 1 mode, go into port and then join)
int e0/0/1 ;接口加入eth-trunk前得是默认的hybrid模式,加入后再改trunk类型!!!!
Int e0/0/1; the interface must be the default hybrid mode before adding to the eth-trunk and then change the trunk type!
eth-trunk 1;当前端口加入eth-trunk
eth-trunk 1; current port adds eth-trunk
int e0/0/2
eth-trunk 1;当前端口加入eth-trunk
eth-trunk 1; current port adds eth-trunk
int e0/0/3
eth-trunk 1;当前端口加入eth-trunk
eth-trunk 1; current port adds eth-trunk
(此时端口1、2、3加入了eth-trunk)
(Half port 1, 2 and 3 joins eth-trunk)
PS:如何在设置完端口加入eth-trunk 1后进行端口限制备份
PS: How to back up port restrictions after adding Eth-trunk 1 to the setup
int eth-trunk 1
max active-linknumber X ;配置活动接口数,其他剩下的接口作为备份状态。X最高为8 配置链路聚合的最高端口为8
max active-linknumber X; configures the number of active interfaces and the rest of the interfaces as back-up status. X up to 8 configures the maximum port of the connection polymer with 8
备注:如何在lacp模式下设置access、trunk协议
Comment: How to set access, trounk protocol in lacp mode
int eth-trunk 1
port link-type access/trunk;端口设置为access、trunk协议
port link-type access/trunk; port set to access, Trunk protocol
port default vlan x/port trunk vlan x;设置对应vlan id对应通过
port default vlan x/port trunk vlan x; setting matching vlan ids should adopt
ps:在系统模式下
ps: in system mode
display eth-trunk 1;查看当前eth-trunk 1的配置
Display eth-trunk 1; view current eth-trunk 1 configuration
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
If you find that there is a suspected copying or misrepresentation of the content, contact us at jiasou666@gmail.com and verify that the violation will be removed within 24 hours.
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论