链路聚合实验

拓扑

image

配置

pc1
image
pc2
image
LSW1

[SW1]int Eth-Trunk 1//创建一个逻辑口
[SW1-Eth-Trunk1]mode manual load-balance //手工聚合模式(手动将成员接口加入),且开启负载均衡
[SW1-Eth-Trunk1]trunkport g0/0/2//将物理接口绑定到逻辑口上
[SW1-Eth-Trunk1]trunkport g0/0/3
[SW1-Eth-Trunk1]trunkport g0/0/4
[SW1]dis int Eth-Trunk 1//查看链路聚合具体参数
Eth-Trunk1 current state : UP
Line protocol current state : UP
Description:
Switch Port, PVID :    1, Hash arithmetic : According to SIP-XOR-DIP,Maximal BW:
 3G, Current BW: 3G, The Maximum Frame Length is 9216
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 4c1f-cc31-27bc
Current system time: 2024-02-07 22:52:03-08:00
    Input bandwidth utilization  :    0%
    Output bandwidth utilization :    0%
-----------------------------------------------------
PortName                      Status      Weight
-----------------------------------------------------
GigabitEthernet0/0/2          UP          1
GigabitEthernet0/0/3          UP          1
GigabitEthernet0/0/4          UP          1
-----------------------------------------------------
The Number of Ports in Trunk : 3
The Number of UP Ports in Trunk : 3
[SW1]dis stp brief //查看stp发现原先的三个端口已经变为一个Eth-Trunk1逻辑口
 MSTID  Port                        Role  STP State     Protection
   0    GigabitEthernet0/0/1        DESI  FORWARDING      NONE
   0    Eth-Trunk1                  DESI  FORWARDING      NONE

LSW2

[SW2]int Eth-Trunk 1
[SW2-Eth-Trunk1]mode manual load-balance 
[SW2-Eth-Trunk1]trunkport g0/0/1
[SW2-Eth-Trunk1]trunkport g0/0/2
[SW2-Eth-Trunk1]trunkport g0/0/3

通讯正常
image

posted @   cjssbd  阅读(14)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 使用C#创建一个MCP客户端
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列1:轻松3步本地部署deepseek,普通电脑可用
· 按钮权限的设计及实现
点击右上角即可分享
微信分享提示