Just tried this and still little bit confused.

So how do I get port path 3017 on Cat-2.  What configuration I should add on
po34 on cat-4 ?  portpath cost 3012 is not changing because of uplink fast ?
Any thought ?

Thanks

Nilesh

On Fri, Sep 16, 2011 at 12:55 PM, Christophe Lemaire <
[email protected]> wrote:

> Hi Bob,
>
> You're completely right, spanning-tree port cost is a way to locally
> influence the path decision. The switch adds the port cost to the reported
> cost in the received BPDU.
>
> I've not checked the DSG but what you're reporting seems to be a mistake in
> the DSG and not in your understanding.
>
> Regards,
> Christophe
>
> On 15 Sep 2011, at 06:18, Bob McCouch wrote:
>
> > I'm finally getting down to doing more hands-on lab work and trudged
> through
> > Vol 1 Lab 2 today (I know, I'm so far along…). Anyway, I got to the last
> > task, 2.30 and either the DSG is backwards, or I am.
> >
> > Task is essentially to enable UplinkFast and manipulate STP costs to
> ensure
> > a particular backup path from Cat2 to the root, Cat3, is taken (e.g.,
> must
> > take Cat2->Cat4->Cat3, rather than Cat2->Cat1->Cat3). Restricted from
> > manipulating cost on Cat2, so I have to do it somewhere else in order to
> > ensure the desired path is taken.
> >
> > DSG first seems to confuse BackboneFast and UplinkFast in the written
> text,
> > but the configlets used UplinkFast so I think that's just another typo.
> But
> > for the cost manipulation, DSG suggests putting a cost on the Cat3 (root)
> > outgoing interface toward Cat4 (the desired fall-back path from Cat2).
> > Specifically it states:
> >
> > Cat3(config-if)#int po34
> >> Cat3(config-if)#spanning-tree cost 5
> >> *Remember that cost is cumulative. You add the cost of a local link
> >> yourself. (e.g. setting this on Cat4 would accomplish nothing)*
> >
> > *
> > *
> > (Note that based on the topology, cost of 5 is highly preferable vs. the
> > default, so this cost value is sweetening the overall path cost)
> >
> > The first two sentences of the text quote seem correct. But my
> understanding
> > is that port cost is added to the advertised path cost of the of the
> > incoming BPDU. In other words, take the advertised cost from the bridge
> you
> > received the BPDU from, and then add your configured interface cost to
> that
> > value to get your path cost. If my understanding is correct, putting the
> > cost on the "outgoing" interface of the root is exactly the wrong place
> to
> > configure it.
> >
> > The gear seems to agree with me:
> >
> > Cat3(config-if)#int po34
> > Cat3(config-if)#spanning-tree cost 5
> >
> > Cat4(config-if)#do show spann int po34 de
> > Port 320 (Port-channel34) of VLAN0001 is root forwarding
> >   Port path cost 12, Port priority 128, Port Identifier 128.320.  !--
> Cat4
> > knows its port cost is 12 for this 200 Mb LAG
> >   Designated port id is 128.320, designated path cost 0  !-- The
> advertised
> > cost from the root is 0, of course
> >
> > Cat2(config)#do sho spanning int po24 de
> > Port 240 (Port-channel24) of VLAN0001 is alternate blocking
> >   Port path cost 3012, Port priority 128, Port Identifier 128.240.  !--
> > UplinkFast poisons the local port horrendously
> >   Designated port id is 128.240, designated path cost 12  !-- We see that
> > the advertising bridge
> >
> >  has cost 12, based on the cost of the port it received its best BPDU on.
> >
> >
> > This arrangement, which was the DSG's solution, doesn't meet the task
> > requirement. The cost of 5 doesn't show up anywhere.
> >
> > When I try it the way I thought it should be, it does work as desired:
> >
> > Cat3(config-if)#int po34
> > Cat3(config-if)#default spanning-tree cost  !-- Undo the root-side config
> >
> > Cat4(config-if)#int po34
> > Cat4(config-if)#spanning-tree cost 5  !-- Configure the cost of the
> > receiving port
> >
> > Cat4(config-if)#do show spann int po34 de
> > Port 320 (Port-channel34) of VLAN0001 is root forwarding
> >   Port path cost 5, Port priority 128, Port Identifier 128.320.  !-- Cat4
> > sees his cost on this port is 5
> >   Designated port id is 128.320, designated path cost 0  !-- Adv root
> path
> > cost from root is still 0.
> >
> >
> > Cat2(config)#do sho spanning int po24 de
> > Port 240 (Port-channel24) of VLAN0001 is alternate blocking
> >   Port path cost 3012, Port priority 128, Port Identifier 128.240.  !--
> > Still a badly poisoned port cost due to UplinkFast
> >   Designated port id is 128.240, designated path cost 5  !-- The
> designated
> > bridge for the segment has a path cost of 5 to reach root!
> >
> >
> > With this configuration, the C2->C4->C3 path has a total cost of 3017,
> while
> > C2->C1->C3 has a total path cost of 3024. This yields the desired
> behavior
> > to traverse C4 in the event the C2->C3 path is broken.
> >
> > I've also always learned it that port cost affects the local bridge (and
> > everything downstream), whereas port priority is the way you manipulate
> the
> > downstream bridge without changing the local view of things.
> >
> > So, is the DSG backwards, or am I just completely, 100% missing the boat
> > here?
> >
> > Thanks! Sorry for the long-winded post.
> > _______________________________________________
> > For more information regarding industry leading CCIE Lab training, please
> visit www.ipexpert.com
> >
> > Are you a CCNP or CCIE and looking for a job? Check out
> www.PlatinumPlacement.com <http://www.platinumplacement.com/>
>
> _______________________________________________
> For more information regarding industry leading CCIE Lab training, please
> visit www.ipexpert.com
>
> Are you a CCNP or CCIE and looking for a job? Check out
> www.PlatinumPlacement.com <http://www.platinumplacement.com/>
>
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

Reply via email to