01-26-2019 05:45 AM - edited 03-05-2019 11:12 AM
I hope you can help me with this scenario , im new to networking (specially Cisco ) and i cant figure how to setup the uplinks .
i did try to configure the vlans but it didnt work with me .
also can you advice how to setup the spanning tree.
and if there is anything else i should do , i really appreciate your help
big thank you
Solved! Go to Solution.
01-26-2019 06:53 AM
Greetings,
First, I have pressed the bottom "I have this problem too" by mistake during reading your post.
Second, here is the solution I would recommend:
On the core switch (according to the topology you have provided):
Considering that you have created the vlans w,x,y,z
#interface range g1/0/46-48
#switchport trunk encapsulation dot1q
#switchport mode trunk
#switchport trunk allowed vlan w,x,y,z
#no shutdown
#interface range g2/0/46-48
#switchport trunk encapsulation dot1q
#switchport mode trunk
#switchport trunk allowed vlan w,x,y,z
#no shutdown
Regarding the spanning-tree, let's say that you want the left switch of the stack to be the root for vlan w and x while the right one to be the root of y and z,
you can use the following configuration:
#spanning-tree mode rapid-pvst
#interface range g1/0/46-48
#spanning-tree vlan y,z port-priority 16
(to make this links root for vlan w,x)
#interface range g2/0/46-48
#spanning-tree vlan w,x port-priority 16
(to make this links root for vlan y,z)
Now, you will not need to do something else in the core (regarding the vlans and the spanning-tree.
For the access switches, you will need to tag the vlans on the links connected to the core switch and so on!
Please don't forget to rate any helpful responses and mark solutions!
Bst Rgds,
Andrew Khalil
01-26-2019 07:04 AM
Greetings,
Happy to help you,
I have built my configuration guide based on what you have drawn in you topolgy diagram, I guess no need to connect access switches with each others, your topology is okay!
Please, don't forget ot RATE all helpful responses and MARK solutions,
Bst Rgds,
Andrew Khalil
01-26-2019 06:05 AM
here is the sample configurationon high level, tweak as per rquirement.
interface GigabitEthernet1/0/46
switchport trunk allowed vlan 5,10,15,20,25
switchport mode access <-- this should be trunk -switchport mode trunk
!
interface GigabitEthernet1/0/47
switchport trunk allowed vlan 5,10,15,20,25
switchport mode access <-- this should be trunk -switchport mode trunk
!
interface GigabitEthernet1/0/48
switchport trunk allowed vlan 5,10,15,20,25
switchport mode access <-- this should be trunk -switchport mode trunk
Same configuration need to be applied for the below ports
!
interface GigabitEthernet2/0/4
!
interface GigabitEthernet2/0/5
!
interface GigabitEthernet2/0/6
here is the example guide for reference :
http://itpeopleworld.blogspot.com/2011/12/cisco-and-hp-procurve-trunk-8021q.html
01-26-2019 06:46 AM
i tried as you said
ORX-SW-SR01(config-if)#switchport trunk allowed vlan 5,10,15,20,25
ORX-SW-SR01(config-if)#switchport mode trunk
Command rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode.
01-26-2019 06:55 AM
you need to type first:
#switchport trunk encapsulation dot1q
then:
#switchport mode trunk
#switchport trunk allowed vlan 5,10,15,20,25
#no shutdown
Please don't forget to rate any helpful responses and mark solutions!
Bst Rgds,
Andrew Khalil
01-26-2019 06:53 AM
Greetings,
First, I have pressed the bottom "I have this problem too" by mistake during reading your post.
Second, here is the solution I would recommend:
On the core switch (according to the topology you have provided):
Considering that you have created the vlans w,x,y,z
#interface range g1/0/46-48
#switchport trunk encapsulation dot1q
#switchport mode trunk
#switchport trunk allowed vlan w,x,y,z
#no shutdown
#interface range g2/0/46-48
#switchport trunk encapsulation dot1q
#switchport mode trunk
#switchport trunk allowed vlan w,x,y,z
#no shutdown
Regarding the spanning-tree, let's say that you want the left switch of the stack to be the root for vlan w and x while the right one to be the root of y and z,
you can use the following configuration:
#spanning-tree mode rapid-pvst
#interface range g1/0/46-48
#spanning-tree vlan y,z port-priority 16
(to make this links root for vlan w,x)
#interface range g2/0/46-48
#spanning-tree vlan w,x port-priority 16
(to make this links root for vlan y,z)
Now, you will not need to do something else in the core (regarding the vlans and the spanning-tree.
For the access switches, you will need to tag the vlans on the links connected to the core switch and so on!
Please don't forget to rate any helpful responses and mark solutions!
Bst Rgds,
Andrew Khalil
01-26-2019 06:59 AM
thank you for your response , i will give it a try and let you know my feedback .
another question , on the 3 x HP switches , do i need to connect them to each other by uplinks ?
or the core switch uplinks are enough?
01-26-2019 07:04 AM
Greetings,
Happy to help you,
I have built my configuration guide based on what you have drawn in you topolgy diagram, I guess no need to connect access switches with each others, your topology is okay!
Please, don't forget ot RATE all helpful responses and MARK solutions,
Bst Rgds,
Andrew Khalil
01-26-2019 07:06 AM
Thank you very much appreciated :D :D :D <3
01-26-2019 07:08 AM
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