07-03-2023 05:38 PM
I have 2 Cisco CBS350 switches. They are connected by fiber. I am trying to setup a VLAN (20) on port 1 of each switch to isolate the 2 machines so they can only see each other. I have create VLAN 20 on each switch. I have setup each fiber port as Trunked with with access to both VLANS ( 1U, 20T ). I then setup port 1 on each switch as access to VLAN 20 ( 20U ). These 2 machines will not see each other.
Solved! Go to Solution.
07-05-2023 10:58 AM - edited 07-05-2023 10:59 AM
Here is an update. I could not get default interface xxxx to work. Is said % Unrecognized command.
I configured a older SX550X switch and connected to switch 1 via Fiber cable. Hooked the 2 pcs up and I could ping just fine.
I did the same this with the SX550 to switch 2 and worked perfect. I would think that means both switches are configured correctly. I then hooked up switch 1 to switch 2 - not working. The only 2 differences is that the 2 switches are both CBS350's and the fiber between the 2 is single mode.
07-05-2023 11:06 AM
wow...it does not have the command default interface then. No problem.
Try to setup IP address on the vlan and ping from one to another, just to make sure you can communicate.
Switch 1
int vlan 30
ip add 192.168.30.1 255.255.255.0
Switch 2
int vlan 30
ip add 192.168.30.2 255.255.255.0
Then from switch 2 try to ping switch 1.
07-05-2023 11:27 AM
PC Behind switch 1 can ping 192.168.30.1 but not 2. PC Behind switch 2 can ping 192.168.30.2 but not .1
07-05-2023 11:32 AM
and switch 1 can not ping switch 2 ? if yes ,the problem is on the link between switches.
Are the configurartion for the trunk port like this?
!
interface TenGigabitEthernet1/0/22
switchport mode trunk
switchport trunk allowed vlan 1,30
!
07-05-2023 11:41 AM
Switches cannot ping. Vlan 1 is fine.
Here is the config:
Switch 1
!
interface TenGigabitEthernet1/0/22
switchport mode trunk
switchport trunk allowed vlan 1,30
!
Switch 2
!
interface TenGigabitEthernet1/0/1
spanning-tree link-type point-to-point
switchport mode trunk
switchport trunk allowed vlan 1,30
macro description switch
!next command is internal.
macro auto smartport dynamic_type switch
!
07-05-2023 11:43 AM
When you say vlan 1 is fine, do you mean, you can ping one switch to another using vlan 1? if yes, no problem with trunk then.
But if you can not ping also using vlan 1, then I would try to remove some config on the below interfaces
Switch 2
!
interface TenGigabitEthernet1/0/1
no spanning-tree link-type point-to-point
switchport mode trunk
switchport trunk allowed vlan 1,30
no macro description switch
!next command is internal.
no macro auto smartport dynamic_type switch
!
07-05-2023 11:47 AM
Yes everything connected to VLAN1 communicates just fine. Only VLAN 30 does not work between switches.
07-05-2023 11:49 AM
alright, we have a tag problem then. Vlan 1 is not tagged and that´s why it works.
Can you try to remove those line I put "no" on it ?
07-05-2023 12:07 PM
Do you know can these be removed by port? I am not seeing that.
07-05-2023 12:11 PM
It should be
conf t
interface TenGigabitEthernet1/0/1
no spanning-tree link-type point-to-point
no macro description switch
no macro auto smartport dynamic_type switch
07-05-2023 12:15 PM
Here is what is gives:
IT-CBS350-24T#config t
IT-CBS350-24T(config)#interface TenGigabitEthernet1/0/1
IT-CBS350-24T(config-if)#no spanning-tree link-type point-to-point
% Wrong number of parameters or invalid range, size or characters entered
IT-CBS350-24T(config-if)#no macro description switch
% Wrong number of parameters or invalid range, size or characters entered
IT-CBS350-24T(config-if)#
07-05-2023 12:30 PM - edited 07-05-2023 12:31 PM
The command it different.
witchxxxxxx(config)# interface TenGigabitEthernet1/0/1
switchxxxxxx(config-if)# no spanning-tree spanning-tree link-type
07-05-2023 12:27 PM
I have it down to this
!
interface TenGigabitEthernet1/0/1
switchport mode trunk
switchport trunk allowed vlan 1,30
macro auto smartport type switch $native_vlan 1
!
07-05-2023 12:47 PM
Remove this one more and test please
interface TenGigabitEthernet1/0/1
no macro auto
07-05-2023 06:16 PM
OK. It is working now! Thank you for you held and patience!!
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