Re: switch configuration

From: Chris Lewis (chrlewiscsco@yahoo.com)
Date: Sun Nov 27 2005 - 19:20:14 GMT-3


Hi Ralph,
   
  Please check this with reference to the show spanning tree vlan X command on the non-root switch, where X is the vlan you want to investigate. You are correct that setting the bandwidth on an interface affects cost and hence which port on the non-root bridge is used for forwarding, but that is set for all vlans, it is not a per vlan setting to my knowledge.
   
  Chris

Ralph <Mandela@myrealbox.com> wrote:
  SW1--------------------SW2

ports 13 and 14 are trunking on both switches.

The basic idea is to modify the bandwidth of port 13 of SW2. Since path cost is derived from the bandwidth. This will make port 14 on SW2 the root port for VLANs 22,23. Here is a sample:

SW1 is made the root for VLANS 22, 23

SW2 is made the root for VLANS 32, 33

SW1#sh interfaces trunk

Fa0/13 1,22-23,32-33
Fa0/14 1,22-23
SW1#

SW2#sh interfaces trunk

Fa0/13 1,22-23,32-33
Fa0/14 32-33
SW2#

There is no load-balancing yet. All Vlans use Port 13 on both switches.

To load -balance: Instead of using port cost on SW2 port 13, you can modify the bandwidth from the default of 100000 to 10000. Since path cost is derived from bandwidth.
hostname SW2

interface FastEthernet0/13
switchport trunk encapsulation dot1q
switchport mode trunk
bandwidth 10000
!

SW1#sh interfaces trunk

Fa0/13 1,22-23,32-33
Fa0/14 1,22-23
SW1#

SW2#sh interfaces trunk

Fa0/13 32-33
Fa0/14 1,22-23,32-33
SW2#

Now Load-balancing and failover is accomplished using spanning tree.

HTH
Ralph.

-----Original Message-----
From: Rajib Khan
To: "ccielab@groupstudy.com"
Date: Thu, 24 Nov 2005 07:32:44 -0800 (PST)
Subject: switch configuration

Hi Group

Could any one please help me with the followings

SW1 ------------ SW2

There are 2 trunk port between sw1 and sw2, I want to send vlan 22,23 via one link and 32,33 other link but if one link fails then other link should forward all vlans. Is there any way can you achieve this with out using port priority and port cost

Thanks in advance

Raj

---------------------------------
Yahoo! Personals
Single? There's someone we'd like you to meet.
Lot's of someone's, actually. Try Yahoo! Personals



This archive was generated by hypermail 2.1.4 : Thu Dec 01 2005 - 09:12:08 GMT-3