networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Tue Jan 17, 2012 12:15 pm 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Aug 03, 2011 12:24 pm
Posts: 504
Location: Charleston, SC
Certs: MCSE, MCP+I, SEC+ (working on CCENT/CCNA)
Folks-

Noob here, still working through CCENT with CCNA as a goal...

I have a switch on my network that is showing a port as DOWN, ERR-DISABLED due to BPDUGuard.

I don't know anything about BPDUGuard. What I *think I understand* about it is:

-it is related to STPF
-it is utilized to keep 2 or more trunked ports between two switches working without causing loops. IE: in normal use, only one of the trunked ports will remain up. If the UP port goes down (unplugged cable, thumb-fingered electricion given keys to a backhoe, etc), it will bring up the DOWN port to maintain connectivity.
-in all honesty, I doubt I have the above right.

Please help me understand this- if you have a link to a whitepaper that would be wonderful, so long as it's not at too high a level. I have a way to go yet before I understand some of you guys! :)


Top
 Profile  
 
PostPosted: Tue Jan 17, 2012 12:33 pm 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Aug 03, 2011 12:24 pm
Posts: 504
Location: Charleston, SC
Certs: MCSE, MCP+I, SEC+ (working on CCENT/CCNA)
Found this: http://www.cisco.com/en/US/docs/switche ... #wp1095752 and it looks like I am WAAAAAY off. Any more input surely appreciated, particularly if it's less in-depth.


Top
 Profile  
 
PostPosted: Tue Jan 17, 2012 12:41 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Nov 23, 2009 7:55 pm
Posts: 1395
Location: South Carolina
Certs: CCNP, CCNA Sec
So on the interface that is disabled... You probably have the command spanning-tree bpduguard enable configured on it. When the switch's interface sees a BPDU on it, it sends the interface into an error disabled state. You should only enable BPDUGuard on switch ports that you do not expect switches on, like host ports.


Top
 Profile  
 
PostPosted: Tue Jan 17, 2012 12:42 pm 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Aug 03, 2011 12:24 pm
Posts: 504
Location: Charleston, SC
Certs: MCSE, MCP+I, SEC+ (working on CCENT/CCNA)
From that article:
" Receiving a BPDU on a Port Fast-enabled port means an invalid configuration, such as the connection of an unauthorized device, and the BPDU guard feature puts the port in the error-disabled state. When this happens, the switch shuts down the entire port on which the violation occurred"

... which caused a lightbulb to go off. Checked the switches in our area where I know we have two spare switches connected together. Sure enough there is another switch attached there, though it is unconfigured. Believe this to be the problem...


Top
 Profile  
 
PostPosted: Tue Jan 17, 2012 12:47 pm 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Aug 03, 2011 12:24 pm
Posts: 504
Location: Charleston, SC
Certs: MCSE, MCP+I, SEC+ (working on CCENT/CCNA)
hopped over to the test rack, sure enough, that port is going to the other switch in that area. It's not configured. Jumped into the problem switch via Putty, did a "no spanning tree bpduguard enable" followed by a shut and no shut, all good now..

Thanks very much for the help (again!), Swagger!


Top
 Profile  
 
PostPosted: Tue Jan 17, 2012 12:52 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Nov 23, 2009 7:55 pm
Posts: 1395
Location: South Carolina
Certs: CCNP, CCNA Sec
You're welcome.


Top
 Profile  
 
PostPosted: Tue Jan 17, 2012 3:39 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Tue Aug 21, 2007 2:15 pm
Posts: 8296
Location: Frederick MD
Certs: Instanity
DieselJeeper wrote:
"no spanning tree bpduguard enable"


does that fix the loop in your network ?

_________________
"If you're good at anticipating the human mind. It leaves nothing to chance."
-Jigsaw


Top
 Profile  
 
PostPosted: Tue Jan 17, 2012 7:37 pm 
Offline
New Member
New Member

Joined: Thu Jun 30, 2011 4:31 pm
Posts: 14
Certs: CCNP, CCDA
ristau5741 wrote:
DieselJeeper wrote:
"no spanning tree bpduguard enable"


does that fix the loop in your network ?


BPDUguard is a Root Bridge protection mechanism, not a loop detection mechanism like Loop Guard. BPDUGuard just protects from downstream rogue switches from becoming the root bridge, which could cause long convergence and MITM attacks due to traffic flow changes through the new root bridge.


Top
 Profile  
 
PostPosted: Tue Jan 17, 2012 8:08 pm 
Offline
Moderator
Moderator
User avatar

Joined: Mon Apr 07, 2008 10:38 am
Posts: 9390
Location: Orlando, FL
Certs: CCNP RS, CCNP DC, CCDP, CCIP
musicjunky wrote:
ristau5741 wrote:
DieselJeeper wrote:
"no spanning tree bpduguard enable"


does that fix the loop in your network ?


BPDUguard is a Root Bridge protection mechanism, not a loop detection mechanism like Loop Guard. BPDUGuard just protects from downstream rogue switches from becoming the root bridge, which could cause long convergence and MITM attacks due to traffic flow changes through the new root bridge.


no

_________________
http://blog.alwaysthenetwork.com


Top
 Profile  
 
PostPosted: Wed Jan 18, 2012 7:14 am 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Aug 03, 2011 12:24 pm
Posts: 504
Location: Charleston, SC
Certs: MCSE, MCP+I, SEC+ (working on CCENT/CCNA)
Vito: No that's not correct, or what?


Top
 Profile  
 
PostPosted: Wed Jan 18, 2012 7:16 am 
Offline
Moderator
Moderator
User avatar

Joined: Mon Apr 07, 2008 10:38 am
Posts: 9390
Location: Orlando, FL
Certs: CCNP RS, CCNP DC, CCDP, CCIP
It's not correct. He seems to be talking about Root Guard.

