Solved

Routing VLANs between Catalyst switches

Posted on 2006-06-26
1
309 Views
Last Modified: 2010-04-17
Hi all,

I've got two Catalyst 3560 switches in a basic configuration linked by fiber. I now want to designate a port on each switch to a separate vlan other than the default. How would I designate a vlan for the respective ports on the switches and how would I setup the GBIC ports (fiber) to route both (default & new vlan) VLANs?

Thanks!
0
Comment
Question by:kangsoh
1 Comment
 
LVL 1

Accepted Solution

by:
bmanchee earned 250 total points
ID: 17060656
kangsoh,
setting up the ports for separate vlans is rather simple:

In interface config mode ("config t", then "int <name>" for the interface you want to configure), enter the following command: "switchport access vlan <x>" where x is the vlan you want to assign that port to.

For the fiber interface that link the 2 switches, issue a "switchport mode dynamic desirable" which ensures that the 2 ports initiate a vlan trunking link between themselves.  Keep in mind that the switches at this point are not "routing" traffic between vlans, but rather switching packets between switches within each configured vlan.

To enable the routing, issue the "ip routing" command one one of your switches.  This turns on the routing function on the switch if it is not already enabled.  This switch will now act as the "router" between your vlans.  Now you need to configure VLAN interfaces.  If you are familiar with working with router interfaces, this isn't that complicated.  To enter interface config for a vlan interface, from config mode, type "int vlan <number>", where number is the same as one of the vlans.  This creates the vlan interface and allows you to configure it.  Assign it an IP address.  That's about it.  Do again for each vlan you have already configured.  The switch should now be able to route between vlans.

If you have any more questions, please follow up.

Thansk,
Bert
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Hello , This is a short article on how would you go about enabling traceoptions on a Juniper router . Traceoptions are similar to Cisco debug commands but these traceoptions are implemented in Juniper networks router . The following demonstr…
The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

706 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now