(SDUST) STP配置

2023-10-23 15:40
文章标签 配置 sdust stp

本文主要是介绍(SDUST) STP配置,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

在这里插入图片描述

实验说明及要求

Activity 5.2.5: 
Configuring STPNOTE TO USER: Although you can complete this activity without printed instructions, a PDF version is available on the text side of the same page from which you launched this activity.Learning ObjectivesExamine the STP default state
Configure the root bridge
Configure the backup root bridge
Finalize STP configuration
IntroductionIn this activity, the switches are "out of the box" without any configuration. You will manipulate the root bridge election so that the core switches are chosen before the distribution or access layer switches.Task 1: Examine the STP Default StateStep 1. Examine link lights.When STP is fully converged, the following conditions exist:All PCs have green link lights on the switched ports.
Access layer switches have one forwarding uplink (green) to a distribution layer switch and a blocking uplink (amber) to a core layer switch.
Distribution layer switches have one forwarding uplink (green) to a core layer switch and a blocking uplink (amber) to another core layer switch.
Step 2. Switch to Simulation mode.Step 3. Determine the root bridge.Click Capture/Forward. Without looking at BPDU detail, MAC addresses, or the show spanning-tree command, can you tell which switch is the root bridge?Can you think of a reason why this switch is not a good choice as root?Task 2: Configure the Root BridgeStep 1. Configure the root bridge.One of the core switches should be root, and the other should be the backup root. Switch to Realtime mode and configure C1 with a priority of 4096.Step 2. Switch between Realtime and Simulation modes.Switch between Realtime mode and Simulation mode several times until all ports on C1 are green.Step 3. Switch to Simulation mode.Step 4. Make sure C1 is the root bridge.Click Capture/Forward several times to watch configuration BPDUs. C1 should be initiating the propagation of BPDUs.Step 5. Check results.Your completion percentage should be 17%. If not, click Check Results to see which required components are not yet completed.Task 3: Configure the Backup Root BridgeStep 1. Configure the backup root bridge.The other core switch serves as a backup root bridge. Switch to Realtime mode and configure C2 with a priority of 8192.Step 2. Switch between Realtime and Simulation modes.Switch between Realtime mode and Simulation mode several times until all ports on C2 are green.Step 3. Examine links attached to C2.What is unique about the C2 links to the distribution layer switches that you do not see with C1 links?Step 4. Check results.Your completion percentage should be 33%. If not, click Check Results to see which required components are not yet completed.Task 4: Finalize STP ConfigurationBest practice is to never have an access layer switch become root. You could ensure this by configuring all access layer switches with a priority higher than the default. However, because there are fewer distribution switches, it is more efficient to configure these switches with a slightly higher priority than the backup root switch.Step 1. Configure distribution switches.Configure D1, D2, D3, and D4 with a priority of 12288.Step 2. Check results.Your completion percentage should be 100%. If not, click Check Results to see which required components are not yet completed.

具体操作命令

C1:
Switch>en
Switch#conf t
Switch(config)#spanning-tree mode pvst
Switch(config)#spanning-tree vlan 1 priority 4096
C2:
Switch>en
Switch#conf t
Switch(config)#spanning-tree mode pvst
Switch(config)#spanning-tree vlan 1 priority 8192
D1D2D3D4:
Switch>en
Switch#conf t
Switch(config)#spanning-tree mode pvst
Switch(config)#spanning-tree vlan 1 priority 12288

中间还有几个查看的步骤就没必要说了,参考一下即可,拓扑图和英文说明怪吓人,但是没多少东西。

若是有错误之处,欢迎指出

这篇关于(SDUST) STP配置的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/268789

相关文章

史上最全nginx详细参数配置

《史上最全nginx详细参数配置》Nginx是一个轻量级高性能的HTTP和反向代理服务器,同时也是一个通用代理服务器(TCP/UDP/IMAP/POP3/SMTP),最初由俄罗斯人IgorSyso... 目录基本命令默认配置搭建站点根据文件类型设置过期时间禁止文件缓存防盗链静态文件压缩指定定错误页面跨域问题

