Switchport mode access ??

Discussion in 'Cisco' started by BUZZ, Apr 13, 2006.

  1. BUZZ

    BUZZ Guest

    What does the last commandline do?

    interface FastEthernet0/1
    description VLAN2-PublicNet
    switchport access vlan 2
    switchport mode access

    If I did not have the line: switchport access vlan 2, would the last
    line not make FastEthernet0/1 a member of VLAN1?

    BUZZ, Apr 13, 2006
    1. Advertisements

  2. BUZZ

    C Kim Guest

    It defines whether the port is a access port (end host) or a trunk port
    (multiple vlans, uplink ports, etc)
    C Kim, Apr 14, 2006
    1. Advertisements

  3. Yes, to your 2nd question. All ports are members of vlan 1 unless explicitly
    configured for another vlan.
    Joel Salminen, Apr 14, 2006
  4. BUZZ

    BUZZ Guest

    Thank you both for your answers, it helped me :)

    BUZZ, Apr 14, 2006
  5. BUZZ


    Oct 30, 2008
    Likes Received:
    Actually you are wrong ! You can never ever remove a SWITCHPORT out of a the NATIVE VLAN " 1 " unless you SHUTDOWN VLAN " 1 " on the VLAN Interface itself.

    Joel is wrong and indicates that all ports are a member of vlan 1 unless specifically configured for another vlan. not true, even though you configure your self solely to be in VLAN 100, unless you "SHUTDOWN" vlan 1, you will always be in the vlan 1 membership.

    Just wanted to make that correction, I hope it helps!
    squidius, Sep 29, 2009
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.