Master CCNA

How to Master CCNA Ebook

 

 

My book will help you Master CCNA

Master CCNP SWITCH

How to master CCNP SWITCH ebook

 

 

My book will help you Master CCNP SWITCH

Master CCNP ROUTE

How to master CCNP ROUTE Ebook

 

 

My book will help you Master CCNP ROUTE

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.

Related Articles
Only registered users can write comments!

Comments (2)

  • 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?