以太网端口聚合+RSTP配置案例.docx
- 文档编号:28599926
- 上传时间:2023-07-19
- 格式:DOCX
- 页数:15
- 大小:177.29KB
以太网端口聚合+RSTP配置案例.docx
《以太网端口聚合+RSTP配置案例.docx》由会员分享,可在线阅读,更多相关《以太网端口聚合+RSTP配置案例.docx(15页珍藏版)》请在冰豆网上搜索。
以太网端口聚合+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上的端口地址
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 以太网 端口 聚合 RSTP 配置 案例