Solved

How to configure a switchport on a Cisco 2800

Posted on 2009-07-13
7
527 Views
Last Modified: 2012-05-07
I have a Cisco 2800 with a add-in 4 port switch card.  I would like to configure one of the interfaces as another Ethernet port.  Unfortunaley, I have to use a VLAN setup.  A sample VLAN configuration would be greatly appreciated!

Thanks
0
Comment
Question by:cburn32
[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
  • 4
  • 3
7 Comments
 
LVL 23

Accepted Solution

by:
that1guy15 earned 500 total points
ID: 24842573
to set up the VLAN if not done already:

vlan 100
decription sales

then to add a port to the vlan:

int f1/0
switchport mode access
swichport access vlan 100

this will configure the port as an access port and assign it to vlan 100. This will only be able to run on the 4 switch-card ports though.

is this what you were looking for?
0
 

Author Comment

by:cburn32
ID: 24842645
Yes...thank you.  Another question though.  If I wanted to assign an ACL how would I assign it to the VLAN?

Thanks
0
 
LVL 23

Expert Comment

by:that1guy15
ID: 24843463
It depends on what you are want traffic you are wanting to block.

If you want to block traffic within a VLAN (never leaves a VLAN) then you will need to create a VLAN ACL.

If you want to block traffic between VLANs then you will need to create a SVI (layer 3 interface )for each VLAN and then apply the ACL to the SVI just as you would any other interface.

ex:
int vlan 100 <---creates the SVI
ip address x.x.x.x x.x.x.x <---assignes ip to VLAN and allows routing between this vlan and others
access-group 101 in <--- applies acl to vlan 100

0
Technology Partners: 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!

 

Author Comment

by:cburn32
ID: 24843578
Ok I will try applying the ACL to the interface the VLan is assigned too.  It seems my Vlan is not setup correctly though.  Here my config for the VLan:

interface FastEthernet0/0/0
 description Stutz Link
 switchport access vlan 2

interface Vlan2
 ip address 206.246.130.17 255.255.255.252

I cannot even ping the FE 0/0/0 interface.  I am obviously missing something.  Thanks again for any input!
0
 
LVL 23

Expert Comment

by:that1guy15
ID: 24843898
Right. you are unable to ping f0/0/0 becuase it is a switchport (layer 2).

you should be able to ping your vlan interface though.

remimber the SVI (interface vlan2) and the f0/0/0 (vlan2 member port) are complety different ports.

Also your acl can only be applied to the VLAN2 interface not the f0/0/0 interface
0
 

Author Comment

by:cburn32
ID: 24843939
I should be able to ping the IP address I assigned to the Vlan, right?  Would I be able to use the Vlan address as a routable gateway?
0
 
LVL 23

Expert Comment

by:that1guy15
ID: 24844020
Yes you should be able to ping the address assigned to the vlan interface. this interface is a fully functional layer three routable interface once an ip address is assigned to it.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
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…

752 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