华为链路捆绑手动方式配置方法

资讯 2024-07-12 阅读:37 评论:0
美化布局示例

欧易(OKX)最新版本

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

APP下载   全球官网 大陆官网

币安(Binance)最新版本

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

APP下载   官网地址

火币HTX最新版本

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

APP下载   官网地址

华为链路捆绑手动方式配置方法

一:实验拓扑



华为链路捆绑手动方式配置方法!济南磐龙维修

Way to bind manually! Tiennan Rock Maintenance



二:实验要求

II: Experimental requirements

1:要求pc1和属于vlan 10
中,pc24属于vlan 20
中。

: /pc1 and belonging to 10
, (span>)(span>) and (span>(span>)(span>)2 and /span>4[span>>[span][span>[span][span>[span][span][span]20.

2:要求两层交换机实现捆绑。

2 : Two-storey exchanges are required to bind.

3:要求两层交换机与三次路由器实现捆绑。

3: Two-storey switches are required to be tied to three routers.

4:要求三次交换机之间实现捆绑。

4 : Three exchanges are required to bind.

5:要求利用单臂路由及时实现跨vlan之间的通信。

5 : Requires the use of a single-arm route to achieve timely communication across vlan.

6:要求全网互通。

6 : requires full Internet access.

三:实验原理

III: Experimental principles

1:在交换机下创建eth-trunk
口,再将默认端口加入到trunk口中

1 : Create eth-trunk
under the switchboard and add the default port to trunk

2:路由器是三层设备,是不能添加到两层交换机下创建的eth-trunk 口。要将路由器下的三层口转化为两层口。

2: Routers are three layers of equipment that cannot be added to the eth-trunk.

3:单臂路由是在eth-trunk 口下实现接口分开的。

3: The single-arm route is separated under the mouth of eth-trunk.

4:三层设备路由器之间的捆绑也要将其变为两层口,否则无法设置ip地址,即无法实现互通。

4 : Ties between three layers of equipment routers must also be converted into two layers, otherwise it will not be possible to set the address ip .

四:实验步骤

4: Experimental step

第一步-----Pcip分配

span style= "font-weight:800"

Pc1192.168.10.10 24
网关:192.168.10.1

Pc1: <192.168.10
24 gateway: 192.168.10.1 >/span

Pc2192.168.20.20 24
网关:192.168.20.1

Pc2: 192.168.20 24
gateway: 192.168.20.1

Pc3192.168.10.30 24
网关:192.168.10.1

Pc3 > 192.168.10.30
24
gateway: 192.168.10.1 >/span >

Pc4192.168.20.40 24
网关:192.168.20.1

Pc4: 192.168.20.40
24 gateway: 192.168.20.1


第二步-----实现交换机之间的捆绑

Sw1

[Huawei]vlanbat 10 20//新建vlan1020

[Huawaei]vlanbat 10 20///[span]vlan10 and20

[Huawei]inte0/0/1//进入接口

[Huawaei] inte0/0/1// enters the interface

[Huawei-Ethernet0/0/1]porthybrid pvid vlan 10//实现vlan10的分装

[Huawaei-Ethernet0/0/1] portybrid pvid vlan 10/// /span> to achieve vlan10

[Huawei-Ethernet0/0/1]porthybrid untagged vlan 10//vlan10的成员通过需要不带标签

[Huawei-Ethernet0/0/1] porthybrid unaggged vlan 10/vlan10 members need to remove labels

[Huawei]inte0/0/2//进入接口

[Huawaei] inte0/0/2// enter the interface

[Huawei-Ethernet0/0/2]porthybrid pvid vlan 20//进行vlan20的分装

[Huawaei-Ethernet 0/0/2] porthybrid pvid vlan 20////[span]vlan20[span]

[Huawei-Ethernet0/0/2]porthybrid untagged vlan 20//vlan20成员通过需要脱掉标签

[Huawei-Ethernet 0/0/2] porthybrid unaggged vlan 20//vlan20 members need to remove the label

注:这里是使用hybrid技术实现接口的分配,与
port link-type access / port defort

Note: This is the distribution of interfaces using hybrid techniques and and
port link-type access/port deform

Vlan 20的命令意义是一样的

Vlan 20 has the same command meaning as .

[Huawei]intEth-Trunk 1//创建Eth-Trunk链路聚合端口.且名为1

[Huawei] inth-Trunk 1/ / to create Eth-Trunk . > >

[Huawei]inte0/0/10//进入接口

[Huawaei] inte0/0/10// enter the interface

[Huawei-Ethernet0/0/10]eth-trunk1//将默认接口加入到创建的链路聚合端口中

[Huawaei-Ethernet0/10]eth-trunk1// add the default interface to the created link polymer port

[Huawei]inte0/0/11

[Huawei-Ethernet0/0/10]eth-trunk1

[Huawei]inte0/0/12

[Huawei-Ethernet0/0/10]eth-trunk1

[Huawei]dis eth-trunk//查看Eth-Trunk链路聚合端口的成员下图已经显示的三个端口都已经加入到聚合端口了.并且接口都是开启的。

[Huawaei] dis Eth-trunk/// /span> views the members of connection polymer port- . all three ports have been added to the polymer port . and interfaces are open.



华为链路捆绑手动方式配置方法!济南磐龙维修

 China ́s way of configuring the chain!



[Huawei]intEth-Trunk 1//进入到Eth-Trunk链路聚合端口

[Huawei] intEth-Trunk 1////[span> Eth-Trunk links integration port

[Huawei-Eth-Trunk1]porthybrid tagged vlan 10 20//Eth-Trunk链路聚合端口设为中继口,允许vlan1020之间的成员通过,并且是带标签的。---在我们使用]port link-type trunk/ port trunk allow-pass vlan 10 200的命令意义是一样的。

Eth-Trunk > > > > > >

Sw2

[Huawei]vlanbat 10 20

[Huawei]int e0/0/3

[Huawei-Ethernet0/0/3]portlink-type access

[Huawei-Ethernet0/0/3]portdefault vlan 10

[Huawei-Ethernet0/0/3]int e0/0/4

[Huawei-Ethernet0/0/4]portlink-type access

[Huawei-Ethernet0/0/4]portdefault vlan 20


[Huawei]inte0/0/10

[Huawei-Ethernet0/0/10]eth-trunk1

[Huawei]inte0/0/11

[Huawei-Ethernet0/0/10]eth-trunk1

[Huawei]inte0/0/12

[Huawei-Ethernet0/0/10]eth-trunk1

[Huawei]dis eth-trunk



华为链路捆绑手动方式配置方法!济南磐龙维修



[Huawei]intEth-Trunk 1

[Huawei-Eth-Trunk1]portlink-type trunk

[Huawei-Eth-Trunk1]porttrunk allow-pass vlan 10 20

:我了实现vlan之间成员的互通.在数据包转发的时候,我们可以知道交换机是要接受两个vlan之间成员发送的数据包,为了保证数据包的正常性转发,因此这里要用中继口。允许vlan1020之间的成员通过,且需要带标签。

note


第二步实现交换机与路由器之间的捆绑.并用单臂路由实现跨vlan通信。

Second step > to achieve the binding of exchanges and routers > and to achieve communications across /spanspan style= "font-weight:800" > >.

Sw1

[Huawei]intEth-Trunk 2

[Huawei]int e0/0/3

[Huawei-Ethernet0/0/3]eth-trunk2

[Huawei]int e0/0/4

[Huawei-Ethernet0/0/3]eth-trunk2

[Huawei]diseth-trunk 2



华为链路捆绑手动方式配置方法!济南磐龙维修

 China ́s way of configuring the chain. Jinan Rock Maintenance


[Huawei]int Eth-Trunk 2

[Huawei-Eth-Trunk2]portlink-type trunk

[Huawei-Eth-Trunk2]port trunkallow-pass vlan 10 20
//这里是交换机的上心口,因为要实现全网互通,那么数据包就要经过这个上心口通过进入到交换机只见去,那么在这里vlan1020gyAu你发送数据包就要通过这里,因此需要变为中继口

[Huawaei-Eth-Trunk2] Port Tunklow-pass vlan 10 20
ofpan style="font-weight=800" and

R1

[Huawei]intEth-Trunk 2

[Huawei]int g2/0/0

[Huawei-GigabitEthernet2/0/0]eth-trunk2

Error: The layer-3 interface can not add intoa layer-2 trunk.done.

//这里产生了错误,因为路由器是三层设备,而交换机是两层设备,两者是不能捆绑在同一个eth-trunk 2链路聚合端口的,因此要将路由器切换才两层。

// /span style= "font-weight:800" > > >, as routers are three layers of equipment and switches are two layers of equipment that cannot be tied to the same eth-trunk 2 , so the routers need to be cut to two layers.

[Huawei-Eth-Trunk2]undoportswitch//由三层切换到两层

[Huawaei-Eth-Trunk2]

[Huawei]int g2/0/0

[Huawei-GigabitEthernet2/0/0]eth-trunk2

[Huawei]int g0/0/0

[Huawei-GigabitEthernet2/0/0]eth-trunk2

[Huawei]diseth-trunk 2



华为链路捆绑手动方式配置方法!济南磐龙维修

 China ́s way of configuring the chain. Jinan Rock Maintenance


vlan通信验证

vlan communication authentication

R1



华为链路捆绑手动方式配置方法!济南磐龙维修

Was a manual configuring method for chain binding! Tünan Rock Maintenance



华为链路捆绑手动方式配置方法!济南磐龙维修

Way for the binding manual configuration of chains! Tiennan Rock Maintenance



上图实现了跨vlan通信,利用了单臂路由技术。

The map above achieves cross vlan , using one-arm route technology.

第四步实现三层路由之间的捆绑,并且实现全网互通。

Step 4 > >. > > > > > > >.

R1

[Huawei]intEth-Trunk 3//创建Eth-Trunk链路聚合端口3

[Huawei] intEth-Trunk 3////span> Creates Eth-Trunk Aggregation Port

[Huawei-Eth-Trunk3]undoportswitch//切换到两层

[Huawaei-Eth-Trunk3]

[Huawei-Eth-Trunk3]ipadd 12.0.0.1 24//这只Eth-Trunk链路聚合端口的ip

[Huawaei-Eth-Trunk3] ipadd 12.0.0.1 24// Eth-Trunk links at the convergence portip

[Huawei]int g0/0/1

[Huawei-GigabitEthernet0/0/1]eth-trunk3

[Huawei-GigabitEthernet0/0/1]intg0/0/2

[Huawei-GigabitEthernet0/0/2]eth-trunk3

[Huawei]diseth-trunk 3



华为链路捆绑手动方式配置方法!济南磐龙维修


上图我们已经看到两个端口进入到Eth-Trunk链路聚合端口

We've seen two ports entering the confluence port at Eth-Trunk .

R2

[Huawei]intEth-Trunk 3

[Huawei-Eth-Trunk3]undoportswitch

[Huawei-Eth-Trunk3]ipadd 12.0.0.2 24//设置R2Eth-Trunk链路聚合端口的ip

[Huawaei-Eth-Trunk3] ipad 12.0.0.2 24// connectors /span > /span > >.

[Huawei]intg0/0/1

[Huawei-GigabitEthernet0/0/1]eth-trunk3

[Huawei-GigabitEthernet0/0/1]intg0/0/2

[Huawei-GigabitEthernet0/0/2]eth-trunk3

[Huawei]diseth-trunk 3


华为链路捆绑手动方式配置方法!济南磐龙维修


结果

Results


华为链路捆绑手动方式配置方法!济南磐龙维修


实现互通性

achieve interoperability

R2

[Huawei]ip route-static192.168.10.0 24 12.0.0.1//

[Huawei]ip route-static 192.168.20.024 12.0.0.1//

注:这两条静态路由是实现全网互通的,在路由器的路由表中是没有pc机的ip路径的,数据包到达路由器的时候发现身上没有它的目标地址,就会把数据包丢掉。

Note: These two static paths are meant to achieve full Internet connectivity, and there are no paths on the router's router's router's router's pc这条路径是让pc机上发送的数据包可以到达路由器上并且数据包可以返回。

> pc the data package sent on the plane can reach the router and the data package can be returned.

实验验证

/span'

R1


华为链路捆绑手动方式配置方法!济南磐龙维修

Way to bind manually! Tiennan Rock Maintenance

R2


华为链路捆绑手动方式配置方法!济南磐龙维修

Was a manual way to bind the chain! Tiennan Rock Maintenance

实验成功

Experiment successful

总结:

Summary:

从上面可以看出,链路聚合具有如下一些显着的优点:

As can be seen from the above, the following are some of the salient advantages of chain convergence:

1.提高链路可用性
链路聚合中,成员互相动态备份。当某一链路中断时,其它成员能够迅速接替其工作。与生成树协议不同,链路聚合启用备份的过程对聚合之外是不可见的,而且启用备份过程只在聚合链路内,与其它链路无关,切换可在数毫秒内完成。

1. > > > > <800; text-deference:underline' > to improve the availability of links
links, with members actively back-up each other > when a link breaks down. Unlike tree-generation agreements, the process of using the chain to enable backups is not visible outside the context of the convergence, and the use of the back-up process is only within polymer links and is not related to other links and can be done within milliseconds.

链路的捆绑其实就是另一种形式的备份冗余.和浮动路由相似,在Eth-Trunk链路聚合端口中都会由两个以上的接口,即会由两条以上的路径。在Eth-Trunk链路聚合端口成为中继口时,就保证了vlan成员之间的通信,那么在这个时候,就是一种备份冗余,一条接口---路径出现故障时就会在另一条路径中走。
2.
增加链路容量

> is actually another form of back-up redundancy . and float > > ; > > ; > > > ; > ; > > > > >

链路聚合技术的另一个明显的优点是为用户提供一种经济的提高链路传输率的方法。通过捆绑多条物理链路,用户不必升级现有设备就能获得更大带宽的数据链路,其容量等于各物理链路容量之和。聚合模块按照一定算法将业务流量分配给不同的成员,实现链路级的负载分担功能。现企业联通,移动,电信都是通过这种方式将多个接口放进Eth-Trunk链路聚合端口之中,从而增加其带宽

is another obvious advantage of connection techniques that provide users with an economy-wide method to increase the transmission rate of the links . By binding multiple physical links, users do not have to upgrade existing devices to obtain a larger bandwidth of data links, the capacity of which is equal to the capacity of the physical links. The polymerization module distributes business flows to different members according to a certain algorithm and achieves load-sharing functions at the chain level. >, moving in this way telecommunications put multiple interfaces into 美化布局示例

欧易(OKX)最新版本

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

APP下载   全球官网 大陆官网

币安(Binance)最新版本

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

APP下载   官网地址

火币HTX最新版本

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

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

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

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

分享:

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

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

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
热门文章
  • 0.00003374个比特币等于多少人民币/美金

    0.00003374个比特币等于多少人民币/美金
    0.00003374比特币等于多少人民币?根据比特币对人民币的最新汇率,0.00003374比特币等于2.2826 1222美元/16.5261124728人民币。比特币(BTC)美元(USDT)人民币(CNY)0.00003374克洛克-0/22216.5261124728比特币对人民币的最新汇率为:489807.72 CNY(1比特币=489807.72人民币)(1美元=7.24人民币)(0.00003374USDT=0.0002442776 CNY)。汇率更新于2024...
  • 12年怎么购买比特币?比特币投资,轻松掌控

    12年怎么购买比特币?比特币投资,轻松掌控
    12年怎么购买比特币?买卖比特币可以通过以下交易所进行购买,分别是:欧易官网平台、ZG交易所、艾戴克斯交易所、C2CX交易软件、BaseFEX交易APP、波网交易平台、安银交易所、BitMart交易软件、紫牛币交所交易APP和澳网(AOMEX)交易平台等等十大平台下载,高效安全的数字货币交易平台。How do you buy bitcoins in 12 years? Bitcoins can be purchased through ten major platforms...
  • 134 USD toBTC Calculator -

    134                            USD                        toBTC                        Calculator -
    For the week (7 days) Date Day 134 USD to BTC Changes Changes % June...
  • 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)汇率更新时...
  • 0.00015693个比特币等于多少人民币/美金

    0.00015693个比特币等于多少人民币/美金
    0.000 15693比特币等于多少人民币?根据比特币对人民币的最新汇率,0.000 15693比特币等于10.6 1678529美元/76.86554996人民币。比特币(BTC)【比特币价格翻倍】美元(USDT)人民币(CNY)0.000/克洛克-0/5693【数字货币矿机】10.6 167852976.8655254996比特币对人民币的最新汇率为:489,807.72 CNY(1比特币= 489,807.72人民币)(1美元=7.24人民币)(0.00015693 U...
标签列表