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

Unanswered Question
Jun 24th, 2008
User Badges:

Hi,


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

MS

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
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'.


http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_25_see/command/reference/cli3.html#wp1948171

Actions

This Discussion