(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

相关文章

Java中读取YAML文件配置信息常见问题及解决方法

《Java中读取YAML文件配置信息常见问题及解决方法》:本文主要介绍Java中读取YAML文件配置信息常见问题及解决方法,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要... 目录1 使用Spring Boot的@ConfigurationProperties2. 使用@Valu

Jenkins分布式集群配置方式

《Jenkins分布式集群配置方式》:本文主要介绍Jenkins分布式集群配置方式,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录1.安装jenkins2.配置集群总结Jenkins是一个开源项目,它提供了一个容易使用的持续集成系统,并且提供了大量的plugin满

SpringBoot线程池配置使用示例详解

《SpringBoot线程池配置使用示例详解》SpringBoot集成@Async注解,支持线程池参数配置(核心数、队列容量、拒绝策略等)及生命周期管理,结合监控与任务装饰器,提升异步处理效率与系统... 目录一、核心特性二、添加依赖三、参数详解四、配置线程池五、应用实践代码说明拒绝策略(Rejected

SQL Server配置管理器无法打开的四种解决方法

《SQLServer配置管理器无法打开的四种解决方法》本文总结了SQLServer配置管理器无法打开的四种解决方法,文中通过图文示例介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的... 目录方法一:桌面图标进入方法二:运行窗口进入检查版本号对照表php方法三:查找文件路径方法四:检查 S

Linux中SSH服务配置的全面指南

《Linux中SSH服务配置的全面指南》作为网络安全工程师,SSH(SecureShell)服务的安全配置是我们日常工作中不可忽视的重要环节,本文将从基础配置到高级安全加固,全面解析SSH服务的各项参... 目录概述基础配置详解端口与监听设置主机密钥配置认证机制强化禁用密码认证禁止root直接登录实现双因素

嵌入式数据库SQLite 3配置使用讲解

《嵌入式数据库SQLite3配置使用讲解》本文强调嵌入式项目中SQLite3数据库的重要性,因其零配置、轻量级、跨平台及事务处理特性,可保障数据溯源与责任明确,详细讲解安装配置、基础语法及SQLit... 目录0、惨痛教训1、SQLite3环境配置(1)、下载安装SQLite库(2)、解压下载的文件(3)、

Linux如何快速检查服务器的硬件配置和性能指标

《Linux如何快速检查服务器的硬件配置和性能指标》在运维和开发工作中,我们经常需要快速检查Linux服务器的硬件配置和性能指标,本文将以CentOS为例,介绍如何通过命令行快速获取这些关键信息,... 目录引言一、查询CPU核心数编程(几C?)1. 使用 nproc(最简单)2. 使用 lscpu(详细信

Nginx 重写与重定向配置方法

《Nginx重写与重定向配置方法》Nginx重写与重定向区别:重写修改路径(客户端无感知),重定向跳转新URL(客户端感知),try_files检查文件/目录存在性,return301直接返回永久重... 目录一.try_files指令二.return指令三.rewrite指令区分重写与重定向重写: 请求

Nginx 配置跨域的实现及常见问题解决

《Nginx配置跨域的实现及常见问题解决》本文主要介绍了Nginx配置跨域的实现及常见问题解决,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来... 目录1. 跨域1.1 同源策略1.2 跨域资源共享(CORS)2. Nginx 配置跨域的场景2.1

gitlab安装及邮箱配置和常用使用方式

《gitlab安装及邮箱配置和常用使用方式》:本文主要介绍gitlab安装及邮箱配置和常用使用方式,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录1.安装GitLab2.配置GitLab邮件服务3.GitLab的账号注册邮箱验证及其分组4.gitlab分支和标签的