资源预览内容
第1页 / 共17页
第2页 / 共17页
第3页 / 共17页
第4页 / 共17页
第5页 / 共17页
第6页 / 共17页
第7页 / 共17页
第8页 / 共17页
第9页 / 共17页
第10页 / 共17页
亲,该文档总共17页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
在聚合组中,只有端口属性类配置(请参见“1.1 4.配置分类”)和第二类 配置(请参见“1.1 4.配置分类”)都与参考端口(请参见1.1 5.参考 端口”)相同的成员端口才可以成为选中端口。因此,用户需通过配置使各成员 端口的上述配置与参考端口保持一致,而除此以外的其它配置则只需在聚合接口 上进行,不必再在成员端口上重复配置。1.8.1二层静态聚合配置举例1. 组网需求 Device A与Device B通过各自的二层以太网端口 GigabitEthernet 1/0/1GigabitEthernet 1/0/3 相互连接。Device B上分别配置二层静态链路聚合组,并使两端的VLAN 10和VLAN 20之间分别互通。源MAC地址和目的MAC地址进行聚合负载分担的方式,来实现数据流量在各成员端口间的负载分担。2. 组网图VLAN 10GE1.W图1-5二层静态聚合配置组网图D&vlicc AGEi.naLink aggregation 1GE1O/1GE1帕哽BAGG1BAGG1r *LAM 空jk.fc-GE1OSrr )jr-GE1O5rJLAM 1(】IGEIiW3. 配置步骤(1)配置 Device A# 创建 VLAN 10,并将端口 GigabitEthernet 1/0/4 加入到该 VLAN 中。 system-viewDeviceA vlan 10DeviceA-vlan10 port gigabitethernet 1/0/4DeviceA-vlan10 quit# 创建 VLAN 20,并将端口 GigabitEthernet 1/0/5 加入到该 VLAN 中。 DeviceA vlan 20DeviceA-vlan20 port gigabitethernet 1/0/5DeviceA-vlan20 quit# 创建二层聚合接口1。DeviceA interface bridge-aggregation 1DeviceA-Bridge-Aggregation1 quit# 分别将端口 GigabitEthernet 1/0/1 至 GigabitEthernet 1/0/3 加入到聚合组 1中。DeviceA interface gigabitethernet 1/0/1DeviceA-GigabitEthernet 1/0/1 port link-aggregation group 1DeviceA-GigabitEthernet 1/0/1 quitDeviceA interface gigabitethernet 1/0/2DeviceA-GigabitEthernet 1/0/2 port link-aggregation group 1DeviceA-GigabitEthernet 1/0/2 quitDeviceA interface gigabitethernet 1/0/3DeviceA-GigabitEthernet 1/0/3 port link-aggregation group 1DeviceA-GigabitEthernet 1/0/3 quit#配置二层聚合接口 1为Trunk端口,并允许VLAN 10和20的报文通过。DeviceA interface bridge-aggregation 1 DeviceA-Bridge-Aggregation1 port link-type trunk DeviceA-Bridge-Aggregation1 port trunk permit vlan 10 20Please wait. Done.Configuring GigabitEthernet 1/0/1. Done.Configuring GigabitEthernet 1/0/2. Done.Configuring GigabitEthernet 1/0/3. Done. DeviceA-Bridge-Aggregation1 quit#配置全局按照报文的源MAC地址和目的MAC地址进行聚合负载分担。DeviceA link-aggregation load-sharing mode source-mac destination-mac(2) 配置 Device BDevice B的配置与Device A相似,配置过程略。(3) 检验配置效果#查看Device A上所有聚合组的摘要信息。DeviceA display link-aggregation summaryAggregation Interface Type:BAGG - Bridge-Aggregation, RAGG - Route-Aggregation Aggregation Mode: S - Static, D - DynamicLoadsharing Type: Shar - Loadsharing, NonS - Non-LoadsharingActor System ID: 0x8000, 000f-e2ff-0001AGGIDAGGPartnerSelect UnselectShareInterface ModeTypePorts PortsBAGG1 S none3 0 Shar以上信息表明,聚合组1为负载分担类型的二层静态聚合组,包含有三个选中端 口。#查看Device A上全局采用的聚合负载分担类型。DeviceA display link-aggregation load-sharing modeLink-Aggregation Load-Sharing Mode:destination-mac address, source-mac address以上信息表明,所有聚合组都按照报文的源MAC地址和目的MAC地址进行聚合负 载分担。1.8.2二层动态聚合配置举例1. 组网需求 Device A与Device B通过各自的二层以太网端口 GigabitEthernet 1/0/1GigabitEthernet 1/0/3 相互连接。 在Device A和Device B上分别配置二层动态链路聚合组,并使 两端的VLAN 10和VLAN 20之间分别互通。 通过按照报文的源MAC地址和目的MAC地址进行聚合负载分担的 方式,来实现数据流量在各成员端口间的负载分担。2. 组网图图1-6 二层动态聚合配置组网图GEl.OWGEI/O.Derviw AGzi.mGEIPffiLink segregation 1Device IBG曰叱BAGG1BAGG1 1 1r *1 AM 21* =MlGEISSI AN 2(GEIJa.S3.配置步骤(1) 配置 Device A# 创建 VLAN 10,并将端口 GigabitEthernet 1/0/4 加入到该 VLAN 中。 systemviewDeviceA vlan 10DeviceAvlan10 port gigabitethernet 1/0/4DeviceAvlan10 quit# 创建 VLAN 20,并将端口 GigabitEthernet 1/0/5 加入到该 VLAN 中。 DeviceA vlan 20DeviceAvlan20 port gigabitethernet 1/0/5DeviceAvlan20 quit#创建二层聚合接口 1,并配置该接口为动态聚合模式。DeviceA interface bridgeaggregation 1DeviceABridgeAggregation1 link-aggregation mode dynamic# 分别将端口 GigabitEthernet 1/0/1 至 GigabitEthernet 1/0/3 加入到聚合组 1中。DeviceA-GigabitEthernet 1/0/1 port link-aggregation group 1 DeviceA-GigabitEthernet 1/0/1 quitDeviceA interface gigabitethernet 1/0/2DeviceA-GigabitEthernet 1/0/2 port link-aggregation group 1 DeviceA-GigabitEthernet 1/0/2 quitDeviceA interface gigabitethernet 1/0/3DeviceA-GigabitEthernet 1/0/3 port link-aggregation group 1 DeviceA-GigabitEthernet 1/0/3 quit#配置二层聚合接口 1为Trunk端口,并允许VLAN 10和20的报文通过。 DeviceA interface bridge-aggregation 1DeviceA-Bridge-Aggregation1 port link-type trunk DeviceA-Bridge-Aggregation1 port trunk permit vlan 10 20Please wait. Done.Configuring GigabitEthernet 1/0/1. Done.Configuring GigabitEthernet 1/0/2. Done.Configuring GigabitEthernet 1/0/3. Done. DeviceA-Bridge-Aggregation1 quit#配置全局按照报文的源MAC地址和目的MAC地址进行聚合负载分担。DeviceA link-aggregation load-sharing mode source-mac destination-mac(2) 配置 Device BDevice B的配置与Device A相似,配置过程略。(3) 检验配置效果#查看Device A上所有聚合组的摘要信息。Aggregation Interface Type:BAGG - Bridge-Aggregation, RAGG - Route-AggregationAggregation Mode: S - Static, D - DynamicLoadsharing Type: Shar - Loadsharing, NonS - Non-LoadsharingActor System ID: 0x8000, 000
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号