Vlan Tagging at Access Port in Switch

Discussion in 'Cisco' started by Amit_tomar, Sep 28, 2012.

  1. Amit_tomar

    Amit_tomar

    Joined:
    Sep 28, 2012
    Messages:
    1
    Likes Received:
    0
    Hi all,

    I'm Confused from the fact that Vlan tagging is done at access port and trunk port always gets tagged packets (untill its case of native vlan).But I still believe in other fact which says tagging happen only when a frame hit the trunk port which means trunk port gets untagged frame and tagging is not possible at access port.

    Would like to know where actually this tagging happens ?

    and also which command we can use to encapsulate 802.1q protocol to access port ?
    The way we do at trunk port is

    #switchport trunk encapsulation dot1q

    Is the above command applicable for access mode also?
     
    Amit_tomar, Sep 28, 2012
    #1
    1. Advertisements

  2. Amit_tomar

    donjohnston

    Joined:
    Jun 28, 2008
    Messages:
    38
    Likes Received:
    0
    >Would like to know where actually this tagging happens ?

    Tags are only inserted into frames that exit trunk ports.

    >and also which command we can use to encapsulate 802.1q protocol to access port ?

    On some switches, this requires two commands:

    switchport trunk encap dot1q
    switchport mode trunk

    Just defining the encapsulation does not make a trunk. The "switchport mode trunk" command does that.
     
    donjohnston, Oct 6, 2012
    #2
    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.