cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
377
Views
5
Helpful
3
Replies

swicthport Mode

The_guroo_2
Level 2
Level 2

guys just confuse abt something.....what does the following command means

switch port mode dynamic desirable and some time we put nonogatite......in which scenario we will be using that command and why.....thanks in advance....regards

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

Hi

It is all to do with DTP (Dynamic Trunking protocol). Basically DTP dynamically negotiates trunks between switches.

The desirable setting means if the port at the other end of the link is set to auto or desirable DTP will neogtiate a trunk.

If you use the no-negotiate option then you are in effect turning DTP off on that port.

HTH

Jon

bjornarsb
Level 4
Level 4

Hi,

Here you got it:

Layer 2 Interface Modes

switchport mode access

Puts the interface into permanent nontrunking mode and negotiates to convert the link into a nontrunking link. The interface becomes a nontrunk interface even if the neighboring interface does not change.

switchport mode dynamic desirable

Makes the interface actively attempt to convert the link to a trunking link. The interface becomes a trunk interface if the neighboring interface is set to trunk, desirable, or auto mode.

switchport mode dynamic auto

Makes the interface convert the link to a trunking link if the neighboring interface is set to trunk or desirable mode.

switchport mode trunk

Puts the interface into permanent trunking mode and negotiates to convert the link into a trunking link. The interface becomes a trunk interface even if the neighboring interface does not change.

switchport nonegotiate

Puts the interface into permanent trunking mode but prevents the interface from generating DTP frames. You must configure the neighboring interface manually as a trunk interface to establish a trunking link.

Regards,

Bjornarsb

Config t

int Fa 0/1

switchport mode access/trunk

swichport trunk/access vlan2.........

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco