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 (2)
-
akjol 2012-04-21 18:09:03
-
ReneMolenaar 2012-04-23 12:45:54This IOS image has different commands for the VLANS?





