Re: One question about 3550 Port Priority?

From: Richard Hanks (ccieingroup@hotmail.com)
Date: Sun Jan 05 2003 - 17:07:48 GMT-3


Hi Stefan,

Thank you very much for the clarification! BTW, may I confirm another point
that on 3550, the "path cost/vlan" is better put on the downstream switch port
directly to affect the total Root Path Cost when designing which port on
forwarding and which on blocking? I cannot touch a 3550 to do the test before
my exam. I can only do some on 2950.

Thanks again & Rgds,
Richard
  ----- Original Message -----
  From: stefan vogt
  To: Richard Hanks ; Prashanth ; stefan vogt
  Cc: ccielab@groupstudy.com
  Sent: Saturday, January 04, 2003 5:44 PM
  Subject: Re: One question about 3550 Port Priority?

  Hello Richard,

  Works as expected...

  c3550-1#sh spanning vlan 1

  VLAN0001
    Spanning tree enabled protocol ieee
    Root ID Priority 10
               Address 0030.7170.0480
               Cost 38
               Port 1 (FastEthernet0/1)
               Hello Time 3 sec Max Age 40 sec Forward Delay 20 sec

    Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
               Address 000a.8a8b.e780
               Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
               Aging Time 300

  Interface Port ID Designated Port
ID
  Name Prio.Nbr Cost Sts Cost Bridge ID
Prio.Nbr
  ---------------- -------- --------- --- --------- --------------------
--------
  Fa0/1 128.1 19 FWD 19 32768 00b0.c2b9.cc00
128.197
  Fa0/47 128.47 19 FWD 38 32769 000a.8a8b.e780
128.47
  Fa0/48 128.48 19 FWD 38 32769 000a.8a8b.e780
128.48

  c3550-1#

  c3550-2#sh spanning vlan 1

  VLAN0001
    Spanning tree enabled protocol ieee
    Root ID Priority 10
               Address 0030.7170.0480
               Cost 57
               Port 47 (FastEthernet0/47)
               Hello Time 3 sec Max Age 40 sec Forward Delay 20 sec

    Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
               Address 000a.8a73.dd00
               Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
               Aging Time 300

  Interface Port ID Designated Port
ID
  Name Prio.Nbr Cost Sts Cost Bridge ID
Prio.Nbr
  ---------------- -------- --------- --- --------- --------------------
--------
  Fa0/47 128.47 19 FWD 38 32769 000a.8a8b.e780
128.47
  Fa0/48 128.48 19 BLK 38 32769 000a.8a8b.e780
128.48

  c3550-2#

  c3550-1#conf t
  Enter configuration commands, one per line. End with CNTL/Z.
  c3550-1(config)#int fa 0/48
  c3550-1(config-if)#spanning-tree vlan 1 port-priority 127
  c3550-1(config-if)#end
  c3550-1#

  c3550-1#sh spanning-tree vlan 1

  VLAN0001
    Spanning tree enabled protocol ieee
    Root ID Priority 10
               Address 0030.7170.0480
               Cost 38
               Port 1 (FastEthernet0/1)
               Hello Time 3 sec Max Age 40 sec Forward Delay 20 sec

    Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
               Address 000a.8a8b.e780
               Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
               Aging Time 20

  Interface Port ID Designated Port
ID
  Name Prio.Nbr Cost Sts Cost Bridge ID
Prio.Nbr
  ---------------- -------- --------- --- --------- --------------------
--------
  Fa0/1 128.1 19 FWD 19 32768 00b0.c2b9.cc00
128.197
  Fa0/47 128.47 19 FWD 38 32769 000a.8a8b.e780
128.47
  Fa0/48 127.48 19 FWD 38 32769 000a.8a8b.e780
127.48

  c3550-1#

  c3550-2#sh spanning-tree vlan 1

  VLAN0001
    Spanning tree enabled protocol ieee
    Root ID Priority 10
               Address 0030.7170.0480
               Cost 57
               Port 48 (FastEthernet0/48)
               Hello Time 3 sec Max Age 40 sec Forward Delay 20 sec

    Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
               Address 000a.8a73.dd00
               Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
               Aging Time 20

  Interface Port ID Designated Port
ID
  Name Prio.Nbr Cost Sts Cost Bridge ID
Prio.Nbr
  ---------------- -------- --------- --- --------- --------------------
--------
  Fa0/47 128.47 19 BLK 38 32769 000a.8a8b.e780
128.47
  Fa0/48 128.48 19 FWD 38 32769 000a.8a8b.e780
127.48

  c3550-2#

  ___________________________________________________________________________
