11-09-2012 12:27 PM - edited 03-07-2019 09:58 AM
switchport access vlan 30 switchport trunk native vlan 30 switchport mode access switchport voice vlan 51 spanning-tree portfast spanning-tree bpdufilter enable spanning-tree bpduguard enable
What could be the root of the problem?
Thanks in advanced
Hi all
switchport access vlan 30 switchport trunk native vlan 30 switchport mode access switchport voice vlan 51 spanning-tree portfast spanning-tree bpdufilter enable spanning-tree bpduguard enable
What could be the root of the problem?
Thanks in advanced
11-09-2012 02:57 PM
Hi,
You don't need to have the "switchport trunk native vlan 30" in the config.
In this case, your data vlan is 30, your voice vlan is 51 and that is all you need.
Also, your native vlan should be different than your voice vlan.
for example
data 30
voice 51
native 61
than you only add the native vlan statement to your trunk (uplinks), so they can carry untagged traffic.
HTH
11-11-2012 07:59 AM
First of all, thanks for your answer Reza.
I'd like to ask you whether that misconfiguration could be the root of the layer 2 loops on the nework.
Thanks in advanced
06-07-2013 01:53 AM
Hi,
The problem is in the next command:
spanning-tree bpdufilter enable
When a user connects one Cisco IP Phone to the network with two wires at once, the switch filters the packet BPDUs and the command spanning-tree bpduguard enable doesn´t works.
I hope it has been helpful.
06-07-2013 06:01 AM
It is even mentioned in the manual by two big warning signs:
Configure Port Fast only on interfaces that connect to end stations; otherwise, an accidental topology loop could cause a data packet loop and disrupt switch and network operation.
Caution Enabling BPDU filtering on an interface is the same as disabling spanning tree on it and can result in spanning-tree loops.
Usually this type of commands are given by people that doesn't not fully undertarstand when they have to be used, still they want to add commands.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide