cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
577
Views
3
Helpful
5
Replies

Vlan carrying

Monsinka
Frequent Visitor
Frequent Visitor

hello, 

if i have one vlan configured exp:vlan 100 , and i need to carry the vlan between SW1=> SW2 =>SW3 , the vlan is defined on all the 3 switchs the interco between those switchs need to be trunk or access ? , even if its only one vlan? 

5 Replies 5

Mark Elsen
Hall of Fame
Hall of Fame

 

   - @Monsinka     If the links carries only one vlan then you don't need a trunk, but don't use access mode,
                            set the ports to default, and them put them in vlan 100

  M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

so i dont need to specify the type of the link ( access or trunk ) like this : int g0/0 #switchport switchport access vlan 100 without switchport mode access ? will it work ? 

 

   - @Monsinka                           Yes , that will work

  M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

Joseph W. Doherty
Hall of Fame
Hall of Fame

As @Mark Elsen has already described, for one VLAN you don't need a trunk.  (BTW, on most non-ancient Cisco switches you can convey two VLANs without a trunk too.)

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello @Monsinka ,

inter switch links SW1 <->SW2 and SW2 <->SW3 don't need to be trunk port, however it is highly recommended to use trunk ports because it is easy to add new VLANs on the path when needed.

Also note that Cisco switches with DTP Dynamic Trunking Protocol had a default behavior to negotiate a trunk link even if not configured if some parameters match ( including VTP domain name) with default settings and DTP state.

So you may have a trunk even if not manually configured.

you can check using show commands like 

show interface trunk 

or

show interface switchport

Hope to help

Giuseppe