cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
695
Views
0
Helpful
2
Replies

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

fortis123
Level 1
Level 1

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

2 Replies 2

foxbatreco
Level 3
Level 3

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!!!

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

Review Cisco Networking products for a $25 gift card