30选5玩法|福彩30选5开奖结果321|

%SPANTREE-7-RECV_1Q_NON_TRUNK solution!

来源:本站原创 CISCO 超过1,654 views围观 0条评论

fter the connection between two switches could not be established I went to see the log of the uplink switch and the first thing I have noticed was this:

%LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
%SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk FastEthernet0/1 VLAN300.
%SPANTREE-7-BLOCK_PORT_TYPE: Blocking FastEthernet0/1 on VLAN0300. Inconsistent port type.

The two switches were connected via access ports and this message was on my side, since the other side was the service provider and I was not given the technical details of “the other side”.

In short, interface was receiving BPDU’s which weren’t supposed to be there. This was the interface configuration:

interface FastEthernet0/1
description UPLINK
switchport access vlan 300
switchport mode access
spanning-tree portfast

Portfast port is designed to be connected to a device where BPDU’s are not expected. When BPDU guard is enabled (globally or per interface), the port will shutdown and enter a errdisable state. BPDU guard global enable is a great solution to protect portfast ports on a access switch where you don’t expect a switch to be plugged in.

In short, interface was receiving BPDU’s which weren’t supposed to be there!

The solution is the “spanning-tree bpdufilter enable” command which disables spanning tree on a port and that is made by restricting (filtering) sending and receiving BPDU’s. When enabled on a global level, BPDU filter will apply to all portfast ports.

Here is the configuration:

Global
switch1(config)#spanning-tree portfast bpdufilter default

Interface
switch1(config)#int fa0/1
switch1(config-if)#spanning-tree bpdufilter enable

Tagged with: %SPANTREE-7-RECV_1Q_NON_TRUNK ? cisco ? spanning tree

文章出自:CCIE那点事 http://www.rygqfb.tw/ 版权所?#23567;?#26412;站文章除注明出处外,皆为作者原创文章,可自由引用,但请注明来源。 禁止全文转载。
本文链接:http://www.rygqfb.tw/?p=3465转载请注明转自CCIE那点事
如果?#19981;叮?a title="CCIE那点事 | IT运维故障发现和解决基地 我致力于为企业IT管理提供助力!" href="http://www.rygqfb.tw/?feed=rss2" target="_blank">点此订阅本站
?
?
30选5玩法
一定牛贵州快三 陕西十一选五开奖 哈灵上海麻将官网 股票涨跌自动分析公式 安徽11选5开奖走 飞牛配资 20选5开奖号码 上海快三开奖查询快 什么决定股票涨跌 吉林十一选五遗漏