• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 118
  • Last Modified:

Cisco SG300 VLAN problem

In order to avoid running additional cables which is a monumental challenge we have added a Cisco SG300 switch at one end of the building.  Initially, it has been configured with two VLAN's, WLAN and IP Cameras.
VLAN 30 - Cameras
VLAN 40 - WLAN
Internetworked as follows:                                   2                   3                   4      
Sonicwall -------------- Cisco 3750G ------------------ Cisco SG300 ----------------- Cisco SG300 ------------- Cisco SG300 (New switch)  ----------- WAP
                     Trunk                                Trunk                                    Trunk                                  Trunk                                                   Access
There are two separate cable runs between the 3rd and 4th switches.  Using both as trunks one for cameras and the other for WLAN AP's.  The cameras are working fine.  The WLAN VLAN is not, can connect a laptop to the patch panel just before the 4th switch and have connectivity.  It's just when I patch into the 4th switch (new switch) that I can't get it to work.  Tried just an access port from the 3rd to 4th switch as well instead of a trunk port.   Also, tried different ports.  

Thanks
0
Webcc
Asked:
Webcc
  • 4
  • 4
1 Solution
 
Swapnil Ashokkumar PatelNetwork Infrastructure EngineerCommented:
Do we have Layer 2 VLAN on last switch ? and TRUNK Port which is coming from second SG300 Switch to Last Switch, Do we have allowed all VLANS on that trunk port configuration ?

Trunk Port Configuration :
[This two commands should be there on BOTH TRUNK ports - one is on Last switch and one port from second last SG300 switch]
conf t
interface [PORT NUMBER]
switchport mode trunk
switchport trunk encap dot1q

These commands will make Layer 2 VLAN on both Cisco switches. [Tese commands should be there on All SG300]
 
conf t
vlan 30
vlan 40
exit

Try it, if still not working, lets dig deep. Dont forget to save config :) "wr"

Thank you.

Swapnil
0
 
WebccAuthor Commented:
Last switch is set to L2, double and triple checked trunk port configuration on all the switches (allowed VLANs, etc).  VLAN 30 is working fine.  Was thinking of adding 40 to VLAN 30 trunk and see if it works that way.

??
0
 
Swapnil Ashokkumar PatelNetwork Infrastructure EngineerCommented:
If you can share configuration of last switch and second last switch as attachment, i will quick check it and confirm.

Also please share output of below command.

Show vlan
Show int trunk


Thank you

Swapnil
0
Turn Raw Data into a Real Career

There’s a growing demand for qualified analysts who can make sense of Big Data. With an MS in Data Analytics, you can become the data mining, management, mapping, and munging expert that today’s leading corporations desperately need.

 
WebccAuthor Commented:
Ok, will be back onsite over the weekend.  Will post at that time.

Thanks.
0
 
WebccAuthor Commented:
Here is the config's of the last switch and the second to last switch.

Can set an access port to VLAN 40 on the second to last switch and it works fine.  Tested the cable all the way back to last switch, which I'm using right now and no problems.

VLAN 30 works on the last switch fine.
Tried setting VLAN 40 trunk and access ports to different switchports on the last switch to no avail.

The interconnections between these two switches are correct.
Second to last switchport Gi26 ------------------  Last switch switchport Gi28  (VLAN 40)
Last-switch.txt
Second-to-last-switch.txt
0
 
Swapnil Ashokkumar PatelNetwork Infrastructure EngineerCommented:
Set default gateway ip address of second last switch ip address on last switch.

Ip default-gateway "second last switch ip address"

And also,

U create only vlan on last switch but you also have L3 interface vlan 40 and 30.

Try this command on last switxh,

No int vlan 30
No int vlan 40
No int vlan 75
Vlan 30
Vlan 40

Exit

Wr

Let me know if that helps.
0
 
WebccAuthor Commented:
I think it's actually a cable issue.  I added VLAN 40 to the trunk config of VLAN 30 on both switches and it works.
The cable tests fine, however - strange.
0
 
Swapnil Ashokkumar PatelNetwork Infrastructure EngineerCommented:
Yea but if its cable then  it should not work for one vlan either.
Anyways, ping if you got any other issue.

Thank you

Swapnil
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Become a Leader in Data Analytics

Gain the power to turn raw data into better business decisions and outcomes in your industry. Transform your career future by earning your MS in Data Analytics. WGU’s MSDA program curriculum features IT certifications from Oracle and SAS.  

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