[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 260
  • Last Modified:

Setup VLANS on two switches

Hello
I have two Cisco SLM224PT switches that I need to setup two VLANS between. Here is my setup.
Switch A is on the bottom floor of a building with network 192.168.1.x connected to G1 port and 192.168.2.x connected to G2 port. The switch is setup with ports 1-12 on VLAN 1 which is 192.168.1.x and ports 13-23 on VLAN 2 two 192.168.2.x. Port 24 is setup for a trunk and tagging is cut on. Port 24 is then connected to the second floor switch B to the G1 port.
Switch B is setup for 1-12 VLAN 1 and port 13-24 VLAN2. Port G1 is tagged and set for trunk.
On switch A all works as it should with both VLANS but on switch B only VLAN 2 works. I know I am missing something just can’t find it. Any suggestions?

Thanks
0
resd
Asked:
resd
  • 3
1 Solution
 
Nathan KaufmanCommented:
interface fe/24 (or whatever interface is setup for trunks on either switch)
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 1-2

Should be setup on both switches trunking ports.  Not sure if that's done or not for the 2nd switch.  You can do Console> (enable) show trunk to see if both trunks are setup to allow both vlans, I would run that on both switches
0
 
resdAuthor Commented:
Nate_IT

The problem is the SLM224 does not have a serial console port and does not support telnet. The only way to configure these are through the GUI.

While your answer would normally might work, it does not on these switches.

Thanks
0
 
penguinjasCommented:
SO in the gui, Check port 24 on switch A.  Verify it is set to 802.1Q, allowed vlans should be 1,2 and native vlan should be 1.

DO the same thing on Switch B for port G1.  They should be set identically.
0
 
resdAuthor Commented:
Just an update for all who answered.. After all the looking I ran show cdp neighbor command and found the port was different. After inspecting the cables, they were label wrong as to where they were going. Corrected that and the vlans worked. The switch was doing just as I asked I just had the wrong port!! Sometimes the sipmle things just bite you.

Thanks
0
 
resdAuthor Commented:
Show others how maybe a simple command is very powerfull to show what is connected where. Don't always trust what's labeled.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now