取消
显示结果 
搜索替代 
您的意思是: 
cancel
1312
查看次数
0
有帮助
4
回复

cisco3850交换机链路聚合端口如何关闭生成树协议

angel9999
Level 1
Level 1

只需要在链路聚合的端口上关闭生成树协议,需要如何操作。对端是台aruba的无线控制器

1 个已接受解答

已接受的解答

1.) On a per-VLAN basis, the STP is disabled by saying no spanning-tree vlan N. Regarding disabling the STP on a port, there are two different forms of doing it. The first is the PortFast feature, i.e. declaring the port as an edge port by the command spanning-tree portfast. This actually isn't disabling STP at all. It just allows the port to transition immediately from Blocking (or Discarding) to Forwarding. However, the STP is still fully active on that port - it still sends and receives BPDUs, and if a BPDU is indeed received on a PortFast port, the PortFast feature is deactivated until the port is disconnected and connected again.

The second way to disable STP on a port is the BPDU Filter - read further.

2.) The BPDU Filter feature prevents a port from sending and optionally from receving updates. Its behavior is different depending on how the feature is activated.

If the feature is activated in global configuration mode using the spanning-tree portfast bpdufilter default command, then the feature is automatically activated on all PortFast-enabled ports. In this case, after port is connected, it sends 11 BPDUs in usual intervals. If no BPDU is received during this time or anytime after it, the port will stop sending BPDUs. If a BPDU is received on such a port, the Filter feature is deactivated for that port and the port becomes a normal STP port - it again starts sending and receiving BPDUs in a usual way.

If the BPDU Filter feature is activated directly on a port using the command spanning-tree bpdufilter enable, the port will never send or receive BPDUs and will remain completely unblocked under all circumstances. This is the way to disable STP on a port.

https://community.cisco.com/t5/switching/how-to-disable-stp-on-port/td-p/1283874

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rps-Cheers | If it solves your problem, please mark as answer. Thanks !

在原帖中查看解决方案

4 条回复4

YilinChen
Spotlight
Spotlight

对应接口下看看能不能配置 no spanning-tree命令

WS-C3850-48P(config-if)#no spanning-tree ?
bpdufilter Don't send or receive BPDUs on this interface
bpduguard Don't accept BPDUs on this interface
cost Change an interface's spanning tree port path cost
guard Change an interface's spanning tree guard mode
link-type Specify a link type for spanning tree protocol use
mst Multiple spanning tree
port-priority Change an interface's spanning tree port priority
portfast Enable an interface to move directly to forwarding on link up
pseudo-information L2GP/R-L2GP
rootguard Enable root guard protection on the interface
vlan VLAN Switch Spanning Tree

WS-C3850-48P(config-if)#no spanning-tree v

可以在接口下配置spanning-tree portfast命令将接口配置成边缘端口,就可以了。

1.) On a per-VLAN basis, the STP is disabled by saying no spanning-tree vlan N. Regarding disabling the STP on a port, there are two different forms of doing it. The first is the PortFast feature, i.e. declaring the port as an edge port by the command spanning-tree portfast. This actually isn't disabling STP at all. It just allows the port to transition immediately from Blocking (or Discarding) to Forwarding. However, the STP is still fully active on that port - it still sends and receives BPDUs, and if a BPDU is indeed received on a PortFast port, the PortFast feature is deactivated until the port is disconnected and connected again.

The second way to disable STP on a port is the BPDU Filter - read further.

2.) The BPDU Filter feature prevents a port from sending and optionally from receving updates. Its behavior is different depending on how the feature is activated.

If the feature is activated in global configuration mode using the spanning-tree portfast bpdufilter default command, then the feature is automatically activated on all PortFast-enabled ports. In this case, after port is connected, it sends 11 BPDUs in usual intervals. If no BPDU is received during this time or anytime after it, the port will stop sending BPDUs. If a BPDU is received on such a port, the Filter feature is deactivated for that port and the port becomes a normal STP port - it again starts sending and receiving BPDUs in a usual way.

If the BPDU Filter feature is activated directly on a port using the command spanning-tree bpdufilter enable, the port will never send or receive BPDUs and will remain completely unblocked under all circumstances. This is the way to disable STP on a port.

https://community.cisco.com/t5/switching/how-to-disable-stp-on-port/td-p/1283874

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rps-Cheers | If it solves your problem, please mark as answer. Thanks !
快捷链接