Solved

create vlans on GNS3 switch

Posted on 2010-08-27
7
1,019 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
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.

 
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

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
KVM switch 7 33
Network Infrastructure for Branch Office 16 91
Cisco IOS from ipbase to ipservices 10 78
nipper studio 2 34
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 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

19 Experts available now in Live!

Get 1:1 Help Now