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

实例拓扑如下:
3-7 Aruba交换机实用配置-RSTP 2020_第1张图片
当接入交换机到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

你可能感兴趣的:(Aruba交换机)