03-17-2022 12:39 AM
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
03-17-2022 01:07 AM
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.
03-17-2022 01:41 AM
Hi Balaji,
Thanks for your reply. I will update this post as soon as I tried the configuration.
regards,
Mike
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