?
Solved

Cisco 1721 VLANs

Posted on 2005-04-04
4
Medium Priority
?
557 Views
Last Modified: 2011-09-20
Hi

I have a WIC4ESW in the back of a 1721 router.

Thus far I have only needed 1 VLAN (this is the default).

I now need to configure port 2 of the WIC4ESW as a separate VLAN from port 1 of WIC and Ethernet port.

How do I do this?


thanx.
0
Comment
Question by:yvsupport
[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
  • 2
4 Comments
 
LVL 79

Accepted Solution

by:
lrmoore earned 2000 total points
ID: 13698148
router#vlan database
Router(vlan)# vlan 2
Router(vlan)#exit
apply completed
Router#config t
Router(config)#interface fastethernet 2
Router(config-if)#shutdown
Router(config-if)#switchport access vlan 2
Router(config-if)#no shutdown
Router(config-if)#end
Router#

Now if you want VLAN 2 to be able to talk to anyone in VLAN 1, you need a layer 3 interface
Router(config)#interface vlan 2
Router(config-if)#ip address a.b.c.d 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#end
Router#

Host in VLAN2 has IP in subnet a.b.c.X
Host in VLAN2 has default gateway of a.b.c.d


0
 

Expert Comment

by:AcidEtch
ID: 13698192
Try:
Interface e[Module]/[Port]
switchport access vlan [VLAN No.]

Where [Module] is the module number of the WIC, [Port] is the port on that module and [VLAN No.] is the VLAN ID you want to assign it to.

Hope that helps.

AE
0
 

Author Comment

by:yvsupport
ID: 13698401
Wow - the Infamous Irmoore!

Thanks for your help - works a treat!

2 things - why the shudown before the switchport access line - is there a reason or is this just good practice?

Also, how do I now remove/delete the recenntly created VLAN?

thanks again.
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 13698904
>why the shudown before the switchport access line - is there a reason or is this just good practice?
Suggested by Cisco documentation. Makes sense to "bounce" the interface after changing layer 2 access modes.

>how do I now remove/delete the recenntly created VLAN?
Same way you created it
Router#vlan database
router(vlan)#no vlan 2
router(vlan)#apply <-- I've found that "exit" does not always apply the changes when removing vlans
router(vlan)#exit
router#
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
Suggested Courses

801 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