华为S9300核心交换机链路聚合配置实例_第1页
华为S9300核心交换机链路聚合配置实例_第2页
华为S9300核心交换机链路聚合配置实例_第3页
华为S9300核心交换机链路聚合配置实例_第4页
华为S9300核心交换机链路聚合配置实例_第5页
已阅读5页,还剩2页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、华为S9300核心交换机链路聚合配置实例配置静态LACP模式链路聚合示例组网需求如图1所示,在两台S9300设备上配置静态LACP模式链路聚合组,提高两设备之间的带宽与可靠性,具体要求如下:· 2条活动链路具有负载分担的能力。· 两设备间的链路具有1条冗余备份链路,当活动链路出现故障链路时,备份链路替代故障链路,保持数据传输的可靠性。图1 配置静态LACP模式链路聚合组网图 配置思路采用如下的思路配置静态LACP模式链路聚合:1. 在S9300设备上创建Eth-Trunk,配置Eth-Trunk为静态LACP模式。2. 将成员接口加入Eth-Trunk。3. 配置系统优先级

2、确定主动端。4. 配置活动接口上限阈值。5. 配置接口优先级确定活动链路。数据准备为完成此配置例,需准备如下的数据:· 两端S9300设备链路聚合组编号。· S9300-A系统优先级。· 活动接口上限阈值。· 活动接口LACP优先级。操作步骤1. 创建编号为1的Eth-Trunk,配置它的工作模式为静态LACP模式 # 配置S9300-A。<Quidway> system-viewQuidway sysname S9300-AS9300-A interface eth-trunk 1S9300-A-Eth-Trunk1 mode lacp-s

3、taticS9300-A-Eth-Trunk1 quit# 配置S9300-B。<Quidway> system-viewQuidway sysname S9300-BS9300-B interface eth-trunk 1S9300-B-Eth-Trunk1 mode lacp-staticS9300-B-Eth-Trunk1 quit2. 将成员接口加入Eth-Trunk # 配置S9300-A。S9300-A interface gigabitethernet 1/0/1S9300-A-Gigabitethernet1/0/1 eth-trunk 1S9300-A-Giga

4、bitethernet1/0/1 quitS9300-A interface gigabitethernet 1/0/2S9300-A-Gigabitethernet1/0/2 eth-trunk 1S9300-A-Gigabitethernet1/0/2 quitS9300-A interface gigabitethernet 1/0/3S9300-A-Gigabitethernet1/0/3 eth-trunk 1S9300-A-Gigabitethernet1/0/3 quit# 配置S9300-B。S9300-B interface gigabitethernet 1/0/1S930

5、0-B-Gigabitethernet1/0/1 eth-trunk 1S9300-B-Gigabitethernet1/0/1 quitS9300-B interface gigabitethernet 1/0/2S9300-B-Gigabitethernet1/0/2 eth-trunk 1S9300-B-Gigabitethernet1/0/2 quitS9300-B interface gigabitethernet 1/0/3S9300-B-Gigabitethernet1/0/3 eth-trunk 1S9300-B-Gigabitethernet1/0/3 quit3. 在S93

6、00-A上配置系统优先级为100,使其成为LACP主动端 S9300-A lacp priority 1004. 在S9300-A上配置活动接口上限阈值为2 5. S9300-A interface eth-trunk 16. S9300-A-Eth-Trunk1 max bandwidth-affected-linknumber 2S9300-A-Eth-Trunk1 quit7. 在S9300-A上配置接口优先级确定活动链路 8. S9300-A interface gigabitethernet 1/0/19. S9300-A-Gigabitethernet1/0/1 lacp prio

7、rity 10010. S9300-A-Gigabitethernet1/0/1 quit11. S9300-A interface gigabitethernet 1/0/212. S9300-A-Gigabitethernet1/0/2 lacp priority 100S9300-A-Gigabitethernet1/0/2 quit13. 验证配置结果 # 查看各S9300设备的Eth-Trunk信息,查看链路是否协商成功。S9300-A display eth-trunk 1 Eth-Trunk1's state information is: Local: LAG ID:

8、1 WorkingMode: STATIC Preempt Delay: Disabled Hash arithmetic: According to SA-XOR-DA System Priority: 100 System ID: 00e0-fca8-0417Least Active-linknumber: 1 Max Active-linknumber: 2Operate status: Up Number Of Up Port In Trunk: 2 - ActorPortName Status PortType PortPri PortNo PortKey PortState Wei

9、ght GigabitEthernet1/0/1 Selected 1GE 100 6145 2865 11111100 1 GigabitEthernet1/0/2 Selected 1GE 100 6146 2865 11111100 1 GigabitEthernet1/0/3 Unselect 1GE 32768 6147 2865 11100000 1 Partner: - PartnerPortName SysPri SystemID PortPri PortNo PortKey PortState GigabitEthernet1/0/1 32768 00e0-fca6-7f85

10、 32768 6145 2609 11111100 GigabitEthernet1/0/2 32768 00e0-fca6-7f85 32768 6146 2609 11111100 GigabitEthernet1/0/3 32768 00e0-fca6-7f85 32768 6147 2609 11110000S9300-B display eth-trunk 1 Eth-Trunk1's state information is: Local: LAG ID: 1 WorkingMode: STATIC Preempt Delay: Disabled Hash arithmet

11、ic: According to SA-XOR-DA System Priority: 32768 System ID: 00e0-fca6-7f85 Least Active-linknumber: 1 Max Active-linknumber: 8 Operate status: Up Number Of Up Port In Trunk: 2 - ActorPortName Status PortType PortPri PortNo PortKey PortState Weight GigabitEthernet1/0/1 Selected 1GE 32768 6145 2609 1

12、1111100 1 GigabitEthernet1/0/2 Selected 1GE 32768 6146 2609 11111100 1 GigabitEthernet1/0/3 Unselect 1GE 32768 6147 2609 11100000 1 Partner: - PartnerPortName SysPri SystemID PortPri PortNo PortKey PortState GigabitEthernet1/0/1 100 00e0-fca8-0417 100 6145 2865 11111100 GigabitEthernet1/0/2 100 00e0

13、-fca8-0417 100 6146 2865 11111100 GigabitEthernet1/0/3 100 00e0-fca8-0417 32768 6147 2865 11110000通过以上显示信息可以看到,S9300-A的系统优先级为100,高于S9300-B的系统优先级。Eth-Trunk的成员接口中Gigabitethernet 1/0/1、Gigabitethernet 1/0/2成为活动接口,处于“Selected”状态,接口Gigabitethernet 1/0/3处于“Unselect”状态,同时实现M条链路的负载分担和N条链路的冗余备份功能。配置文件·

14、S9300-A的配置文件# sysname S9300-A# lacp priority 100#interface Eth-Trunk1 mode lacp-static max active-linknumber 2#interface GigabitEthernet1/0/1 eth-trunk 1 lacp priority 100#interface GigabitEthernet1/0/2 eth-trunk 1 lacp priority 100#interface GigabitEthernet1/0/3 eth-trunk 1#return· S9300-B的配置文

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论