3-7 Aruba交换机实用配置-RSTP 2020

实例拓扑如下:
在这里插入图片描述
当接入交换机到Core-1的线路故障,可以切换到Core-2线路

配置Core-1作为根桥

Configure Core-1 to be elected the root bridge by giving it the lowest priority value.
Core-1(config)# spanning-tree priority 0

在交换机开启STP

Core-1

  1. Enable spanning tree on Core-1.
    Core-1(config)# spanning-tree enable
    Access-1
  2. Access the Access-1 CLI and move to global configuration mode.
  3. Enable spanning tree. You can also simply enter this command:
    Access-1(config)# spanning-tree
    Access-2
  4. Access the Access-1 CLI and move to global configuration mode.
  5. Enable spanning tree.
    Access-2(config)# spanning-tree

添加冗余核心交换机和冗余链路

Core-1
6. Core-1 will connect to Core-2 on one link, which will be untagged for VLAN 1 and tagged for
VLANs 11 and 12 like other switch-to-switch links. Configure the VLAN settings.
Core-1(config)# vlan 11 tagged a19
Core-1(config)# vlan 12 tagged a19
7. Enable the interface.
Core-1(config)# interface a19
Core-1(eth-A19)# enable
8. Give the interface an intuitive name.
Core-1(eth-A19)# name Core-2

Core-2
Core-2(config)# spanning-tree priority 1.

根桥确认

Core-1# show spanning-tree
Multiple Spanning Tree (MST) Information
STP Enabled : Yes
Force Version : MSTP-operation
<-output omitted->
CST Root MAC Address : 1c98ec-ab4b00
CST Root Priority : 0
CST Root Path Cost : 0
CST Root Port : This switch is root

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值