cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
657
Views
0
Helpful
2
Replies

Switch 3850 and 2960 x-series using Fiber/SFP Connection or port

michael.raytan
Level 1
Level 1

Hi guys,

I would like to connect 2 cisco switches using its SFP ports, if you guys can give the cli commands for both switches it will be much appreciated.

Thanks in advance.

 

Regards,

Michael

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

Example:
SW1(config)#interface gigabitethernet 1/1
SW1(config-if)#switchport mode trunk
SW1(config-if)#end

Example:
SW2(config)#interface gigabitethernet 1/1
SW2(config-if)#switchport mode trunk
SW2(config-if)#end


If you like to restrict only certain vlan example : 20, 30 vlan only below command works

SWX(config-if)#switchport trunk allowed vlan add 20,20

 

Note : when you using SFP, make sure both the the side same SFP Model

This is basic config to enable trunk between switches.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hi Balaji,

 

Thanks for your reply. I will update this post as soon as I tried the configuration.

 

regards,

Mike