Switchport Mode Access

Unanswered Question
Jun 7th, 2007

What would happen, if I had a port configured with:

switchport access vlan 191

but do not have the command:

switchport mode access?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
ankbhasi Thu, 06/07/2007 - 07:05

Hi Friend,

By default all switches layer 2 ports are in dynamic desirable mode so if you do not manually configure it as "switchport mode access" then it will try to from a trunk with remote port which generating DTP frames.

It is always recommended that if you do not want the port to form a trunk manually configure it as an access port.

HTH

Ankur

*Pls rate all helpfull post

jgreggain Fri, 06/08/2007 - 08:00

Hello,

We also enter the command "switchport nonegotiate" on the interface, just to make sure it doesn't try to form a trunk port.

Jeff

srue Fri, 06/08/2007 - 10:50

switchport mode access - this puts the interface in access mode only, and it will still generate DTP's to let the other side know.

switchport nonegotiate - whether in trunking or access mode, causes the switch not to generate DTP's.

Actions

This Discussion