Solved

How to configure a switchport on a Cisco 2800

Posted on 2009-07-13
7
502 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
  • 4
  • 3
7 Comments
 
LVL 23

Accepted Solution

by:
that1guy15 earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:cburn32
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VPN Connection Failure 22 92
Wireless connection 6 45
Cisco ACS Secondary Servers: Certificate Implementation 2 42
Network Config 9 52
While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…

772 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

10 Experts available now in Live!

Get 1:1 Help Now