当前位置:网站首页>三层交换机配置MSTP协议详解【华为eNSP实验】
三层交换机配置MSTP协议详解【华为eNSP实验】
2022-07-24 12:02:00 【InfoQ】
一,前言

二,例子—简单配置MSTP协议

第一步lsw16配置
vlan batch 10 20
int eth 0/0/1
port link-type access
port default vlan 10
[sw1]port-group group-member Ethernet 0/0/2 to Ethernet 0/0/3
port link-type trunk
port trunk allow-pass vlan all
第二步lsw17配置
port default vlan 20
第三步配置汇聚层交换机LSW18
vlan batch 10 20
port-group group-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/3
port link-type trunk
[cour1-GigabitEthernet0/0/1]port link-type trunk
[cour1-GigabitEthernet0/0/2]port link-type trunk
[cour1-GigabitEthernet0/0/3]port link-type trunk
port trunk allow-pass vlan all
第四步配置汇聚层交换机LSW19
第五步配置mstp
stp mode mstp
stp region-configuration
region-name mstp
revision-level 0
instance 1 vlan 10
instance 2 vlan 20
active region-configuration
dis current-configuration
stp region-configuration
region-name mstp
revision-level 0
instance 1 vlan 10
instance 2 vlan 20
active region-configuration
查看
dis stp instance 1 brief

[sw1]dis stp instance 1 brief
MSTID Port Role STP State Protection
1 Ethernet0/0/1 DESI LEARNING NONE
1 Ethernet0/0/2 ROOT FORWARDING NONE
1 Ethernet0/0/3 ALTE DISCARDING NONE
便捷区:
查看mstp
dis stp instance 1 brief
三.课设-三层交换机配置MSTP协议

stp instance 1 root primary
stp instance 2 root secondary
stp instance 2 root primary
stp instance 1 root secondary
stp region-configuration
region-name zhubo
instance 1 vlan 10 20
instance 2 vlan 30 40 50
active region-configuration
display stp brief
stp region-configuration
region-name zhubo
instance 1 vlan 10 20
instance 2 vlan 30 40 50
active region-configuration



边栏推荐
- 3、 Implementation principle of MFC message mapping mechanism
- 利用huggingface模型翻译英文
- Use and expansion of fault tolerance and fusing
- L1-043 reading room
- [data mining engineer - written examination] sheen company in 2022
- Microservice - eruka
- Experience of redis deepwater area -- Interview reference
- 2 万字详解,吃透 ES!
- 【C和指针第11章】动态内存分配
- 哈希——242.有效的字母异位词
猜你喜欢

GCC的基本用法

One week's wonderful content sharing (issue 13)

【网络空间安全数学基础第9章】有限域

Use and expansion of fault tolerance and fusing

Convergence rules for 4 * 4 image weights

QT | summary of the use of edit box

NFT digital collection system construction - app development

Shell script "< < EOF" my purpose and problems
![MOS tube - Notes on rapid recovery application (I) [principle]](/img/a1/8427c9b1d0ea0cecce820816510045.png)
MOS tube - Notes on rapid recovery application (I) [principle]

Use prometheus+grafana to monitor server performance in real time
随机推荐
Literature record (part109) -- self representation based unsupervised exemplar selection in a union of subspaces
Top and bottom of stack
Collision, removal and cleaning
Three small knowledge points about data product managers
Source code analysis sentry user behavior record implementation process
Install MariaDB columnstore (version 10.3)
One of his birds sold for 60million -- the collection of eight mountain people in the Ming and Qing Dynasties
【网络空间安全数学基础第3章】同余
How to use a third party without obtaining root permission topic: MIUI chapter
[C and pointer Chapter 11] dynamic memory allocation
Hash - 242. valid alphabetic ectopic words
利用huggingface模型翻译英文
三、MFC消息映射机制实现原理
Threat hunting collection
Use of multithreading in QT
Leetcode:51. queen n
Easy to understand ES6 (IV): template string
MySQL advanced (XVII) cannot connect to database server problem analysis
Shell Scripting tips
Use and expansion of fault tolerance and fusing