发布网友 发布时间:2022-04-22 00:57
共2个回答
热心网友 时间:2023-08-25 18:34
思科路由器,生成树一般不运行在路由器而是运行在交换机上,其配置命令如下:
1.开启生成树:Switch(config)#spanning-tree mode stp 或rstp;
2.设置交换机的优先级:Switch(config)#spanning-tree priority Bridge-priority
3.修改端口优先级:Switch(config-if)#spanning-tree port-priority priority
热心网友 时间:2023-08-25 18:34
Switch(config)#spanning-tree ?
mode Spanning tree operating mode
portfast Spanning tree portfast options
vlan VLAN Switch Spanning Tree
Switch(config)#spanning-tree vlan n ?
priority Set the bridge priority for the spanning tree
root Configure switch as root
<cr>
Switch(config)#spanning-tree vlan 3 root ?
primary Configure this switch as primary root for this spanning tree
secondary Configure switch as secondary root
Switch(config)#spanning-tree vlan 3 root p
Switch(config)#spanning-tree vlan 3 root primary
pt上不知道命令的话就打?号,下面会出来相应的命令
有问题Q我