11-25-2007 07:01 AM - edited 03-05-2019 07:36 PM
Hello!
plz Examine the Attached Topology!
i have 2 Distribution Connected togather Via L2 Link;GLBP Runing as a gateway Load Balency
cONFIGURATION LOOK LIKE THIS:
DS-1
int vlan 10
ip address 1.1.1.2 255.255.255.0
glbp 10 ip 1.1.1.1
glbp 10 priority 120
glbp 10 preempt
!
Ds-2
int vlan 10
ip address 1.1.1.3 255.255.255.0
glbp 10 ip 1.1.1.1
!
I HAVE Aplied this Config for 3 Vlans ..10 20 -30
now I have to Know if i need to configure STP FOR ALL VLAN'S..10-20-30.or its done bu default by STP
IF SO LET ME KNOW THE EXACT STP CONFIG?
10XS
11-25-2007 07:21 AM
After creating the Vlan's there is no need for further configuring STP unless you need to fine tune the timers for faster convergence which is not recommended by Cisco.
Each Vlan will have it's own instance of RSTP.
Remember you must have a GLBP address for each Subnet; meaning one GLBP Group for Vlan 10, one for Vlan 20, and one for Vlan 30.
Best Regards
11-25-2007 07:37 AM
hello
i mean this stp config config:
DS-1
spanning-tree vlan 10 ROOT Primary
spanning-tree vlan 20 ROOT secondary
DS-2
spanning-tree vlan 10 ROOT secondary
spanning-tree vlan 20 ROOT Primary
THE ABOVE WHAT I MEAN
10XS
11-25-2007 11:32 AM
This is an option to guarantee which switch will win the election as the Root Bridge by lowering their priority.
It is totally optional, and it should reflect the needs of your network design.
According to your diagram, by setting the root bridge to be different per Vlan, you will load balance your traffic as specified.
Example:
Vlan 10 and 30 - traffic will be forward to DS-1
Vlan 20 - traffic will be forwarded to DS-2
That is if you complete the config as follow:
DS-1
spanning-tree vlan 10 ROOT Primary
spanning-tree vlan 20 ROOT secondary
spanning-tree vlan 30 ROOT Primary
DS-2
spanning-tree vlan 10 ROOT secondary
spanning-tree vlan 20 ROOT Primary
spanning-tree vlan 30 ROOT secondary
Best Regards
11-26-2007 03:58 AM
Hello
10xs fir ur reply.
without these it work??so what about the election of Root Bridges for Vlans?
DS-1
spanning-tree vlan 10 ROOT Primary
spanning-tree vlan 20 ROOT secondary
spanning-tree vlan 30 ROOT Primary
DS-2
spanning-tree vlan 10 ROOT secondary
spanning-tree vlan 20 ROOT Primary
spanning-tree vlan 30 ROOT secondary
11-26-2007 04:21 AM
Hi Ali
Are there any access-layer switches in this topology ?. If so the above configuration will do a sort of load balancing of your layer traffic ie. vlans 10 & 30 will use DS1 as it active path and vlan 20 will use vlan 20 as it's active path.
It is recommended to set root and secondary switches in your topology rather than leave it to chance.
HTH
Jon
11-04-2011 04:36 AM
Question regarding this original posting, I have completed the same type of changing implement glbp & stp channging the priority however upon reviewing the various vlan I'm unable to see one of my vlan when running the show command...show spanning-tree root which gives me the indication that I operating without a secondary bridge for that particular vlan.
GLBP working great as it should be the spanning issue concerns me because this is where the majority of my server are located.
thanks
Lewis Walker
Ohio
11-26-2007 05:05 AM
The topology will work anyway, even without setting the primary and secondary roots. The position of the layer-2 STP root is independent of the position of the layer-3 active router. If you don't specify which switch is the root, then the protocol will select one according to its own rules, which may not be the optimum result.
However, the routing will be optimised if you adjust the STP and the GLBP/HSRP so that they correspond. That is, it is best that for each VLAN, the active router is the same as the Spanning Tree primary root.
Kevin Dorrell
Luxembourg
11-26-2007 09:04 AM
Hello!
10xs for all ur reply!
11-26-2007 12:25 PM
Hello again!
but i think its mandatory not optional to configure wchich the root primary and what is the root secondary.to avoid the STP Calculation that maybe affect the Link Utilisation
any clear idea?
10xs
11-28-2007 10:01 AM
Hello Again!
what about this Config according the Diagram:
DS-1
spanning-tree vlan 10 ROOT Primary
spanning-tree vlan 20 ROOT Primary
spanning-tree vlan 30 ROOT Primary
DS-2
spanning-tree vlan 10 ROOT secondary
spanning-tree vlan 20 ROOT secondary
spanning-tree vlan 30 ROOT secondary
is this Config work perfect.?i dont think so because the DS2 Remain Idle..plz do remebere GLBP Acts as a gatewayload balance
any Reply here?10xs a lot
11-28-2007 12:39 PM
This configuration will set the Access Layer Switches to forward all their traffic to the distro via DS-1.
All the ports of the access layer switches that are connected to the DS-2 switch, will be in discarding/blocking mode.
According to your diagram GLBP is active from the distro to the Core.
Finally if you want to utilize both links to the distro, you can set the Access Layer Switches to connected to the Distro Layer Switches via L3 links, rather than L2 trunks.
For the above to happen, you must:
1) Have L3 switches on the Access layer.
2) Configure the ports to the distro switches as routed ports.
3) Configure an Internal routing protocol on the Access Layer Switches, so that it includes all the networks configured on the Vlans, and the networks connecting the links to the distro.
4) Configure a Vlan interface as the default gateway for that specific network.
If you have ip cef enabled, as it is the default, after your network converges,ip cef will take care of the load balancing.
If you do not have ip cef enabled, then the routing protocol should take care of the load balancing.
Best Regards
11-29-2007 07:04 AM
Hi!
u didn't answer my concerne but 10xs at all.I USED l2 Link from accesses to DSs.any Advises from experts..10xs
11-29-2007 08:32 AM
DS-1
spanning-tree vlan 10 ROOT Primary
spanning-tree vlan 20 ROOT Primary
spanning-tree vlan 30 ROOT Primary
DS-2
spanning-tree vlan 10 ROOT secondary
spanning-tree vlan 20 ROOT secondary
spanning-tree vlan 30 ROOT secondary
This configuration above will not be perfect if you want to load balance between the two distro switches; which is why DS-2 is Idle as you have stated.
BEST CONFIGURATIONS TO LOAD BALANCE FROM ACCESS TO DISTRO VIA LAYER 2.
Vlan 10 and 30 - traffic will be forward to DS-1
Vlan 20 - traffic will be forwarded to DS-2
That is if you complete the config as follow:
DS-1
spanning-tree vlan 10 ROOT Primary
spanning-tree vlan 20 ROOT secondary
spanning-tree vlan 30 ROOT Primary
DS-2
spanning-tree vlan 10 ROOT secondary
spanning-tree vlan 20 ROOT Primary
spanning-tree vlan 30 ROOT secondary
OR
Vlan 20- traffic will be forward to DS-1
Vlan 10 and 30 - traffic will be forwarded to DS-2
That is if you complete the config as follow:
DS-1
spanning-tree vlan 10 ROOT Secondary
spanning-tree vlan 20 ROOT primary
spanning-tree vlan 30 ROOT Secondary
DS-2
spanning-tree vlan 10 ROOT primary
spanning-tree vlan 20 ROOT secondary
spanning-tree vlan 30 ROOT primary
Best Regards.
P.S. (Advises from experts..10xs) I'm a CCNP with 10 years in the networking field.
11-29-2007 08:39 AM
jorgenolla my Freind,(Advises from experts..10xs)y have got wrong i didnt intend any thing in this.appreciate ur response to me beleive me.OK.now i will take ur suggestion about this:
I Have 65 VLANS.I Will make DS1 root for the even vlan(12) and DS2 for ODD VLAN(11) now what is ur suggestion?
10xs a lot freind
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide