SW1(config)#spanning-tree vlan 1 root secondary VLAN 1 bridge priority set to16384 VLAN 1 bridge max aging time unchanged at 20 VLAN 1 bridge hello time unchanged at 2 VLAN 1 bridge forward delay unchanged at 15 1.在交换机上作root secondary ,bridge priority确定为16384,该值不会随着其他交换...
1:如果将一个交换机设置为某个vlan的主根时候,交换机会将该vlan的优先级会降低到比当前所有交换机优先级更低(小于或等于8192)的一个优先级,并且如果之后有一个交换机又通告了一个更优(即值更小)的优先级的话,原来的主根将会被替代,并且主根的优先级还是之前第一次降低后的值,但是如果再次打上该命令,那么它...
1、每个广播域选择一个根桥 2、每个非根桥上选择一个根端口 3、每个段选择一个指定端口 4、阻塞其他接口 1、每个广播域选择一个根桥 BPDU(default = sent every 2 seconds) Root bridge = bridge with the lowest bridge ID Bridge ID BPDU报文结构 2、每个非根桥上选择一个根端口 根端口:具有最低根路径...
Core-Sw1(config)# spanning-tree vlan 1-4096 root primary 在核心思科交换机上,你应该用这个命令配置次根交换机: Core-Sw2(config)# spanning-tree vlan 1-4096 root secondary 这两个命令的最终效果会将主交换机端口的网桥优先级设为8192,将次交换机的根网桥优先级设为16384。 2、使用IEEE 802.1D,而未使用...
spanning-tree vlan 2 max-age 6 STP执行的4步判决顺序 确定根交换机 lowest root BID 计算到根交换机的最小路径开销 lowest path cost to root bridge 确定最小的发送者BID lowest sender BID 确定最小的端口ID lowest port ID LAB1:根桥的选举
1、SW2成为VLNA1的主根,VLAN10的备份,SW1成为VLAN10的主,VLAN1的备份 SW2(config)#spanning-tree vlan 10 root secondary SW2(config)#spanning-tree vlan 1 roo primary SW1(config)#spanning-tree vlan 10 root primary SW1(config)#spanning-tree vlan 1 root secondary ...
Show interface f0/1这一命令可以看到交换机端口的MAC地址 查看STP信息-- SW1# sh spanning-tree bri VLAN1 Spanning tree enabled protocol ieee Root IDPriority32768 Addresscc00.0838.0000 This bridge is the root Hello Time2 secMax Age 20 secForward Delay 15 sec ...
Switch(config)#spanning-tree vlan 10 priority 4096 //设置[针对vlan10]的spanning-tree优先级 Switch(config)#spanning-tree vlan 10 root primary //宏命令,[针对vlan10]设置主根桥 Switch(config)#spanning-tree vlan 10 root secondary //宏命令,[针对vlan10]设置副根桥 ...
STP task2. Using only a single command on SW2, ensure SW2 will become the root bridge for VLAN10 if SW1 fails. SW2 (config)# spanning-tree vlan 10 root secondary Sometimes it may be best to allow the switches to do the math on the bridge I.D. and let them sort out that value....
Im just going through your topology and am wondering how SW2 is the root for Vlan 10 when there is still a path to the root SW1 after pulling fa0/1 and 2. The path being through SW3. Therfore, SW2 should only consider itself the root for a short period then re-converge back to ...