Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Switchport Mode Access

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

switchport access vlan 191

but do not have the command:

switchport mode access?

3 REPLIES
Cisco Employee

Re: Switchport Mode Access

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

New Member

Re: Switchport Mode Access

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

Gold

Re: Switchport Mode Access

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.

327
Views
5
Helpful
3
Replies
CreatePlease to create content