Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

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

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
Bronze

Re: What if switch "switchport mode access" not assigned to swit

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

Gold

Re: What if switch "switchport mode access" not assigned to swit

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

380
Views
0
Helpful
2
Replies
CreatePlease to create content