___
  PREMIERE: Der Countdown laeuft! 3 Monate gratis + d-box 1 ab 1 Euro
  nur noch wenige Tage zu haben! http://premiere.web.de/?mc=999927&lp=2
   -----Urspr|ngliche Nachricht wurde als Attachment angehdngt.-----
  [TABLE NOT SHOWN]Hi Stefan, Your understanding is the same as mine, I
  mean on upstream but not on downstream. Please also refer to the same
  book "Cisco LAN Switching" (Clark), page 249. Unfortunately, I cannot
  find any such kind of clarification in the 3550 configuration guide.
  After I read the examples in this book, I got kind of illusion that on
  3550 this command, "spanning-tree vlan .. port-pri .. " should be put on
  the downstream switch directly. I am afraid if such a question asked in
  the real test. Asking me to put one port in forwarding to a vlan but
  block another and put another port in forwarding to another vlan but
  block the other. What should I do? That 's the reason I post this
  question here. Rgds, thanks for any response,Richard

    ----- Original Message ----- From: stefan vogtTo: Richard Hanks ;
    PrashanthCc: ccielab@groupstudy.comSent: Saturday, January 04, 2003
    1:51 PMSubject: Re: One question about 3550 Port Priority?
    Hello Prashanth, Hello Richard,

    Interesting stuff. I think the behavior should be adhere to the
    standard and be platform independent.

    Acording "Cisco LAN Switching" (Clark), page 228:
    ---snip---
    First notice that the non-Root Bridge must implement loadbalancing.
    Recall that all ports on the Root Bridge become Designated Ports and
    enter the Forwarding state. Therefore the non-Rot Bridge must select
    a single Root Port and place the other port in a Blocking state. ...
    Second, it is the received values that are being used here. Cat-A is
    not evaluating its own BID and Port ID, it is looking at the values
    contained in the BPDUs being received from Cat-B.
    ---snap---
    Note: In the scenario used here Cat-A is the non-Root Bridge, Cat-B
    is the Root Bridge.

    For my understanding that means that we have to adjust the port
    priority on the Root Bridge, the non-Root Bridge then decides which
    port to block depending on the received BPDUs.

    Does this match your findings?

    -Stefan

    "Richard Hanks" <ccieingroup@hotmail.com> schrieb am 04.01.03
    18:15:43:
> Hello ,
> You said you ever test this command on Cat 5000 switch and the "set
    spantree
> portvlanpri" command should be put on the downstream switch. I also
    asked this
> question to Chuck Church and got this helpful link about this
    issue. The
> detailed description are different from your test result. After you
    read it,
> may we talk about this issue further. Now I just wonder that
    whether on 3550,
> the "spanning-tree vlan .. port-pri .."comannd is the same as on
    the 5000's
> "set spantree portvlanpri command", which is definitely should be
    put on the
> upstream switch to influence the downstream switch's decision about
    which port
> should be blocked and which one should be in forwarding.
>
>
"http://www.cisco.com/en/US/tech/tk389/tk689/technologies_tech_note09186a0080
> 0ae96a.shtml"
>
>
> Thanks,
> Richard
> ----- Original Message -----
> From: Richard Hanks
> To: Prashanth
> Sent: Friday, January 03, 2003 9:48 PM
> Subject: Re: One question about 3550 Port Priority?
>
>
> Hi Prashanth,
>
> Thank you very much for your reply!
>
> Rgds,
> Richard
> ----- Original Message -----
> From: Prashanth
> To: ccieingroup@hotmail.com ; ccielab@groupstudy.com
> Sent: Friday, January 03, 2003 3:35 PM
> Subject: Re: One question about 3550 Port Priority?
>
>
> Richard,
>
> >Now I want to use the
> > "spanning-tree vlan ...
> > port-priority ..." commands to control which port on
> > switch B to be in the
> > block state. Where should I put the command
> > "spanning-tree vlan ...
> > port-priority ...", on switch A or on switch B, if A
> > is root for all Vlans and
> > all A ports are in forwarding state. Cisco never
> > mentioned in the "3550
> > configuration guide" that this command should be put
> > on the upstream switch to
> > influence downstream or put on the downstream
> > directly.
>
> the commands go on the trunk port of the downstream
> switch (non-root or designated bridge)
>
> I have not gone through the 3550 doc myself, I have
> tried this on the 29xx/35xx XL/Cat 5k switches and it
> works ... if it does not mention about the root switch
> you might want to Submit a feedback to Cisco and see
> what is their reply..
>
> -prashanth-
>
>
>
>
>
> --- ccieingroup@hotmail.com wrote:
> > Hi Prashanth,
> >
> > Thanks for your reply. I have read the link you gave
> > me. This example is the
> > same as what I read in "Catalyst 3550 Multilayer
> > Switch Software
> > configuration Guide.pdf" Chapter 10-26 Configuring
> > VLANs (Load Sharing Using
> > STP) and Chapter 14-15 configuring STP( Configuring
> > the port priority)."
> >
> > I just wonder why in this example, cisco didn't
> > mention which switch is the
> > root switch though it mentioned where to put the
> > commands. So let's assume
> > Switch A(or switch 1) is the root switch for all
> > vlans, there are two parallel
> > trunk connections between the switch A(switch 1) and
> > switch B(or said switch 2
> > in the real cisco example). Now I want to use the
> > "spanning-tree vlan ...
> > port-priority ..." commands to control which port on
> > switch B to be in the
> > block state. Where should I put the command
> > "spanning-tree vlan ...
> > port-priority ...", on switch A or on switch B, if A
> > is root for all Vlans and
> > all A ports are in forwarding state. Cisco never
> > mentioned in the "3550
> > configuration guide" that this command should be put
> > on the upstream switch to
> > influence downstream or put on the downstream
> > directly.
> > > Switch A (Root Bridge for all vlans)
> > > 0/1| |0/2
> > > 1/1| |1/2
> > > Switch B.
> >
> > I also refer to the "CCIE Professional Development
> > Cisco LAN Switching" Page
> > 249: Port/VLAN Priority- "set spantree portvlanpri"
> > can be used to load
> > balance between back-to-back switches. This
> > technique allows network
> > administrators to modify port ID values(Port ID=Port
> > priority + Port number)
> > on upstream switches to influence forwarding and
> > blocking decisions on
> > neighboring downstream switches."
> >
> > Thanks,
> > Richard
> > ----- Original Message -----
> > Wrom: DREXCAXZOWCO
> > To: Richard Hanks ; ccielab@groupstudy.com
> > Sent: Friday, January 03, 2003 2:13 AM
> > Subject: Re: One question about 3550 Port
> > Priority?
> >
> >
> > Switch B
> >
> >
> > if Switch A is the root bridge for all your VLANs
> > (all ports in forwarding)
> > and the only way to load-balance is by playing
> > with
> > the port priority on the downstream switch (B)
> >
> > say if you have 4 VLANS and Switch A is the Root
> > for
> > all the 4.... by default one of the trunk ports on
> > Switch B will be in blocking state...
> >
> > you can modify the port priority on one one trunk
> > port
> > for two vlans to be in forwarding state and two in
> > blocking state....similarly on the other so that
> > each
> > trunk port carries traffic from two VLANs... when
> > one
> > fails....one trunk carries all the traffic...
> >
> >
> >
>
    http://www.cisco.com/en/US/products/hw/switches/ps628/products_configurat
