I have had the same problem.
Thishelped me
c3745-advipservicesk9-mz.124-15.T6
Create vlans in GNS3 using the NM16-SW switch module
If you are going to try the NM16-SW switch module in GNS3 you might find that the vlan commands are a bit different than what you are used to on real switches. For this module you still need to use the old vlan database method to configure vlans. Let me show you some examples and how to configure vlans.
First try to create a VLAN by using the following command:
vlan 10 exit
Then see what happens when you use the show command to check your VLANS:
show vlan
Will give you the output:
% Ambiguous command: "show vlan"
Hmm...annoying, that's different on a real switch, let's try something else:
show vlans
Which will give you:
No Virtual LANs configured.
Strange..I thought I just created that vlan. Now try the following command:
show vlan-switch
Which will give you:
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa1/2, Fa1/3, Fa1/4, Fa1/5
Fa1/6, Fa1/7, Fa1/8, Fa1/9
Fa1/10, Fa1/11, Fa1/12, Fa1/13
Fa1/14, Fa1/15
10 VLAN0010 active
That's better! Just a small difference here but good to know the correct command.
- Related Articles
Comments (6)
-
akjol 2012-04-21 18:09:03
-
ReneMolenaar 2012-04-23 12:45:54This IOS image has different commands for the VLANS?
-
kumar.sathi446 2012-09-20 11:09:56i appreciate and than q aswell mr.Rene Molenaar . we wanna info like this from u for ever.that may be useful for us to reap our goal as soon as possible.
-
kumar.sathi446 2012-09-20 11:12:54if we will may get any appreciation from my company for a stuff like this, that credit will goes to you only.
-
ReneMolenaar 2012-09-22 14:59:30Thank you!
-
sadil007 2012-12-04 08:12:24adding vlans is a bit difficult task for me as i get an error " not enough space on flash to store vlan database. trying squeeze...First create squeeze log by erasing the entire device
% error squeezing flash - (Squeeze logs not found)
Error exiting config-vlan mode 40: NV storage failure"can you please help me on this





