Solved

How to configure a switchport on a Cisco 2800

Posted on 2009-07-13
7
510 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
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
small, multi network, problem 3 95
Routing VLANs 5 75
2 Gateways (bandwidth) - One domain 7 73
How to restrict all websites and allow only citrix website 5 44
It happens many times that access list (ACL) have to be applied to outgoing router interface in order to limit some traffic.This article is about how to test ACL from the router which is not very intuitive for everyone. Below scenario shows simple s…
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…
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…

815 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

12 Experts available now in Live!

Get 1:1 Help Now