> io
> > n_guide_chapter09186a008007e8c7.html#xtocid45
> >
> > -prashanth-
> >
> >
> >
> > --- Richard Hanks <ccieingroup@hotmail.com> wrote:
> > > Hi Friends,
> > >
> > > I have a question here about the 3550 Port
> > Priority.
> > > Please refer to the
> > >
> > > "Catalyst 3550 Multilayer Switch Software
> > > configuration Guide.pdf" Chapter
> > > 10-26 Configuring VLANs (Load Sharing Using STP)
> > and
> > > Chapter 14-15 configuring
> > > STP( Configuring the port priority).
> > >
> > > My question is if two 3550 connected by two
> > trunk
> > > links like this one.
> > >
> > > Switch A (Root Bridge)
> > > 0/1| |0/2
> > > 1/1| |1/2
> > > Switch B.
> > >
> > > I want to use the "spanning-tree vlan 20
> > > port-priority ..." to make the Switch
> > > B's 1/1 in forwarding state for vlan 20 but 1/2
> > in
> > > the block state. Where
> > > should I put the "spanning-tree vlan ..
> > > port-priority" command on? I mean
> > > whether on Switch A's port 0/1 and 0/2 or Switch
> > B's
> > > 1/1 and 1/2. I mean
> > > whether the upstream switch or downstream switch
> > > directly.
> > >
> > > I also refer to the "CCIE Professional
> > Development
> > > Cisco LAN Switching" Page
> > > 249: Port/VLAN Priority- "set spantree
> > portvlanpri"
> > > can be used to load
> > > balance between back-to-back switches. This
> > > technique allows network
> > > administrators to modify port ID values(Port
> > ID=Port
> > > priority + Port number)
> > > on upstream switches to influence forwarding and
> > > blocking decisions on
> > > neighboring downstream switches."
> > >
> > > But I can't find any such description in the
> > 3550
> > > configuration guide. From
> > > the example of page 10-26. Though it mentioned
> > where
> > > to put the commands on,
> > > but it didn't mention which switch is the root.
> > >
> > > Appreciate for any help.
> > > Rgds,
> > > Richard
> > > .
> > >
> >
> >
>
    __________________________________________________________________
> > > To unsubscribe from the CCIELAB list, send a
> > message
> > > to
> > > majordomo@groupstudy.com with the body
> > containing:
> > > unsubscribe ccielab
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> > now.
> > http://mailplus.yahoo.com
> > .
> > .
> >
>
    __________________________________________________________________
> > To unsubscribe from the CCIELAB list, send a message
> > to
> > majordomo@groupstudy.com with the body containing:
> > unsubscribe ccielab
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> .
    _________________________________________________________________________
_____
    Keine Lust, immer Ihre Adressdaten in eine E-Mail zu schreiben? Mit
    der
    vCard ist Schluss damit! Infos -
    http://freemail.web.de/features/?mc=021153
    .

  .
.



This archive was generated by hypermail 2.1.4 : Sat Feb 01 2003 - 07:33:42 GMT-3