_________________
http://blog.alwaysthenetwork.com


Top
 Profile  
 
PostPosted: Wed Jan 18, 2012 8:12 am 
Offline
Ultimate Member
Ultimate Member

Joined: Wed Aug 03, 2011 12:24 pm
Posts: 504
Location: Charleston, SC
Certs: MCSE, MCP+I, SEC+ (working on CCENT/CCNA)
OK. Is it correct to say that BPDUguard is a security feature- any BPDU received on that port will put the port into Err-Disabled mode?


Top
 Profile  
 
PostPosted: Wed Jan 18, 2012 9:36 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Nov 23, 2009 7:55 pm
Posts: 1395
Location: South Carolina
Certs: CCNP, CCNA Sec
It is a security feature. It prevents loops from occurring when a switch is plugged into a port configured with BPDUGuard. Like we talked about earlier, it will put the port into an error disabled state.


Top
 Profile  
 
PostPosted: Wed Jan 18, 2012 9:41 am 
Offline
Moderator
Moderator
User avatar

Joined: Mon Apr 07, 2008 10:38 am
Posts: 9390
Location: Orlando, FL
Certs: CCNP RS, CCNP DC, CCDP, CCIP
DieselJeeper wrote:
OK. Is it correct to say that BPDUguard is a security feature- any BPDU received on that port will put the port into Err-Disabled mode?


yea

_________________
http://blog.alwaysthenetwork.com


Top
 Profile  
 
PostPosted: Wed Jan 18, 2012 10:17 am 
Offline
New Member
New Member

Joined: Thu Jun 30, 2011 4:31 pm
Posts: 14
Certs: CCNP, CCDA
Vito_Corleone wrote:

no


Yes,

quoted from Cisco documentation on the BPDUGuard page:
The STP PortFast BPDU guard enhancement allows network designers to enforce the STP domain borders and keep the active topology predictable. The devices behind the ports that have STP PortFast enabled are not able to influence the STP topology. At the reception of BPDUs, the BPDU guard operation disables the port that has PortFast configured. The BPDU guard transitions the port into errdisable state, and a message appears on the console.

http://www.cisco.com/en/US/tech/tk389/t ... 482f.shtml


Top
 Profile  
 
PostPosted: Wed Jan 18, 2012 10:26 am 
Offline
New Member
New Member

Joined: Thu Jun 30, 2011 4:31 pm
Posts: 14
Certs: CCNP, CCDA
Vito_Corleone wrote:
It's not correct. He seems to be talking about Root Guard.


Root Guard is also a root bridge protection mechanism, but behaves differently. It will place a port into loop-inconsistent state upon the receipt of a Superior-BPDU, not any BPDU like BPDUGuard.


Top
 Profile  
 
PostPosted: Wed Jan 18, 2012 10:32 am 
Offline
Moderator
Moderator
User avatar

Joined: Mon Apr 07, 2008 10:38 am
Posts: 9390
Location: Orlando, FL
Certs: CCNP RS, CCNP DC, CCDP, CCIP
musicjunky wrote:
Vito_Corleone wrote:

no


Yes,

quoted from Cisco documentation on the BPDUGuard page:
The STP PortFast BPDU guard enhancement allows network designers to enforce the STP domain borders and keep the active topology predictable. The devices behind the ports that have STP PortFast enabled are not able to influence the STP topology. At the reception of BPDUs, the BPDU guard operation disables the port that has PortFast configured. The BPDU guard transitions the port into errdisable state, and a message appears on the console.

http://www.cisco.com/en/US/tech/tk389/t ... 482f.shtml


Read your initial explanation. It's most definitely wrong.

_________________
http://blog.alwaysthenetwork.com


Top
 Profile  
 
PostPosted: Wed Jan 18, 2012 10:39 am 
Offline
New Member
New Member

Joined: Thu Jun 30, 2011 4:31 pm
Posts: 14
Certs: CCNP, CCDA
Can you please explain what is wrong about it? I was focusing on the fact that BPDU Guard is not a loop detection mechanism, it is enabled on access ports only, along with PortFast, to protect against downstream switches causing reconvergence in the STP domain.


Top
 Profile  
 
PostPosted: Wed Jan 18, 2012 11:05 am 
Offline
Moderator
Moderator
User avatar

Joined: Mon Apr 07, 2008 10:38 am
Posts: 9390
Location: Orlando, FL
Certs: CCNP RS, CCNP DC, CCDP, CCIP
musicjunky wrote:
BPDUguard is a Root Bridge protection mechanism, not a loop detection mechanism like Loop Guard. BPDUGuard just protects from downstream rogue switches from becoming the root bridge, which could cause long convergence and MITM attacks due to traffic flow changes through the new root bridge.


There, I've bolded it for you. It is a loop prevention mechanism and it has nothing to do with who the root bridge is.

_________________
http://blog.alwaysthenetwork.com


Top
 Profile  
 
PostPosted: Wed Jan 18, 2012 11:08 am 
Offline
New Member
New Member

Joined: Thu Jun 30, 2011 4:31 pm
Posts: 14
Certs: CCNP, CCDA
Vito_Corleone wrote:
musicjunky wrote:
BPDUguard is a Root Bridge protection mechanism, not a loop detection mechanism like Loop Guard. BPDUGuard just protects from downstream rogue switches from becoming the root bridge, which could cause long convergence and MITM attacks due to traffic flow changes through the new root bridge.


There, I've bolded it for you. It is a loop prevention mechanism and it has nothing to do with who the root bridge is.



Oh, did you not read the Cisco doc on this stuff?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot], burnyd, yogidrasil and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group