10-13-2015 02:12 AM - edited 03-08-2019 02:11 AM
Hi,
On Cisco 6509 IOS 15.1(2) SY3, I have a port channel configured with few vlan interfaces (configured only on this po) as below.
interface Port-channelX
switchport
switchport trunk allowed vlan yy,zz
switchport mode trunk
end
After I perform a shut/no shut of the port-channel interface, vlan interfaces configured on this po come up after nearly 20-25 seconds. During this whole time, I can see that port-channel is up, but vlan-interface is down. I tried enabling "debug interface vlan", but I dont see anything in "show logging"
Is there any config setting that might cause this behavior ? Any way to overcome this ?
Solved! Go to Solution.
10-13-2015 04:19 AM
yes all ports by default participate in some form of STP depending what type is configured to prevent layer 2 loops
portfast is used to relieve calculation on the switch , when you use that the switch knows these ports are not trunk ports and do not need to be part of the calculation so it speeds up layer 2 convergence and puts them straight into the fwd mode, portfast should only be set on access ports , pc/phones printers etc where you know there is no path to another switch
You use portfast bpduguard as an extra force of loop security on an access port, if a bpdu is received the port will go to error disable to prevent a loop
using portfast bpdufilter disables stp on the port
10-13-2015 02:17 AM
A vlan interface will only come up once ports are assigned to that vlan and are up/up or there is a an STP instance for that vlan so it needs time to calculate that before it brings it up, depending on your STP your using you may be able to speed it up by using rstp which will shorten the calculation time but other than that I don't know any other way to speed it up , that sounds like expected behaviour
10-13-2015 04:11 AM
So, it looks like, when enabling spanning-tree in global configuration mode, all ports in the router become part of STP ?
I have removed the spanning-tree configuration on this port and thought that it wouldn't participate in spanning-tree. So, I thought it would move to Fwd as soon as it came up. But, I enabled portfast edge and it moves to Fwd as soon as it comes up.
So, all the ports must be participate in STP or be "portfast-ed". Am I right ?
10-13-2015 04:19 AM
yes all ports by default participate in some form of STP depending what type is configured to prevent layer 2 loops
portfast is used to relieve calculation on the switch , when you use that the switch knows these ports are not trunk ports and do not need to be part of the calculation so it speeds up layer 2 convergence and puts them straight into the fwd mode, portfast should only be set on access ports , pc/phones printers etc where you know there is no path to another switch
You use portfast bpduguard as an extra force of loop security on an access port, if a bpdu is received the port will go to error disable to prevent a loop
using portfast bpdufilter disables stp on the port
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