以太网端口聚合+RSTP配置案例.docx

上传人:b****8 文档编号:28599926 上传时间:2023-07-19 格式:DOCX 页数:15 大小:177.29KB
下载 相关 举报
以太网端口聚合+RSTP配置案例.docx_第1页
第1页 / 共15页
以太网端口聚合+RSTP配置案例.docx_第2页
第2页 / 共15页
以太网端口聚合+RSTP配置案例.docx_第3页
第3页 / 共15页
以太网端口聚合+RSTP配置案例.docx_第4页
第4页 / 共15页
以太网端口聚合+RSTP配置案例.docx_第5页
第5页 / 共15页
点击查看更多>>
下载资源
资源描述

以太网端口聚合+RSTP配置案例.docx

《以太网端口聚合+RSTP配置案例.docx》由会员分享,可在线阅读,更多相关《以太网端口聚合+RSTP配置案例.docx(15页珍藏版)》请在冰豆网上搜索。

以太网端口聚合+RSTP配置案例.docx

以太网端口聚合+RSTP配置案例

以太网端口聚合+RSTP配置

拓扑图

功能要求:

通过在网络中配置RSTP功能,实现消除网络环路的目的,

当RSTP的根桥DOWN掉后,可以通过非根桥正常通信,达到根桥和备用根桥的切换,

某个链路DOWN后,可以通过将某个阻塞端口恢复为根端口或转发端口,以实现正常的数据通信,

当聚合链路中的某个链路DOWN掉后,不会影响正常的通信

配置过程:

S5700-LSW1

[Huawei]DISCU

#

sysnameHuawei

#

vlanbatch1020

#

stpmoderstp

#

clusterenable

ntdpenable

ndpenable

#

dropillegal-macalarm

#

diffservdomaindefault

#

drop-profiledefault

#

aaa

authentication-schemedefault

authorization-schemedefault

accounting-schemedefault

domaindefault

domaindefault_admin

local-useradminpasswordsimpleadmin

local-useradminservice-typehttp

#

interfaceVlanif1

#

interfaceMEth0/0/1

#

interfaceGigabitEthernet0/0/1

portlink-typetrunk

porttrunkallow-passvlan1020

#

interfaceGigabitEthernet0/0/2

portlink-typetrunk

porttrunkallow-passvlan1020

#

interfaceGigabitEthernet0/0/3

portlink-typeaccess

portdefaultvlan10

stpdisable

#

interfaceGigabitEthernet0/0/4

portlink-typeaccess

portdefaultvlan20

stpdisable

#

interfaceGigabitEthernet0/0/5

#

interfaceGigabitEthernet0/0/6

#

interfaceGigabitEthernet0/0/7

#

interfaceGigabitEthernet0/0/8

#

interfaceGigabitEthernet0/0/9

#

interfaceGigabitEthernet0/0/10

#

interfaceGigabitEthernet0/0/11

#

interfaceGigabitEthernet0/0/12

#

interfaceGigabitEthernet0/0/13

#

interfaceGigabitEthernet0/0/14

#

interfaceGigabitEthernet0/0/15

#

interfaceGigabitEthernet0/0/16

#

interfaceGigabitEthernet0/0/17

#

interfaceGigabitEthernet0/0/18

#

interfaceGigabitEthernet0/0/19

#

interfaceGigabitEthernet0/0/20

#

interfaceGigabitEthernet0/0/21

#

interfaceGigabitEthernet0/0/22

#

interfaceGigabitEthernet0/0/23

#

interfaceGigabitEthernet0/0/24

#

interfaceNULL0

#

user-interfacecon0

user-interfacevty04

#

Return

S5700-LSW2

#

sysnameHuawei

#

vlanbatch1020

#

stpmoderstp

stpinstance0rootprimary

#

clusterenable

ntdpenable

ndpenable

#

dropillegal-macalarm

#

diffservdomaindefault

#

drop-profiledefault

#

aaa

authentication-schemedefault

authorization-schemedefault

accounting-schemedefault

domaindefault

domaindefault_admin

local-useradminpasswordsimpleadmin

local-useradminservice-typehttp

#

interfaceVlanif1

#

interfaceVlanif10

ipaddress10.0.0.1255.255.255.0

#

interfaceVlanif20

ipaddress20.0.0.1255.255.255.0

#

interfaceMEth0/0/1

#

interfaceEth-Trunk1

portlink-typetrunk

porttrunkallow-passvlan1020

#

interfaceGigabitEthernet0/0/1

portlink-typetrunk

porttrunkallow-passvlan1020

#

interfaceGigabitEthernet0/0/2

#

interfaceGigabitEthernet0/0/3

eth-trunk1

#

interfaceGigabitEthernet0/0/4

#

interfaceGigabitEthernet0/0/5

eth-trunk1

#

interfaceGigabitEthernet0/0/6

#

interfaceGigabitEthernet0/0/7

#

interfaceGigabitEthernet0/0/8

#

interfaceGigabitEthernet0/0/9

#

interfaceGigabitEthernet0/0/10

#

interfaceGigabitEthernet0/0/11

#

interfaceGigabitEthernet0/0/12

#

interfaceGigabitEthernet0/0/13

#

interfaceGigabitEthernet0/0/14

#

interfaceGigabitEthernet0/0/15

#

interfaceGigabitEthernet0/0/16

#

interfaceGigabitEthernet0/0/17

#

interfaceGigabitEthernet0/0/18

#

interfaceGigabitEthernet0/0/19

#

interfaceGigabitEthernet0/0/20

#

interfaceGigabitEthernet0/0/21

#

interfaceGigabitEthernet0/0/22

#

interfaceGigabitEthernet0/0/23

#

interfaceGigabitEthernet0/0/24

#

interfaceNULL0

#

user-interfacecon0

user-interfacevty04

#

Return

S5700-LSW3

[Huawei]discu

#

sysnameHuawei

#

vlanbatch1020

#

stpmoderstp

stpinstance0rootsecondary

#

clusterenable

ntdpenable

ndpenable

#

dropillegal-macalarm

#

diffservdomaindefault

#

drop-profiledefault

#

aaa

authentication-schemedefault

authorization-schemedefault

accounting-schemedefault

domaindefault

domaindefault_admin

local-useradminpasswordsimpleadmin

local-useradminservice-typehttp

#

interfaceVlanif1

#

interfaceVlanif10

ipaddress10.0.0.3255.255.255.0

#

interfaceVlanif20

ipaddress20.0.0.3255.255.255.0

#

interfaceMEth0/0/1

#

interfaceEth-Trunk1

portlink-typetrunk

porttrunkallow-passvlan1020

#

interfaceGigabitEthernet0/0/1

#

interfaceGigabitEthernet0/0/2

portlink-typetrunk

porttrunkallow-passvlan1020

#

interfaceGigabitEthernet0/0/3

eth-trunk1

#

interfaceGigabitEthernet0/0/4

#

interfaceGigabitEthernet0/0/5

eth-trunk1

#

interfaceGigabitEthernet0/0/6

#

interfaceGigabitEthernet0/0/7

#

interfaceGigabitEthernet0/0/8

#

interfaceGigabitEthernet0/0/9

#

interfaceGigabitEthernet0/0/10

#

interfaceGigabitEthernet0/0/11

#

interfaceGigabitEthernet0/0/12

#

interfaceGigabitEthernet0/0/13

#

interfaceGigabitEthernet0/0/14

#

interfaceGigabitEthernet0/0/15

#

interfaceGigabitEthernet0/0/16

#

interfaceGigabitEthernet0/0/17

#

interfaceGigabitEthernet0/0/18

#

interfaceGigabitEthernet0/0/19

#

interfaceGigabitEthernet0/0/20

#

interfaceGigabitEthernet0/0/21

#

interfaceGigabitEthernet0/0/22

#

interfaceGigabitEthernet0/0/23

#

interfaceGigabitEthernet0/0/24

#

interfaceNULL0

#

user-interfacecon0

user-interfacevty04

#

Return

测试:

把S5700-LSW2上的端口G0/0/3DOWN掉后,用户可以正常通信

[Huawei]diseth-trunk1

Eth-Trunk1'sstateinformationis:

WorkingMode:

NORMALHasharithmetic:

AccordingtoSIP-XOR-DIP

LeastActive-linknumber:

1MaxBandwidth-affected-linknumber:

8

Operatestatus:

upNumberOfUpPortInTrunk:

1

--------------------------------------------------------------------------------

PortNameStatusWeight

GigabitEthernet0/0/3Down1

GigabitEthernet0/0/5Up1

在S5700-LSW1上将根端口g0/0/1DOWN后,阻塞端口g0/0/2正常切换成根端口接受和发送报文,

[Huawei]disstp

Jan3201313:

23:

07-08:

00HuaweiDS/4/DATASYNC_CFGCHANGE:

OID1.3.6.1.4.1.2011.5.25.191.3.1configurationshavebeenchanged.Thecurrentchangenumberis6,thechangeloopcountis0,andthemaximumnumberofrecordsis4095.bri

MSTIDPortRoleSTPStateProtection

0GigabitEthernet0/0/2ROOTFORWARDINGNONE

客户端也可以正常访问S5700-LSW2上的10.0.0.1和S5700-LSW3上的10.0.0.3

在客户端2上也可以正常访问S5700-LSW2和S5700-LSW3上的端口地址

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 考试认证 > 从业资格考试

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1