Solved

Routing VLANs between Catalyst switches

Posted on 2006-06-26
1
314 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
[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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Viber-Only Restriction 6 93
Can we see Configuration labeled by "commit label xxx" in ASR9K? 2 68
Netflix streaming problem 18 84
Management of Huawei B315 2 70
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
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…

734 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