Master CCNA

How to Master CCNA Ebook

 

 Start your networking career and Master CCNA

Master CCNP SWITCH

How to master CCNP SWITCH ebook

 

 Become a switching guru and Master CCNP SWITCH

Master CCNP ROUTE

How to master CCNP ROUTE Ebook

 

 Dominate routing protocols and Master CCNP ROUTE

Master CCNP TSHOOT

How to Master CCNP TSHOOT

 

 Complete your CCNP R&S journey and Master CCNP TSHOOT

Print

Create vlans in GNS3 using the NM16-SW switch module

Written by Rene Molenaar on . Posted in FAQ

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.

Only registered users can write comments!

Comments (6)

  • avatar
    akjol

    I have had the same problem.
    Thishelped me
    c3745-advipservicesk9-mz.124-15.T6

  • avatar
    ReneMolenaar

    This IOS image has different commands for the VLANS?

  • avatar
    kumar.sathi446

    i 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.

  • avatar
    kumar.sathi446

    if we will may get any appreciation from my company for a stuff like this, that credit will goes to you only.

  • avatar
    sadil007

    adding 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

feedback