cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6817
Views
0
Helpful
14
Replies

Trunk port between Small Business SG300-52 and Catalyst 3560.

JHVindasC
Level 1
Level 1

Hi all,

I want to connect a Small Business to the 3560.

I did follow this guide to try to understand how is it working: Cisco 200/300 models

 

 

> 3560

interface g0/1

 switchport trunk encapsulation dot1q

 switchport mode trunk

 

 

> SG300-52

Port g49

Set it as trunk port, allowed vlans 1, 100.

All VLANs tagged in that port.

 

Port g50

Set it as access port, vlan 100 untagged. Also PVID marked.

 

I can't ping the 3560 or the gateway. No internet access also.

Any advice would be appreciate it.

 

Thanks.

14 Replies 14

Hello,

Assuming you are facing a layer two problem as you suppose:

show interface g0/1 switchport on 3560

show run interface g0/1

show interface g0/1 status

show spanning-tree interface g0/1 detail

 

Hi Flavio,

I just upload the log with the commands you said.

 

 

  The Core switch part looks ok:

Port Name Status Vlan Duplex Speed Type
Gi0/1 connected trunk a-full a-1000 10/100/1000BaseTX

SWITCH-CORE-1#show spanning-tree interface g0/1 detail
Port 1 (GigabitEthernet0/1) of VLAN0001 is designated forwarding

 

The problem now is validate the SG300 with web interface but as per your prints looks ok. 
Can you explain better how does layer 3 setup works on your case. I mean, layer 2 setp looks ok, but what about layer 3?
 You can put a simple draw if possible.

 

This is what we want to accomplish, this part it's not a problem. (SG300 it's not in the draw)

We're trying to connect the SG300 to the SWITCH-CORE-1.

 

 

The thing is, as long as the trunk on the core switch is shown as connected and the port is shown by spanning-tree as forwarding, this means that the communication in layer 2 should be ok.

 If you dont ping the gateway, which should be the first test to do, we need to think if layer 3 configurations is correct.

 How does the PC connected on the access point of SG is geeting IP? is it DHCP or static IP?

 If DHCP is it really getting IP or woring with APIPA address? If static Is it correctly configured in terms of subnet mask?  
 What I mean is that to ping and surf on the web we need all layers ok. For your case, I´d say that L1 e L2 is ok. 

We're using static IP in the PC to test, it is assigned to VLAN 100 which is 10.57.80.0/24.

 

PC: 10.57.80.100

Gateway: 10.57.80.1

 

I was thinking in do a factory reset and upgrade the firmware of the SG300, I don't know what else to do.

EDIT: Our gateway is an Hillstone UTM, we're managing this with subinterfaces in it. But still, we can't even ping the SWITCH-CORE-1.

Krash Mole
Level 1
Level 1

please share configuration of all your devices....

Hi Krash,

I just upload the show running config log and a couple screenshots of the current configuration on the SG300-52.

The SG300-52 file it's a rar actually, so you have to change the extension to see all the screenshots.

Hi,

 

This may be due to the interface on your Cisco Catalyst 3560 not having VLAN 100 as a defined VLAN.

 

To verify this, issue the following command on the Cisco Catalyst 3560;

sh interface Gi0/1trunk

I would assume that you would need to allow the VLAN for this to function as intended;


*Cisco Catalyst 3560*

!
interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,100
switchport mode trunk
!

 

Hope this helps

 

Regards

 

Matt Jones

Hi Matt,

I did test with the "switchport trunk allowed vlan 1,100" with the same result, still nothing.

Thank you.

Thanks for the reply.

Could you share with me the sh int Gi0/1 trunk output.

Regards

Matt

Of course,

 

SWITCH-CORE-1#show inter g0/1 trunk

Port        Mode             Encapsulation  Status        Native vlan
Gi0/1       on               802.1q         trunking      1

Port        Vlans allowed on trunk
Gi0/1       1,100

Port        Vlans allowed and active in management domain
Gi0/1       1,100

Port        Vlans in spanning tree forwarding state and not pruned
Gi0/1       1,100
SWITCH-CORE-1#

Thanks,

You may have already confirmed this, however has VLAN 100 been created on the SG300?

No problem, yes, it is created in the SG300 aswell.

Also tagged in the g49 port (Trunk).

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco