how to use router as a switch in gns3 ?

in CCNP
hello guys,
i am using gns3 for ccnp labs. i am using router as a switch.
i have added NM-16ESW in slot 1 of Router 3700. it has got 16 fastethernet interfaces.
it shows other configurations of switch. but when i try to create a vlan in it, it doesnt support this command ? does anyone know how to create vlans here ?
i am using gns3 for ccnp labs. i am using router as a switch.
i have added NM-16ESW in slot 1 of Router 3700. it has got 16 fastethernet interfaces.
it shows other configurations of switch. but when i try to create a vlan in it, it doesnt support this command ? does anyone know how to create vlans here ?
Comments
Router#vlan database
Router(vlan)#vlan 10 name test_vlan
VLAN 10 added:
Name: test_vlan
Router(vlan)#exit
APPLY completed.
Exiting....
Router#sh vlan-switch
VLAN Name Status Ports
----
1 default active Fa0/0, Fa0/1, Fa0/2, Fa0/3
Fa0/4, Fa0/5, Fa0/6, Fa0/7
Fa0/8, Fa0/9, Fa0/10, Fa0/11
Fa0/12, Fa0/13, Fa0/14, Fa0/15
10 test_vlan active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
----
----
1 enet 100001 1500 - - - - - 1002 1003
10 enet 100010 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
can we use this router as a switch in bcmsn ?
i will be starting it soon, so would like to know that can we do all configuration required here ? or a seperate switch is required ?
Yeah I use the vlan command in global config.