Solved

create vlans on GNS3 switch

Posted on 2010-08-27
7
1,025 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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.

Question has a verified solution.

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

Suggested Solutions

The following recovery method will work on All Cisco Switchs that run ISO software. You will need a good copy of the IOS version you want you use saved on your PC and a Com's Cable. The software for these switches comes as a .tar file. Tar is …
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 Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

773 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