02-15-2023 03:47 AM
Can i get knowledge about VTP(virtual trunking protocol) ! actually I want to make a backup uplink in a cisco switch where both uplink will run at a time and uplink through RF and fibre. If fibre will down RF shall autometically active.
In that case my workplace will run in zero tolarence, zero breakdown. Is it possible !! if possible how to active this config, kindly suggest.
02-15-2023 07:04 AM
your issue is need STP design not VTP.
02-15-2023 08:38 PM
Okay, Can u explain how does it works ! actually I just beginer in this topic
02-17-2023 04:18 PM
02-19-2023 09:10 PM
Can you please share CLI !
02-19-2023 09:34 PM - edited 02-19-2023 09:40 PM
Hello sir,
First i breif you above snap, currently I have connected OFC uplink in between SW1 and SW2, RF uplink is not connected but it is keeping as a backup for SW2 as SW2 site is very critical for us.If OFC will goes down I will connect RF uplink manully.
Now can you please tell wheather can I connect both uplink in SW2 togather ! if yes can you share it cofiguration or CLI !
Switch model - SG300-10PP, SG350-10PP.
current SW config- config-file-header
GATE-1
v2.5.8.15 / RCBS3.1_930_871_084
CLI v1.0
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
!
unit-type-control-start
unit-type unit 1 network gi uplink none
unit-type-control-end
!
cdp device-id format hostname
vlan database
vlan 5,10,20,30,40,50,60,70,80,90,100,110,120,130,140,150,160,170,200
exit
voice vlan oui-table add 0001e3 Siemens_AG_phone
voice vlan oui-table add 00036b Cisco_phone
voice vlan oui-table add 00096e Avaya
voice vlan oui-table add 000fe2 H3C_Aolynk
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone
voice vlan oui-table add 00e075 Polycom/Veritel_phone
voice vlan oui-table add 00e0bb 3Com_phone
bonjour interface range vlan 1
hostname GATE-1
passwords complexity min-classes 1
username cisco password encrypted $15$5xP/1jDZjjOXq7of$NGbmWIIr0ynZ0+ih6YaqNTR11uBF9tZ9a4ERyoCoMfyu0kzhXDA7tec7OvXL+R7O4ADRnGzraYmwcFXKUN3koA== privilege 15
ip ssh server
snmp-server server
snmp-server location SHYAM-COLONY-GATE
ip telnet server
!
interface vlan 1
ip address XXXXXXXX XXXXXXXXX
no ip address dhcp
!
interface vlan 5
name SERVER-VLAN
!
interface vlan 10
name IT_ACCOUNT_BLDNG
!
interface vlan 20
name ADMIN_BLDNG
!
interface vlan 30
name SCML_CCR_BLDNG
!
interface vlan 40
name CMCL_CCR_BLDNG
!
interface vlan 50
name STORE_MECH_ELECTRIC
!
interface vlan 60
name CIVIL_COAL-OFFICE
!
interface vlan 70
name COLONY_AREA_VLAN
!
interface vlan 80
name BULK_LOADING
!
interface vlan 90
name AUTOMOBILE&COAL_YARD
!
interface vlan 100
name WIRELESS_UBIQUITY
!
interface vlan 110
name BLANK
!
interface vlan 120
name PLANT-PLC
!
interface vlan 130
name SCML-CRUSHER
!
interface vlan 140
name MPL
!
interface vlan 150
name PLANT-CCTV
!
interface vlan 160
name SCHOOL-DATA
!
interface vlan 170
name SCHOOL-CCTV
!
interface vlan 200
name WIRELESS
!
interface GigabitEthernet1
spanning-tree portfast
!
interface GigabitEthernet2
spanning-tree portfast
!
interface GigabitEthernet3
spanning-tree portfast
!
interface GigabitEthernet4
spanning-tree portfast
!
interface GigabitEthernet5
spanning-tree portfast
switchport access vlan 150
!
interface GigabitEthernet6
spanning-tree portfast
switchport access vlan 150
!
interface GigabitEthernet7
spanning-tree portfast
switchport access vlan 150
!
interface GigabitEthernet8
spanning-tree portfast
switchport access vlan 150
!
interface GigabitEthernet9
spanning-tree link-type point-to-point
switchport mode trunk
!
interface GigabitEthernet10
spanning-tree link-type point-to-point
switchport mode trunk
!
exit
02-20-2023 01:34 AM
we understand your required in the orginal post and we suggest below : (what part you have not understand here or did you get chance to read the document ?)
You do not see major config on the switch, you configure the same like OFC port config, the STP Block automatically when the switch see the Loops in the network, when you shutdown the OFC Link , since its loop free then Wireless link go in forward mode.
You need to adjust the cost and priority of the Fibre Link vs RF Link.
to get concept above document help you also below video explain for more clarity :
02-21-2023 03:42 AM
Can u share STP config CLI ! currently my uplink port configurartion is as below and what config i need to add !
interface GigabitEthernet9
spanning-tree link-type point-to-point
switchport mode trunk
!
interface GigabitEthernet10
spanning-tree link-type point-to-point
switchport mode trunk
02-21-2023 06:24 AM
i would suggest to use Rapid spanning tree for fast convergency :
Spanning Tree > STP Status and Global Settings. Enable RSTP.
that config should work - you need to test (as per the toplogy you posted)
spanning-tree link-type {point-to-point | shared}
no spanning-tree link-type
Syntax Description
point-to-point
Specify that the link type of an interface is point-to-point.
shared
Specify that the link type of an interface is shared.
Defaults
The switch derives the link type of an interface from the duplex mode. A full-duplex interface is considered a point-to-point link, and a half-duplex interface is considered a shared link.
02-21-2023 07:22 AM
Well, if gigs 9 and 10 are your uplinks, you need to indicate which is the primary/preferred (/fiber) interface and which is the secondary (/wireless) path.
Then you add the STP interface configuration to match which interface STP will first block.
What configuration changes to make have been suggested in several other posts.
BTW, you don't need to use exactly the same suggested values, or even configure both uplinks. You just need to insure your preferred interface "looks" better to STP than your backup interface.
02-15-2023 02:30 PM
you need to provide more information, what device model and ios code running both the side, how is your setup config right now :
you can start from here :
https://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/10555-15.html
02-15-2023 08:46 PM
Sir, Find attached image and below detail
SG300-10PP,
v2.5.8.15 / RCBS3.1_930_871_084
CLI v1.0
02-16-2023 12:46 AM
You need to adjust the cost and priority of the Fibre Link vs RF Link.
to get concept above document help you also below video explain for more clarity :
02-17-2023 04:12 PM
Assuming your diagram should also have a connection between SW1 and the wireless AP (?), you've created a "L2 loop" which, as the other posters have noted, can be dealt with using a STP variant.
STP will logically block one of the two paths, breaking the loop. You can configure it to determine which is the primary and secondary paths. If primary path is active, STP will block secondary path. If primary path is "broken", STP will (automatically) unblock the secondary path. (If broken primary path is fixed, STP will again [automatically] block secondary path.)
I.e. STP would seem to be what you want to use.
BTW, there are multiple variants of STP, generally you want to use one with "rapid" in its description.
02-17-2023 08:14 PM
Yes Joseph thank you for your reply, You totaly understand my issue.
Can you please share its CLI !!
And withing my organization currently running apprx 75 CISCO switches. now should I configure above setting in all switches or else those switches which i want to make dual uplink.
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