What if switch "switchport mode access" not assigned to switch port

Unanswered Question
Jun 24th, 2008
User Badges:


I came across a prod environment where the 3560 switch connecting to end hosts do not have 'switchport mode access' command. switchport access vlan 15 is existing but not the other command...

So it looks like this..


interface FastEthernet0/10

description :User1 PC

switchport access vlan 15

spanning-tree portfast


PCc working. So when the command is not issued and/or issued what will be the difference.

Thank you


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
foxbatreco Tue, 06/24/2008 - 16:44
User Badges:
  • Bronze, 100 points or more

Defining the switchport itself with access vlan statement will have the port in access mode.

The difference will appear only if neither access vlan nor access mode is defined.

Pls rate/mark if this helps!!!

srue Tue, 06/24/2008 - 18:37
User Badges:
  • Blue, 1500 points or more

without 'switchport mode access', the switchport is a candidate to become a trunking port, if it detects another potential trunking device plugged into this port.

with 'switchport mode access' enabled, you disable trunking altogether. you can take this one step further by adding 'switchport nonegotiate'.



This Discussion