Question on PVST & router sub-interface status

Unanswered Question
Jul 23rd, 2008
User Badges:
  • Bronze, 100 points or more

Hi,


What is the behavior a PVST environment when a router "sub-interface" configured with a particular VLAN is shutdown/brought up. The router connects to a c2950 dot1Q trunk port configured for few VLANs.


When there's a change of the physical interface state(up/down) I see the STP state transition. However the change of status of sub-interface has no impact on STP status of the connected switch interface(remains in forwarding even for the disabled VLAN).


How is this behavior explained? Have I overlooked something here?

Thanks in advance for your time/thoughts.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
lgijssel Wed, 07/23/2008 - 04:15
User Badges:
  • Red, 2250 points or more

There would only be impact when the sub-interface was actually sending BPDU's.

A router is a layer3 device. It will not participate in STP by default. On the switch-side the router will be seen as an edge port.


regards,

Leo

rsgamage1 Wed, 07/23/2008 - 04:26
User Badges:
  • Bronze, 100 points or more

I understand that the router does not participate in STP.


What actually makes the difference in STP/PVST when the physical router interface is shut compared to the router sub-interface(dot1Q VLAN)?

lgijssel Wed, 07/23/2008 - 04:38
User Badges:
  • Red, 2250 points or more

The difference is at the switch' side. The switch has no way to know the status of a sub-interface on a connected device when it does not receive bpdu's from it. As long as the vlan is allowed on the trunk, all traffic for it will be forwarded. (either broad-, multi- or unicast) The receiving end will silently discard this traffic and that's all there is to it.

On the other hand, a change in the status of the physical interface is all too easily noticed and will result in an STP-state change.

Actions

This Discussion