端口链路聚合(手动模式)

资讯 2024-07-03 阅读:56 评论:0
链路聚合是指将两个或多个数据通道结合成一个信道,该信道以一个有更高带宽的逻辑链路的形势出现,一般用来连接一个或多个带宽需求打的设备,以增加设备间的带宽,并且在其中一条链路出现故障时,可以快速的将流量转移到其他链路,这种切换是毫秒级之间的,远...
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

链路聚合是指将两个或多个数据通道结合成一个信道,该信道以一个有更高带宽的逻辑链路的形势出现,一般用来连接一个或多个带宽需求打的设备,以增加设备间的带宽,并且在其中一条链路出现故障时,可以快速的将流量转移到其他链路,这种切换是毫秒级之间的,远远快于STP切换。

Link-to-link syndication refers to the combination of two or more data channels into a channel that emerges in a situation of a logical link with a higher bandwidth, which is usually used to connect one or more bandwidth-required equipment to increase bandwidth between equipments and, in the event of a malfunction in one of these links, can quickly transfer the flow to other links, which is between milliseconds and much faster than the STP switch.

  • 华为S5700 S7710 S7706
  • windows7 10 11windows
  • SecureCRTPortable、Xshell 77
  1. 1

    端口链路聚合条件

    port link convergence conditions

    1. 网络设备支持端口链路聚合。

    1. & nbsp; network equipment to support port chain convergence.

    2. 使用Eth-trunk端口实现端口链路聚合配置。

    2. & nbsp; use of the Eth-trunk port to achieve the port chain polymer configuration.

    3. 将端口加入Eth-trunk二层端口时,二层的成员端口也必须是二层端口,三层Eth-trunk端口时,三层的成员端口也必须是三层端口。

      When adding the port to the Eth-trunk second level port, the second level member port must also be the second level port and the third level member port must also be the third level port.

    4. 一个Eth-trunk端口最多支持8个成员端口加入,加入Eth-trunk的端口必须是默认的端口类型。

    4. & nbsp; a Eth-trunk port supports the addition of up to eight member ports and the addition of the Eth-trunk port must be the default port type.

    5. 成员端口必须一直,如:一个为吉比特端口(GE口),另一个也必须为吉比特端口(GE口)

    5. & nbsp; member ports must always, for example, one for the Gibit port (GE port) and the other for the Gibit port (GE port)

    6. 成员端口速率必须相同,如:都100Mbit/S或都1000Mbit/S

      members must have the same port rate, e.g. 100 Mbit/S or 1000 Mbit/S

     

  2. 2

    端口聚合模式

    Port Aggregation Mode

    手动模式

    Manual Mode

    手动模式下端口的Eth-trunk的建立都为手动建立,成员也均为手动加入Eth-trunk,没有链路聚合控制协议的参与,当两个直连设备间提供一个较大的链路带宽时而设备不支持端口两路聚合控制协议时就可以采用手动模式。手动模式下可以实现网络带宽的增加和提高可靠性,并且负责均衡。手动模式的端口聚合可以将多个成员端口聚合成一个逻辑链路来提高带宽。如果一条链路出现故障时,会自动切换到另一条链路来保障业务的正常运行

    The creation of Eth-trunk at the lower end of the manual mode is built manually, with members joining Eth-trunk manually, without the involvement of a chain polymer control agreement, and a manual mode can be used when a larger chain bandwidth is provided between two straight-link devices and the equipment does not support the port-to-port polymer control protocol. The manual mode increases the bandwidth and improves reliability, and is responsible for balancing. The manual mode of port aggregations can bring multiple members'ports together into a logical link to increase bandwidth. If a link breaks, it automatically transfers to another link to guarantee normal operations.

  3. 3

    配置手动模式端口链路聚合

    Configure Manual Mode Port Link Convergence

    如下图,将交换机核心A和核心B的GE0/0/23和GE0/0/24加入手动端口链路聚合。并各使用两台PC进行验证测试。

    The following graph will add GE0/0/23 and GE0/0/24 of the switchboard core A and core B to the manual port links. Two PCs each will be used for validation tests.

    端口链路聚合(手动模式)
  4. 4

    配置代码

    Configure Code

     

    在交换机核心A上创建Eth-trunk端口,并将GE0/0/23、GE0/0/24成员端口加入,交换机核心B配置相同。

    Create the Eth-trunk port on switch core A and add the GE0/0/23 and GEO0/0/24 member ports, with the same switch core B configuration.

    <Huawei>system-view                          ---------------进入系统配置视图

    & lt; Huawai> system-view & nbsp;                                                   & ;   -- - access to system configuration view

    Enter system view, return user view with Ctrl+Z.

    [Huawei]vlan batch 100 200                  -------------创建Vlan 100 200

    [Huawai] vlan batt 100 200 nbsp; & nbsp;                                       - creation of Vlan 100 200

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

    [Huawei]interface Eth-Trunk 1              ------------创建Eth-Trunk端口

    [Huawaei] interface Eth-Trunk 1                              - creating the Eth-Trunk port

    [Huawei-Eth-Trunk1]trunkport GigabitEthernet 0/0/23 to 0/0/24  加入成员

    [Huawei-Eth-Trunk1] Trunkport Gigabit Ethernet 0/0/23 to 0/0/24  & nbsp; membership

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

    [Huawei-Eth-Trunk1]port link-type trunk   --------配置Eth-Trunk端口类型

    [Huawei-Eth-Trunk1] port link-type trunk & nbsp; & nbsp; - Configure Eth-Trunk Port Type

    [Huawei-Eth-Trunk1]port trunk allow-pass vlan 100 200  ---把Vlan100 200加入Eth-Trunk端口

    [Huawei-Eth-Trunk1] port trunk allow-pass vlan 100 200 & nbsp; & nbsp;-- add Vlan 100,200 to the Eth-Trunk port

    [Huawei-Eth-Trunk1]undo port trunk pvid vlan    ------禁止Vlan1数据转发

    [Huawei-Eth-Trunk1] undo port trunk pvid vlan & nbsp; & nbsp; & nbsp; -- ban Vlan1 data transmission

    [Huawei-Eth-Trunk1]load-balance src-dst-mac     ------配置负载均衡方式

    [Huawai-Eth-Trunk1]load-balance src-dst-mac          - configuration of load balance

    [Huawei-Eth-Trunk1]quit

    [Huawei]interface GigabitEthernet 0/0/1           -----配置GE0/0/1口

    [Huawai] interface GigabitEthernet 0/0/1                        - configuration of GEO0/0/1

    [Huawei-GigabitEthernet0/0/1]port link-type access   -----配置端口类型

    [Huawai-GigabitEthernet0/0/1] port link-type access & nbsp; & nbsp;-- configuration port type

    [Huawei-GigabitEthernet0/0/1]port default vlan 100   ----加入vlan100

    [Huawai-GigabitEthernet0/0/1]port default vlan 100      - add vlan100

    [Huawei-GigabitEthernet0/0/1]quit                        ----退出当前视图

    [Huowai-GigabitEthernet0/0/1] quit                                      & &   &     & Quit the current view.

    [Huawei]interface GigabitEthernet 0/0/2           -----配置GE0/0/2口

    [Huawai] interface GigabitEthernet 0/0/2                        - configuration of GEO0/0/2

    [Huawei-GigabitEthernet0/0/2]port link-type access -----配置端口类型

    [Huawai-GigabitEthernet0/0/2] port link-type access - configuration port type

    [Huawei-GigabitEthernet0/0/2]port default vlan 200  ----加入vlan100

    [Huawai-GigabitEthernet0/0/2]port default vlan 200  & nbsp; - add vlan100

    [Huawei-GigabitEthernet0/0/2]quit

    [Huawei]

  5. 5

    配置主要相关实例如下

    Configure key relevant examples:

    端口链路聚合(手动模式)
  6. 6

    查看交换机核心A和核心B配置结果

    View switch core A and core B configurations

    输入dispaly Eth-trunk 1命令查看端口聚合状态

    Enter the dispaly Eth-trunk 1 command to view port convergence status

    端口链路聚合(手动模式)
  7. 7

    实验测试

    Experimental tests

    在核心A和核心B下的PC进行测试(测试前提为同一Vlan下的PC),我们进入PC1下使用ping命令进行链路测试

    The PCs under Core A and Core B are tested (based on the PC under the same Vlan), and we enter the PC1 for a link test using a pin command.

    端口链路聚合(手动模式)
  8. 8

     这时我们将核心A和核心B任意一台的GE0/0/23或者GE0/0/24端口关掉,模拟现实中当设备其中一条链路出现故障时,业务是否会自动切换到另一条链路

    & nbsp; at this point we turn off any GE0/0/23 or GE0/0/24 port of Nucleus A and Nucleus B to simulate whether the business automatically switch to another link when one of the links of the equipment fails

    我们在核心A上将GE0/0/23端口关闭

    We shut down the GE0/0/23 port on Core A.

    [Huawei]interface GigabitEthernet 0/0/23                         ----------进入GE0/0/23端口

    [Huawai] interface  GigabitEthernet 0/0/23                                                &   &   &   -- - access to the end of GE0/0/23

    [Huawei-GigabitEthernet0/0/23]shutdown                        -------------------------关闭端口

    [Huowai-GigabitEthernet0/0/23] Shutdown & nbsp;                                                 &---

  9. 9

    关闭后我们输入display Eth-trunk查看端口聚合状态

    When it closes, we enter Display Eth-trunk to see the port's convergence state

    端口链路聚合(手动模式)
  10. 10

    此时端口GE0/0/23已关闭,再次使用ping命令查看链路连通性,测试结果显示链路没有因为GE0/0/23端口的关闭而业务断开

    At this time, the port GE0/0/23 was closed and again the ping command was used to view the connection, and the test showed that the link was not broken because of the closure of the GE0/0/23 port

    端口链路聚合(手动模式)
    END
  • 成员端口必须一直,如:一个为吉比特端口(GE口),另一个也必须为吉比特端口(GE口)
  • 成员端口速率必须相同,如:都100Mbit/S或都1000Mbit/S
经验内容仅供参考,如果您需解决具体问题(尤其法律、医学等领域),建议您详细咨询相关领域专业人士。
作者声明:本篇经验系本人依照真实经历原创,未经许可,谢绝转载。
展开阅读全部
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址
文字格式和图片示例

注册有任何问题请添加 微信:MVIP619 拉你进入群

弹窗与图片大小一致 文章转载注明

分享:

扫一扫在手机阅读、分享本文

发表评论
平台列表
美化布局示例

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
热门文章
  • 支付領域投下震撼彈!美國數位銀行Chime疑與GuardPay 神盾支付合作!

    支付領域投下震撼彈!美國數位銀行Chime疑與GuardPay 神盾支付合作!
    2020年,新冠肺炎(COVID-19)疫情加速數位貨幣進展。例如:2019年4月,國際清算銀行(BIS)的調查顯示,在全球66家中央銀行中,沒有一家計畫發行跨境支付的數位貨幣。惟到了2020年10月,BIS支付委員會主席康利夫(Jon Cunliffe)指出,肺炎疫情拉高民眾對無現金支付的需求,迫使各國加快數位貨幣的研發進程日本與韓國於2021年進入數位貨幣試驗階段。直到2019年12月,美國聯邦準備理事會(Fed)都尚無數位貨幣規劃,惟到了2020年2月,Fed已開始研擬...
  • 区块链:交易系统开发指南

    区块链:交易系统开发指南
    播报编辑《区块链:交易系统开发指南》使用通俗易懂的语言,从技术的角度详细介绍了区块链交易系统应有的功能架构及工作原理,让人们能够张开双臂轻松地拥抱区块链技术,享受区块链交易系统带来的惊喜与成就感。《区块链:交易系统开发指南》共分 7 章,第 1~2 章主要介绍区块链及数字货币的基本概念,以及各种公有链的 API 接口;第3~5 章主要介绍区块链交易系统的分类架构及功能; 6 章主要介绍区块链交易系统面临的问题及演进方向;第 7 章对全书做了总结。《区块链:交易系统开发指南》是...
  • 5.14加密货币价格:BTC突破6.2万美元以太坊和山寨币反映市场情绪

    5.14加密货币价格:BTC突破6.2万美元以太坊和山寨币反映市场情绪
    今天,随着比特币(BTC)的价格突破62 000美元的门槛,顶级加密货币的价格反弹了。 此外,以铁大幅上涨,维持在2 900美元的水平。 此外,其他顶尖山硬币,如索拉纳(SOL )、XRP、卡达诺(ADA )也大幅上涨。    今天密钥加密货币价格 1. 比特币价格    在5月14日星期二撰写本文时,比特币价格上升了2.57%,达到62 487.50美元。 另一方面,在过去24小时内,交易量从65.26 % 急剧上升至277亿美元。 与此同时,加密货币的市场价值为...
  • OKEx回应用户质疑:合约交易非期货 平台无机器人

    OKEx回应用户质疑:合约交易非期货 平台无机器人
       热点点 自选股份 数据中心 数据中心 研究和资料中心 资金流动 模拟交易 客户客户 具体来说,OKEx回答用户的问题:合同交易不是期货,平台不是机器人。 金融同步化,3月22日。    昨天下午,OKEx公司就维护先前用户线下的权利问题对同步财务公司作出了回应,指出OKEx公司提供的合同交易不是期货交易,在旗下的业务中没有正式的机器人。 同时,OKEX称,它不会以非法为由对任何投资损失索赔作出答复。 答复全文如下: 同步你的财务! 近日来,...
  • 0.00006694个比特币等于多少人民币/美金

    0.00006694个比特币等于多少人民币/美金
    0.00006694比特币等于多少人民币?根据比特币对人民币的最新汇率,0.00006694比特币等于4.53424784美元/32.5436 16人民币。比特币(BTC)美元(USDT)人民币(CNY)0.000066944.53424784【比特币密码】32.82795436 16比特币对人民币的最新汇率为:490408.64 CNY(1比特币=490408.64人民币)(1美元=7.24人民币)(0.00006694USDT=0.0004846456 CNY)汇率更新时...
标签列表