05-22-2006 03:48 AM - edited 03-03-2019 03:18 AM
hi
PS Look to this scenario:if have 2 dis switch;1 access switch.2 dis connected to each others(trunk).and the access swit it connected to each 2 distribution switch.look to this config:
dist1
int gig0/1
switchport trunk encap isl
switchport mode trunk
no sh
vtp domain test
vtp mode server
vlan 20 name vlan20
vlan 30 name vlan30
int vlan 20
ip address 10.1.1.10 255.255.255.0
standby 1 10.1.1.1
standby 2 timers 5 15
standby 1 preempt
standby 1 priority 110
dist2
int gig0/1
switchport trunk encap isl
switchport mode trunk
no sh
vtp domain test
vtp mode server
vlan 20 name vlan20
vlan 30 name vlan30
int vlan 20
ip address 10.1.1.11 255.255.255.0
standby 1 10.1.1.1
standby 2 timers 5 15
standby 1 preempt
standby 1 priority 105
access switch
vtp domain test
vtp mode client
int gig 0/1
switchport trunk encap isl
switchport mode trunk
ip default-gatway 10.1.1.1
do i creat same vlan20;30 on the 2 dist?do i configure the vtp mode server on the 2 dis?do i configure the vtp mode client on the access switch?PLZ CHECK ALL THESE CONFIG & ADVISE ME TO BEST CONFIG OR WHERE IS MY MISTAKE?
10XS FOR UR TIME
ALI
Solved! Go to Solution.
05-23-2006 12:16 AM
Hi Ali,
I appreciate you rating for all the posts which I have done.
You need to give a command on your 1st distribution switch as
"spanning-tree vlan 10,20 root primary"
and on your 2nd distribution switch as
"spanning-tree vlan 10,20 root secondary"
You can enter any vlan number for which you want your dist switches to be primary and secondary root bridge.
Make sure you issue these commands after arranging some time window in your network as configring this command will let the whole network to converge and there will be a complete STP calculation again so it will definetely disrupt the network for sometime.
HTH, if yes please rate the post.
Ankur
05-22-2006 03:54 AM
Hi Ali,
Your config looks to be ok with one mistake, you tried changing the HSRP default hello and hold timer with command "standby 2 timers 5 15 " but you have configured HSRP group as 1 so if you want hello and hold timer to be changed as 5 and 15 change the config for that to "standby 1 timers 5 15 "
Also you have configured trunk encapsulation as ISL. I will recommend you to go for dot1q for the first reason it is open standard and second is it will reduce your frame size as isl encapsulation is 30 bytes in all and dot1q is only 4 bytes of internal tagging.
Also no need to configure vlan 20,30 on access switch and 2nd distribution switch as you have already configured your dist switch 1 as VTP server so it will synch the VLAN information to the access switch as well as second dist switch also.
You can keep the second dist switch as VTP server which will take care of your VTP redundancy as if anychance first VTP server will go down secoind VTP server will take the charge.
HTH, if yes please rate the post.
Ankur
05-22-2006 04:00 AM
hi ankur 10xs 10xs for ur quik reply
do i need to creat the interface vlan20;30 on the second dist.and assigned to it different ip address?how can i configure the access switch if this access switch has 2 link to each dist.also i configured the port as trunk.what about the STP IN MY SCENARIO?
10XS
ALI
05-22-2006 04:05 AM
HI
Yes u have to create the interfaces vlan20,30 on 2dist and assign it different IPS.You have to configure u r access switch ports as trunk ports connected in two dist switches.
I would recommend u to make one of u r dist switch the root switch and the other dist switch secondry.
STP will block one of u r access switch link.
Thanks
Mahmood
05-22-2006 04:08 AM
Hi Ali,
Yes you have to create layer 3 interface for vlans on your distribution switch and assign it with ip address.
But I see you have already created interface vlan 20 on both of your distribution switches so you can just create intertface for vlan 30 only on both the distribution switches and assign with an ip address.
On access switch you do not need to create any vlans as it will be synched from the VTP server which is your distribution switches.
You just need to configure the links from access to distribution switch as trunk ports.
I will recommand you to configure your distribution switch 1 as a root bridge and distribution switch 2 as secondary root bridge.
HTH, if yes please rate the post.
Ankur
05-22-2006 04:20 AM
10xs for ur reply!
when i creat the interface vlan with different ip address in the 2 dist;waht about the standby 1 ip 10.1.1.1 ;still the same under each interface vlan with different ip address?
10xs
ali
05-22-2006 04:24 AM
hi Ankur
sorry but how can configure your distribution switch 1 as a root bridge and distribution switch 2 as secondary root bridge
10xs
ALI
05-22-2006 04:35 AM
hi
i mean different ip subnet in the above post
10xs
05-22-2006 05:26 AM
hi ali,
in order to have root bridge in switch network...lowest the bridge id will become a root bridge...and root bridge= lowest MAC address + priority....here u will fixed mac address so by changing the priority of the switch u can have root bridge...so in your case decrease the priority of your disswithc 1.....so it will become a root bridge...
regards
Devang...
05-22-2006 05:46 AM
HI Devang!
SIMPLE CONFIG VERY MUCH APPRECIATED!
ALI
05-22-2006 04:41 AM
HI
Ali
yes u have to use the same subnet but different IP address.the standby ip will be the same in both the switches.for e.g
switch1
interface vlan 2
ip address 1.1.1.2 255.255.255.0
standby 1 ip 1.1.1.1
standby 1 priority
standby 1 preempt
switch2
interface vlan 2
ip address 1.1.1.3 255.255.255.0
standby 1 ip 1.1.1.1
standby 1 priority
standby 1 preempt
Thanks
Mahmood
05-22-2006 04:48 AM
HI
why i creat 2 vlan 20 in the 2 dist and assigned to it different ip.when can i assigned to it different ip subnet?how can i configure configure switch 1 as root 1 and switch 2 as root 2?simple config to config this.
10xs
ali
05-22-2006 05:11 AM
hi
i try to ping from the access swit to the virtual ip(10.1.1.1) but no reply?i've assigned the ip default-gateway the virtual ip 10.1.1.1..what is the problem?
10xs
ali
05-22-2006 07:06 AM
Hi Ali,
When you are trying to ping from access switch to distribution switch can you please update what is the interface vlan configured on access switch?
Also have you configured any layer 3 interface on your access switch for management purpose?
Need to look at your access switch config also.
Regards,
Ankur
05-22-2006 07:47 AM
hi ankur
10xs for ur reply!
i configure my pc with the DG of the virtual ip.now i ping -t from the pc to the GW.i diconected the 1st distr;the time out is 3 time out than i got reply from the standby;ankur i need to reduce the time out to 1 TIME OUT.How can i achieve this
10xs Ankur for helped me always!
ali
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: