Solved

create vlans on GNS3 switch

Posted on 2010-08-27
7
1,015 Views
Last Modified: 2012-05-10
I have used a router 3640 with NM-16ESW to emulate a switch, but I didn;t find a way to create vlans other  than the old way:

I went to:
Router# vlan database
Router(vlan)#vlan 20
VLAN 20 added:
    Name: VLAN0020
Router(vlan)#apply
APPLY completed.

I can't find a way to add ports to the vlan or do any work with the vlan?

any help?

thanks
0
Comment
Question by:jskfan
  • 3
  • 2
  • 2
7 Comments
 
LVL 24

Accepted Solution

by:
rfc1180 earned 500 total points
ID: 33547237
conf t
int fast1/1
switchport mode access
switchport access vlan 20
no shut
end
wr mem

Billy
0
 
LVL 13

Expert Comment

by:luc_roy
ID: 33547244
you need to add vlans to the ports

Do the range command for the interfaces you want and then

Switchport access vlan 20

0
 

Author Comment

by:jskfan
ID: 33547685
have you tried the switch config on GNS3?
I know how to configyre it on a regular switch.
0
Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

 
LVL 24

Expert Comment

by:rfc1180
ID: 33547807
Yes, the same way that has been describe?
What IOS Version are you running the platform in GNS and are you getting any error messages?

Billy
0
 
LVL 13

Expert Comment

by:luc_roy
ID: 33547815
that's what I was starting to write.

GNS 3 uses real cisco IOS files so if it works in the router IOS it works in GNS3.  You might want to try a different IOS with at least 12.4.
0
 
LVL 24

Assisted Solution

by:rfc1180
rfc1180 earned 500 total points
ID: 33547825

Router(config)#vlan 100
Router(config-vlan)#name net100
Router(config-vlan)#vlan 200
Router(config-vlan)#name net200
Router(config)#int fast1/1
Router(config-if)#switchport mode access
Router(config-if)#switchport access vlan 100
Router(config-if)#no shut
Router(config-if)#int fast 1/2
Router(config-if)#switchport mode access
RouRouter(config-if)#switchport access vlan 200
Router(config-if)#no shut

Router#show int status | inc connected
Fa1/1                      connected    100        a-full   a-100 10/100BaseTX
Fa1/2                      connected    200        a-full   a-100 10/100BaseTX

Router#show version
Cisco IOS Software, 3700 Software (C3745-SPSERVICESK9-M), Version 12.4(15)T13, RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Wed 07-Apr-10 13:02 by prod_rel_team

ROM: ROMMON Emulation Microcode
ROM: 3700 Software (C3745-SPSERVICESK9-M), Version 12.4(15)T13, RELEASE SOFTWARE (fc3)

Router uptime is 4 minutes
System returned to ROM by unknown reload cause - suspect boot_data[BOOT_COUNT] 0x0, BOOT_COUNT 0, BOOTDATA 19
System image file is "tftp://255.255.255.255/unknown"
0
 

Author Closing Comment

by:jskfan
ID: 33548010
thanks
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Join & Write a Comment

Do you have a computer or other electronic gear that is attached to a rat nest of cables, or alternatively have your cables all bundled nice at neat?  If so then read this post to sidstep common pitfalls. When I was a student at DeVry University,…
This article is a how to to configure a UCS Ethernet-uplink portchannel via the console. It is easy to do and can be done quite quickly. In certain versions of the UCS manager the portchannel has issues coming up and this is a workaround. I am…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

707 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