• 华为设备链路聚合基础


    堆叠:交换机和路由器都可以和堆叠,也就是把若干个物理设备虚拟为一个设备,增加了可靠性,呈现方式一般都是以链路聚合的方式。
    基本配置参考
    实验要求
    实验拓扑
    交换机链路聚合拓扑参考
    交换机S1上配置
    [S1]int Eth-Trunk 1 先创建链路聚合组
    [S1]int e0/0/10 逐一加入要进入链路聚合组的端口
    [S1-Ethernet0/0/10]eth-trunk 1
    [S1-Ethernet0/0/10]int e0/0/15
    [S1-Ethernet0/0/15]eth-trunk 1
    [S1-Ethernet0/0/15]int e0/0/20
    [S1-Ethernet0/0/20]eth-trunk 1
    [S1-Ethernet0/0/20]

    交换机S2上配置
    [S2]int Eth-Trunk 1

    [S2]int e0/0/10
    [S2-Ethernet0/0/10]eth-trunk 1
    [S2-Ethernet0/0/10]int e0/0/15
    [S2-Ethernet0/0/15]eth-trunk 1
    [S2-Ethernet0/0/15]int e0/0/20
    [S2-Ethernet0/0/20]eth-trunk 1
    [S2-Ethernet0/0/20]
    查看链接聚合组情况[S1]dis int eth-trunk 1
    交换机1的链路聚合组
    [S2]dis int eth-trunk 1
    交换机2的链路聚合组
    小结:将拓扑中的三条链路进行了聚合,聚合后的名称为eth-trunk 1
    如何实现相同vlan跨交换机通信vlan10 和vlan10中的终端通信,vlan20和vlan20中的终端通信。
    解决方式,将eth-trunk 1配置为trunk链路
    [S1]vlan b 10 20
    Info: This operation may take a few seconds. Please wait for a moment…done.
    [S1]int e0/0/1
    [S1-Ethernet0/0/1]p l a
    [S1-Ethernet0/0/1]p d v 10
    [S1-Ethernet0/0/1]int e0/0/2
    [S1-Ethernet0/0/2]p l a
    [S1-Ethernet0/0/2]p d v 20
    [S1-Ethernet0/0/2]
    S1划分vlan添加端口
    [S2]vlan b 10 20
    Info: This operation may take a few seconds. Please wait for a moment…done.
    [S2]int e0/0/1
    [S2-Ethernet0/0/1]p l a
    [S2-Ethernet0/0/1]p d v 10
    [S2-Ethernet0/0/1]int e0/0/2
    [S2-Ethernet0/0/2]p l a
    [S2-Ethernet0/0/2]p d v 20
    [S2-Ethernet0/0/2]
    要实现相同vlan跨交换机通信
    给聚合链路组配置trunk模式
    [S1]int Eth-t
    [S1]int Eth-Trunk 1
    [S1-Eth-Trunk1]p l t
    [S1-Eth-Trunk1]p t a v 10 20
    [S1-Eth-Trunk1]

    [S2]int Eth-Trunk 1
    [S2-Eth-Trunk1]p l t
    [S2-Eth-Trunk1]p t a v 10 20
    [S2-Eth-Trunk1]
    测试网络的连通性问题
    链路通信实现正常
    测试链路可靠性

    把交换机S1上的e0/0/10口宕掉
    关闭e0/0/10端口链路依然能保持通信
    继续做可靠性验证,在S2上关闭e0/0/15口,如下图所示
    再关闭一条链路e0/0/15
    测试网络联通(两条路都断了,但通信没有中断)
    两条链路故障情况下依然可以通信

    小结:通过链路聚合能够实现网络通信的安全性和可靠性。

  • 相关阅读:
    (附源码)springboot校园兼职系统 毕业设计 463450
    Qt 序列化函数和反序列化函数
    WPF 控件专题 ProgressBar控件详解
    uniapp跳转H5外部链接
    mysql特殊语法insert into .. on duplicate key update ..使用详解
    【TWVRP】基于matlab鲸鱼算法求解带时间窗开放式车辆路径问题【含Matlab源码 1986期】
    Elasticsearch
    深度解读 Linux 内核级通用内存池 —— kmalloc 体系
    一文详解 JuiceFS 读性能:预读、预取、缓存、FUSE 和对象存储
    材料工程基础-重点
  • 原文地址:https://blog.csdn.net/sdszoe4922/article/details/139401554