Solved

Connecting 2 Cisco Switches together

Posted on 2011-09-11
7
784 Views
Last Modified: 2012-05-12
I have 2 cisco 3560 and I want to connect these together with a single network cable.

Switch A has 3 Vlans (1 - Company A,2 - Company B,3 - Public) and I want to connect this to Switch B. The problem is Switch B belongs to company B and all I want to go over the link is Vlan 2. If I put the port on Switch A into switchport mode access & switchport access vlan 2 all I get is an orange light on Switch A but a Green on Switch B. If I change the port to trunk mode the light on switch A changes to green.

What I really want to do is treat Switch B like a dumb switch.

Thanks
0
Comment
Question by:jrgcomputing
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 10

Expert Comment

by:SuperTaco
ID: 36518892
since you already have VLANs, the "dumb switch" is out of the question.  All you should have to do is connect a port on Switch A that is a VLAN member to a Port on switch b that is a VLAN member.

there the config

config t
int gi/0/1 (or whatever interface)
switchport access VLAN 2

this will dedicate that port to the VLAN.
0
 
LVL 2

Expert Comment

by:bgilsing
ID: 36518920
Treating it as a dumb switch is not out of the question. On switch A set a port to be a member of VLAN 2 as if you were going to connect a workstation to it. Clear all VLAN config information on switch B and set it up as a dumb switch. Connect any port on switch B to the port you configured on switch A and your done. If you are not "trunking" vlans you don't have to change the mode of the ports to trunk mode. I think what you are missing is the cable type. If you are connecting two switches together you need a crossover cable. It flips the transmit and receive pairs so the switches can talk to each other. That's why you are getting an orange port. Lookup crossover cable on google if you need a pinout, or just go buy one if your not comfortable making cables.
0
 
LVL 11

Expert Comment

by:gmbaxter
ID: 36518989
You'll need to set up a trunk between the switches, but limit the traffic which is allowed through the trunk. From memory, the 3560 has two separate gigabit ports, assuming you have a 48 port switch. Connect a crossover cable from switch A to B into the gigabit ports, and use the following config.

on switch A:
configure terminal
int gigabit Ethernet 0/1
no shutdown
description Trunk to switch B
switchport trunk encapsulation dot 1q
switchport mode trunk
switchport trunk allow vlan 2
exit
exit
wr

on switch B:
configure terminal
int gigabit Ethernet 0/1
no shutdown
description Trunk to switch A
switchport trunk encapsulation dot 1q
switchport mode trunk
switchport trunk allow vlan 2
exit
exit
wr

You'll now have a trunk between the two switches which will only pass vlan 2 traffic. You can then set all access ports on the switch to vlan 2.
0
Is your NGFW recommended by NSS Labs?

Ours is! NSS Labs Next Generation Firewall Test gives the WatchGuard Firebox M4600 a "Recommended" rating! Curious where your NGFW landed on the  Security Value Map? See the map and download the full report today!

 
LVL 46

Accepted Solution

by:
Craig Beck earned 500 total points
ID: 36519015
I would do this with an access port, as it isn't guaranteed that VLAN2 already exists on switch B, and if it does you might not want to link VLAN2 on switch A to VLAN2 on switch B.

In any event you will need to edit the configuration on both switches, so do this on switch A...

conf t
interface gi0/1
switchport mode access
switchport access vlan 2
end


And on switch B, configure the port you're connecting to the same, but set the VLAN to whatever you need it to be in.
0
 
LVL 3

Author Closing Comment

by:jrgcomputing
ID: 36530370
The only thing I needed that wasn't mentioned is a crossover cable.
0
 
LVL 46

Expert Comment

by:Craig Beck
ID: 36531052
You don't strictly need a crossover to link two 3560's together - they do Auto MDI-X!
0
 
LVL 3

Author Comment

by:jrgcomputing
ID: 36531335
Yeah I thought that, but with a straight through cable I got orange light on one of the switches and green on the other. as soon as I tried a crossover cable it worked. I don't know if it mattered that one was a 3560g and the othe 3560.
0

Featured Post

Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In this blog we highlight approaches to managed security as a service.  We also look into ConnectWise’s value in aiding MSPs’ security management and indicate why critical alerting is a necessary integration.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question