首页 > 其他分享 >华为交换机链路聚合Eth-trunk LACP配置实例

华为交换机链路聚合Eth-trunk LACP配置实例

时间:2023-06-29 13:33:19浏览次数:40  
标签:ACC trunk GigabitEthernet0 LACP A2 链路 Eth 42U

链路聚合基本概念:链路聚合是把两台设备之间的链路聚集在一块,当做一条逻辑链路使用。

链路聚合的作用:

1.增加链路带宽:多个链路聚合成一个带宽更大的链路,一般采用基于流的负载均衡模式;

2.增加链路可靠性:通过聚合组的多个链路,若一条物理链路出现问题,不会影响整个逻辑链路聚合组链路;

3.实现流量的负载均衡。把流量平均分到所有成员链路中去。使得每个成员链路最低限度的降低产生流量阻塞链路的风险

华为交换机配置Eth-Trunk端口(LACP模式)交换机配置示例:

[A2-42U-ACC]int Eth-Trunk 10

[A2-42U-ACC-Eth-Trunk10]mode lacp

[A2-42U-ACC-Eth-Trunk10]port link-type access

Info: This operation may take a few seconds. Please wait for a moment...done.

[A2-42U-ACC-Eth-Trunk10]port default vlan 88


[A2-42U-ACC]int g 0/0/23

[A2-42U-ACC-GigabitEthernet0/0/23]eth-trunk 10

Info: This operation may take a few seconds. Please wait a moment...done.

[A2-42U-ACC-GigabitEthernet0/0/23]dis th

#

interface GigabitEthernet0/0/23

eth-trunk 10

#

return


[A2-42U-ACC]int g 0/0/24

[A2-42U-ACC-GigabitEthernet0/0/24]eth-trunk 10                

Info: This operation may take a few seconds. Please wait a moment...done.

[A2-42U-ACC-GigabitEthernet0/0/24]dis th

#

interface GigabitEthernet0/0/24

eth-trunk 10

#

return


[A2-42U-ACC]dis int Eth-Trunk 10

Eth-Trunk10 current state : UP

Line protocol current state : UP

Description:

Switch Port, Link-type : access(configured),

PVID :   88, Hash arithmetic : According to SIP-XOR-DIP,Maximal BW: 2G, Current BW: 2G, The Maximum Frame Length is 9216

除此之外,在对端的设备上也要配置相同的聚合模式。

标签:ACC,trunk,GigabitEthernet0,LACP,A2,链路,Eth,42U
From: https://blog.51cto.com/lifulin/6581620

相关文章

  • ETH-TCP协议与常见问题分析
    SourcePort:源端口,标识发送方的应用进程DestinationPort:目的端口,标识接收方的应用进程SequenceNumber:序列号,用于标识从发送端发出的不同的TCP数据段的序号。数据段在网络中传输时,它们的顺序可能会发生变化;接收端依据此序列号,便可按照正确的顺序重组数据。保证数据传输的有序性......
  • MODBUS RTU转 EtherNet/IP 网关连接森兰变频器与欧姆龙系统通讯
     捷米特JM-EIP-RTU(Modbus转Ethernet/Ip)网关,用于将多个 MODBUS 从站设备接入 ETHERNET/IP 主站网络,实现 MODBUS 转 ETHERNET/IP 功能。配上 捷米特JM-EIP-RTU网关专用的 EDS 文件,实现 ETHERNET/IP 主 站对 MODBUS 从站设备的控制。   使用欧姆龙系统的......
  • nethttp和gin 路由
    net/http路由注册functest1(){http.HandleFunc("/",func(whttp.ResponseWriter,r*http.Request){fmt.Fprintf(w,"Helloworld!")})err:=http.ListenAndServe(":9001",nil)iferr!=nil{log.F......
  • promethues + grafana 监测ceph集群状态
    前最近在使用海量小文件压测ceph集群,想着搭建一个可视化的界面来监测集群状态,由于很久之前使用过promethues+grafana监测k8s集群状态,用来监测ceph集群应该问题不大,那么就开始吧!首先了解下promethues和grafana是什么?promethues:补充grafana:补充1、启用cephprometheu......
  • 1普罗米修斯搭建_prometheus
    搭建prometheus一.更新系统时间1.下载ntp工具yuminstall-yntp2.更新系统时间ntpdatepool.ntp.org二、安装prometheus1.在普罗米修斯宿主机创建映射文件mkdir-p/root/PrometheustouchPrometheus.yml在yml文件中添加以下配置:global:scrape_interval:15s......
  • 解决PetaLinux编译Microblaze的U-Boot的错误 “undefined reference to `eth_get_dev_
    错误PetaLinux编译Microblaze的U-Boot时,遇到下列错误,链接时提示找不到相关函数。|microblazeel-xilinx-linux-ld.bfd-Bstatic--no-dynamic-linker-Ttext0x80100000-ou-boot-Tu-boot.ldsarch/microblaze/cpu/start.o--start-grouparch/microblaze/cpu/built-......
  • Authentication to host '10.167.32.123' for user 'root' using method 'mysql_
    连接Mysql5.7以上的版本的数据库出现报错:C#连接远程连接mysql时,抛异常:Authenticationtohost'10.167.32.123'foruser'root'usingmethod'mysql_native_password'failedwithmessage:Readingfromthestreamhasfailed最终在Mysql官网的bug提交区发现已经有人也遇到......
  • mockito5.4.0单元测试(11) --do when家族的方法们:doReturn()|doThrow()| doAnswer()|
    mockito官方文档地址:https://www.javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html#do_family_methods_stubs//mock一个对象HashMapmockMap=mock(HashMap.class);  doCallRealMethod方法示例://当mock对象调用put和size方法时,都调用真实的方......
  • prometheus 使用 ipmi exporter 增加硬件级别监控
    prometheus监控硬件安装ipmitool并加载相应模块yuminstallipmitoolfreeipmi-ymodprobeipmi_msghandlermodprobeipmi_devintfmodprobeipmi_poweroffmodprobeipmi_simodprobeipmi_watchdog下载ipmi_exporter源码包wgethttps://github.com/soundcloud/ipmi_......
  • 使用DynamicMethod实现抽象方法
    本文介绍使用DynamicMethod实现抽象方法1.创建抽象类与抽象方法特别注意抽象类不要被其他类所包含,否则IL编译会出错publicabstractclassHelloWrold{publicabstractvoidSayHelloWorld();}2.定义子类varparentType=typeof(HelloWrold);varnewClass=Assem......