cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1567
Views
4
Helpful
6
Replies

Configuring a 3560 Switch for Testing Purposes

Matthew Martin
Level 5
Level 5

Hello All,

Switch to Configure: Cisco 3560G, 48-Port POE

I have this older switch at my desk that I want to use for testing and configuring devices, like IP Phones, Access Points, etc...

This switch is no longer used in our production network, so now I want to use it as basically like an unmanaged switch that will put whatever I plug into it onto the network and get their IP Address from the DHCP configured on the Core Switch (*4510R+E, which is where this 3560 switch directly connects to).

So I had erased all the configuration on the 3560 switch and brought it back to factory default settings (*issued "no ip routing" too, don't remember if this is right or not). And doing that was enough to have devices I plugged into it to get put onto the main Vlan configured on the 4510R+E (*standard Access Vlan for PCs is Vlan114 on 4510).

But, if I plug an IP Phone into any of the Ports on the switch, it gets an IP Address in the "Main" Vlan (*Vlan114 on Core Switch).

So what would I need to do, to allow the regular Access Vlan (*Vlan114 on 4510) and the Voice Vlan (*Vlan124 on 4510) to work on this switch so the correct IP addresses are assigned from the 4510? As a Side note, I have CDP enabled, and the "show cdp nei" command shows that I currently have the 4510 on Fa0/1, Access Points on Fa0/38 and Fa0/10, and an IP Phone on Fa0/3.

The port on the 4510 where this switch connects to is configured like a regular "User" port at the moment, like this:

interface GigabitEthernet8/28
switchport access vlan 114
switchport mode access
switchport voice vlan 124
auto qos voip cisco-phone
qos trust device cisco-phone
spannin-tree portfast ----> *Removed


I thought I should change this port to "switchport mode trunk", but this stopped my laptop which is also connected to the 3560 switch at my desk to no longer be able to ping the 4510 anymore. Changing it back to "switchport mode access" re-established the connection to the 4510...

To get this to work the way I described above, do I need to create all the Vlans on the Switch that I want to be able to use and assign the Vlan Interfaces IP Addresses and all that stuff?

Any thoughts or suggestions would be greatly appreciated!

Thanks in Advance,
Matt

6 Replies 6

Marco Pinheiro
Level 1
Level 1

Hi Matthew

Your switch should have a trunk between them allowing all vlans your devices need to have access.

also, you need to setup the corresponding VLANs on your 'lab' switch, assign corresponding interfaces on each vlan. So you will connect your IP phone to the interface on voice vlan, and host on the 'main vlan'.

hope this can bring you some help.

Hi Macro_vitor, thanks for your quick reply, much appreciated.

So I would need to set both ports that connect the 3560 to the 4510, *i.e. Fa0/1 on the 3560 and Gi8/28 on the 4510, as "switchport mode trunk" and that's it..?

Does the port on the 3560, Fa0/1, need to have an IP Address assigned to it?
Also, when I create the same/matching Vlans from the 4510 onto the 3560, do those Vlan interfaces need unique IPs as well?

Are there any step-by-step guides out there for what I would need to do for this?

Thanks Again,
Matt

Yes, the interfaces that connect both switch should be set as trunk and allow both vlans (voice and data)

Both interfaces dont need to have an ip address.

you can treat this on layer 2 only, so you dont need to setup ip addresses on the interfaces.

take a look at attached

Thanks again for the reply!

Sorry, but I think your attachment got lost...?

-Matt

Sorry about that...

Just wanted to post back and say that I was able to get this to start working late Friday evening before I left the office... So it looks like its working good now. I think the problem I was running into was the port configuration on the 4500 where this 3560 is connected to.

Thanks Again for the assistance.

-Matt