Switch emulation in GNS3:
In brief: Take an image of a 2600. Add slot NM16-ESW
Start the router.
Use the command from conf t:
int range fa0/0 -10 (for example)
switchport
exit
Now use these commands, which are not the same as a catalyst:
Router#vlan database
Router(vlan)#vlan 10
VLAN 10 added: Name: VLAN0010
Router(vlan)#exit
APPLY completed. Exiting….
Now we can try the command to check your VLANS:
show vlan Will give you the output: % Ambiguous command: “show vlan”
let’s try other command :
show vlans Which will give you: No Virtual LANs configured.
Now try the following command: show vlan-switch Which will give you:
Router#show vlan-switch
VLAN Name Status Ports
—- ——————————– ——— ——————————-
1 default active Fa1/0, Fa1/1, 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