nginx负载均衡及详细配置方法

《nginx负载均衡及详细配置方法》Nginx作为一种高效的Web服务器和反向代理服务器,广泛应用于网站的负载均衡中,:本文主要介绍nginx负载均衡及详细配置,需要的朋友可以参考下... 目录一、 nginx负载均衡策略1.1 基本负载均衡策略1.2 第三方策略1.3 策略对比二、 nginx配置2.1

Android开发环境配置避坑指南

《Android开发环境配置避坑指南》本文主要介绍了Android开发环境配置过程中遇到的问题及解决方案,包括VPN注意事项、工具版本统一、Gerrit邮箱配置、Git拉取和提交代码、MergevsR... 目录网络环境:VPN 注意事项工具版本统一:android Studio & JDKGerrit的邮

SpringBoot3.4配置校验新特性的用法详解

《SpringBoot3.4配置校验新特性的用法详解》SpringBoot3.4对配置校验支持进行了全面升级,这篇文章为大家详细介绍了一下它们的具体使用,文中的示例代码讲解详细,感兴趣的小伙伴可以参考... 目录基本用法示例定义配置类配置 application.yml注入使用嵌套对象与集合元素深度校验开发

IntelliJ IDEA 中配置 Spring MVC 环境的详细步骤及问题解决

《IntelliJIDEA中配置SpringMVC环境的详细步骤及问题解决》:本文主要介绍IntelliJIDEA中配置SpringMVC环境的详细步骤及问题解决,本文分步骤结合实例给大... 目录步骤 1:创建 Maven Web 项目步骤 2:添加 Spring MVC 依赖1、保存后执行2、将新的依赖

SpringBoot基于配置实现短信服务策略的动态切换

《SpringBoot基于配置实现短信服务策略的动态切换》这篇文章主要为大家详细介绍了SpringBoot在接入多个短信服务商(如阿里云、腾讯云、华为云)后,如何根据配置或环境切换使用不同的服务商,需... 目录目标功能示例配置(application.yml)配置类绑定短信发送策略接口示例:阿里云 & 腾

如何为Yarn配置国内源的详细教程

《如何为Yarn配置国内源的详细教程》在使用Yarn进行项目开发时,由于网络原因,直接使用官方源可能会导致下载速度慢或连接失败,配置国内源可以显著提高包的下载速度和稳定性,本文将详细介绍如何为Yarn... 目录一、查询当前使用的镜像源二、设置国内源1. 设置为淘宝镜像源2. 设置为其他国内源三、还原为官方

CentOS7更改默认SSH端口与配置指南

《CentOS7更改默认SSH端口与配置指南》SSH是Linux服务器远程管理的核心工具,其默认监听端口为22,由于端口22众所周知,这也使得服务器容易受到自动化扫描和暴力破解攻击,本文将系统性地介绍... 目录引言为什么要更改 SSH 默认端口?步骤详解:如何更改 Centos 7 的 SSH 默认端口1

Maven的使用和配置国内源的保姆级教程

《Maven的使用和配置国内源的保姆级教程》Maven是⼀个项目管理工具,基于POM(ProjectObjectModel,项目对象模型)的概念,Maven可以通过一小段描述信息来管理项目的构建,报告... 目录1. 什么是Maven?2.创建⼀个Maven项目3.Maven 核心功能4.使用Maven H

SpringBoot多数据源配置完整指南

《SpringBoot多数据源配置完整指南》在复杂的企业应用中,经常需要连接多个数据库,SpringBoot提供了灵活的多数据源配置方式,以下是详细的实现方案,需要的朋友可以参考下... 目录一、基础多数据源配置1. 添加依赖2. 配置多个数据源3. 配置数据源Bean二、JPA多数据源配置1. 配置主数据