how to use router as a switch in gns3 ?

arsalan921arsalan921 Member Posts: 56 ■■□□□□□□□□
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 ?

Comments

  • burbankmarcburbankmarc Member Posts: 460
    yeah creating and managing vlans is slightly different, so keep that in mind. to configure vlans you have to be in normal enable mode.

    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
  • arsalan921arsalan921 Member Posts: 56 ■■□□□□□□□□
    thanks a lot burbankmarc
  • Forsaken_GAForsaken_GA Member Posts: 4,024
    Keep in mind that vlan database mode is deprecated and will be going away at some point, so don't get too comfortable with it
  • arsalan921arsalan921 Member Posts: 56 ■■□□□□□□□□
    actually i am studying IP multicast and here some configuration of switch is required, so thats why i am using router as a switch in gns3 ?


    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 ?
  • Forsaken_GAForsaken_GA Member Posts: 4,024
    BCMSN tests on layer 3 switching, and GNS3 doesn't emulate switching all that well. You're better off getting your hands on a 3550 and practicing with that.
  • bubble2005bubble2005 Member Posts: 210 ■■■□□□□□□□
    Keep in mind that vlan database mode is deprecated and will be going away at some point, so don't get too comfortable with it

    Yeah I use the vlan command in global config.
    Think Big Stay Focus: In the midst of all situations, think positive.:thumbup:
Sign In or Register to comment.