stp port priority命令用来配置当前端口在生成树计算时的优先级。 undo stp port priority命令用来恢复当前端口在指定生成树实例上的优先级的缺省值。 缺省情况下,交换设备端口的优先级取值是128。 命令格式 stp [ instance instance-id ] port priority priority undo stp [ inst
stp instance 0 priority 0 #设置CIST公共内部生成树总根 stp instance 1 root primary #设置内部生成树实例-1优先级 stp instance 2 root secondary stp bpdu-protection #开启BPDU保护 stp edged-port enable #开启边缘端口,链接终端
Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20CIST Root/ERPC :0 .4c1f-cc6b-455e / 20000CIST RegRoot/IRPC :4096 .4c1f-cc10-2c4f / 0CIST RootPortId :128.1BPDU-Protection :DisabledCIST Root Type ...
stp port-log instance 0 ¡ PVST模式: stp port-log vlan vlan-id-list ¡ MSTP模式: stp port-log { all | instance instance-list } 缺省情况下,端口状态变化信息显示开关处于关闭状态。 2.18 开启生成树协议 2.18.1 配置限制和指导 只有开启了生成树协议,生成树的其他配置才会生效。在STP/RSTP/MSTP模...
inter ethernet 1/0/1 port link-type trunk port trunk allow-pass vlan 1 10 20 inter ethernet 1/0/2 port link-type trunk port trunk allow-pass vlan 1 10 20 sysname B2 stp enable stp mode mstp stp instance 1 priority 0 stp region-configuration region-name mstp-1 activ region-configuratio...
查看instance到VLAN的映射关系 stp instance 0 root primary 这条命令的作用是将这台交换机作为主根桥 另外stp instance 0 root primary 指定根桥,会动态的调整优先级,使其始终保持最高优先级。但是会导致生成树的重新计算。stp instance 0 priority 4096指定优先级,稳定性更好。0...
# 配置DeviceB端口GE1/0/2的STP去使能。 [~DeviceB]interface gigabitethernet1/0/2 [~DeviceB-GigabitEthernet1/0/2]stp disable [*DeviceB-GigabitEthernet1/0/2]commit [~DeviceB-GigabitEthernet1/0/2]quit # 配置DeviceC端口GE1/0/2的STP去使能。
stp root primary| stp priority0| stp instance0root primary // 手配根桥 stp priority4096|…… // 改优先级 ,手配备份根桥(其他primary改为secondary) stp edged-port enable // 配置边缘端口 dis stp topology-change // 查看stp震荡状态 display stp brief // 查看接口角色 ...
代码运行次数:0 运行 AI代码解释 [SWA]stp global enable[SWA]stp priority0[SWA]interfaceGigabitEthernet1/0/1[SWA-GigabitEthernet1/0/1]stp edged-port 配置SWB: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 [SWB]stp global enable[SWB]stp priority4096[SWB]interfaceGigabitEthernet1/0/1[SWB-Gi...
第39章 通过Port-priority完成Vlan间流量的负载均衡 39.1 理论基础 在交换网络中,通常在汇聚层会做主根和备份根完成冗余。假设两台设备分别为SW1和SW2,而网络中有两个VLAN,vlan10和vlan 100,很多时候会把SW1做为vlan10的主根,同时作为vlan100的备份根(secondary root),相反的SW2做为vlan100的主根,作为vlan10 的...