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

swicthport Mode

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
Hall of Fame Super Blue

Re: swicthport Mode

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

Bronze

Re: swicthport Mode

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

Community Member

Re: swicthport Mode

Config t

int Fa 0/1

switchport mode access/trunk

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

179
Views
5
Helpful
3
Replies
CreatePlease to create content