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.
The How to Master series helps you to understand complex topics like spanning-tree, VLANs, trunks, OSPF, EIGRP, BGP and more.
Written by René Molenaar - CCIE #41726
I think that everything composed was very logical. However, consider this, what if you were to write a killer headline? I mean, I don’t wish to tell you how to run your blog, but suppose you added a headline to possibly grab a person’s attention? I mean Create vlans in GNS3 using the NM16-SW switch module is kinda plain. You could look at Yahoo’s home page and watch how they create news titles to grab people interested. You might try adding a video or a pic or two to get people excited about what you’ve written. In my opinion, it might bring your posts a little livelier.