(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

相关文章

mybatis映射器配置小结

《mybatis映射器配置小结》本文详解MyBatis映射器配置,重点讲解字段映射的三种解决方案(别名、自动驼峰映射、resultMap),文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定... 目录select中字段的映射问题使用SQL语句中的别名功能使用mapUnderscoreToCame

Linux下MySQL数据库定时备份脚本与Crontab配置教学

《Linux下MySQL数据库定时备份脚本与Crontab配置教学》在生产环境中,数据库是核心资产之一,定期备份数据库可以有效防止意外数据丢失,本文将分享一份MySQL定时备份脚本,并讲解如何通过cr... 目录备份脚本详解脚本功能说明授权与可执行权限使用 Crontab 定时执行编辑 Crontab添加定

Java使用jar命令配置服务器端口的完整指南

《Java使用jar命令配置服务器端口的完整指南》本文将详细介绍如何使用java-jar命令启动应用,并重点讲解如何配置服务器端口,同时提供一个实用的Web工具来简化这一过程,希望对大家有所帮助... 目录1. Java Jar文件简介1.1 什么是Jar文件1.2 创建可执行Jar文件2. 使用java

SpringBoot 多环境开发实战(从配置、管理与控制)

《SpringBoot多环境开发实战(从配置、管理与控制)》本文详解SpringBoot多环境配置,涵盖单文件YAML、多文件模式、MavenProfile分组及激活策略,通过优先级控制灵活切换环境... 目录一、多环境开发基础(单文件 YAML 版)(一)配置原理与优势(二)实操示例二、多环境开发多文件版

Vite 打包目录结构自定义配置小结

《Vite打包目录结构自定义配置小结》在Vite工程开发中,默认打包后的dist目录资源常集中在asset目录下,不利于资源管理,本文基于Rollup配置原理,本文就来介绍一下通过Vite配置自定义... 目录一、实现原理二、具体配置步骤1. 基础配置文件2. 配置说明(1)js 资源分离(2)非 JS 资

MySQL8 密码强度评估与配置详解

《MySQL8密码强度评估与配置详解》MySQL8默认启用密码强度插件,实施MEDIUM策略(长度8、含数字/字母/特殊字符),支持动态调整与配置文件设置,推荐使用STRONG策略并定期更新密码以提... 目录一、mysql 8 密码强度评估机制1.核心插件:validate_password2.密码策略级

ShardingProxy读写分离之原理、配置与实践过程

《ShardingProxy读写分离之原理、配置与实践过程》ShardingProxy是ApacheShardingSphere的数据库中间件,通过三层架构实现读写分离,解决高并发场景下数据库性能瓶... 目录一、ShardingProxy技术定位与读写分离核心价值1.1 技术定位1.2 读写分离核心价值二

QT Creator配置Kit的实现示例

《QTCreator配置Kit的实现示例》本文主要介绍了使用Qt5.12.12与VS2022时,因MSVC编译器版本不匹配及WindowsSDK缺失导致配置错误的问题解决,感兴趣的可以了解一下... 目录0、背景:qt5.12.12+vs2022一、症状:二、原因:(可以跳过,直奔后面的解决方法)三、解决方

SpringBoot路径映射配置的实现步骤

《SpringBoot路径映射配置的实现步骤》本文介绍了如何在SpringBoot项目中配置路径映射,使得除static目录外的资源可被访问,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一... 目录SpringBoot路径映射补:springboot 配置虚拟路径映射 @RequestMapp

Nginx中配置使用非默认80端口进行服务的完整指南

《Nginx中配置使用非默认80端口进行服务的完整指南》在实际生产环境中,我们经常需要将Nginx配置在其他端口上运行,本文将详细介绍如何在Nginx中配置使用非默认端口进行服务,希望对大家有所帮助... 目录一、为什么需要使用非默认端口二、配置Nginx使用非默认端口的基本方法2.1 修改listen指令