Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 100
  • 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
Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

 
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

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

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