Search

How to configure DTP (Dynamic Trunking Protocol) Modes

Following commands sets can be used to configure different Dynamic Trunking Protocol (DTP) modes for Switch interface.

Refer folowing lessons if you are not familiar with Dynamic Trunking Protocol (DTP).

Dynamic Trunking Protocol (DTP)

Difference Between DTP "dynamic desirable" and "dynamic auto" Modes

 

How to confgure "dynamic desirable" mode

OmniSecuSw1#configure terminal
OmniSecuSw1(config)#interface gigabitethernet0/0
OmniSecuSw1(config-if)#switchport mode dynamic desirable
OmniSecuSw1(config-if)#exit
OmniSecuSw1(config)#exit
OmniSecuSw1#

 

How to confgure "dynamic auto" mode

 

OmniSecuSw1#configure terminal
OmniSecuSw1(config)#interface gigabitethernet0/0
OmniSecuSw1(config-if)#switchport mode dynamic auto
OmniSecuSw1(config-if)#exit
OmniSecuSw1(config)#exit
OmniSecuSw1#

 

How to confgure "trunk" mode

 

OmniSecuSw1#configure terminal
OmniSecuSw1(config)#interface gigabitethernet0/0
OmniSecuSw1(config-if)#switchport mode trunk
OmniSecuSw1(config-if)#exit
OmniSecuSw1(config)#exit
OmniSecuSw1#

 

How to confgure "trunk" mode with "nonegotiate"

 

OmniSecuSw1#configure terminal
OmniSecuSw1(config)#interface gigabitethernet0/0
OmniSecuSw1(config-if)#switchport mode trunk
OmniSecuSw1(config-if)#switchport nonegotiate
OmniSecuSw1(config-if)#exit
OmniSecuSw1(config)#exit
OmniSecuSw1#

 

How to confgure "access" mode

 

OmniSecuSw1#configure terminal
OmniSecuSw1(config)#interface gigabitethernet0/0
OmniSecuSw1(config-if)#switchport mode access
OmniSecuSw1(config-if)#exit
OmniSecuSw1(config)#exit
OmniSecuSw1#

 

How to confgure "access" mode with "nonegotiate"

 

OmniSecuSw1#configure terminal
OmniSecuSw1(config)#interface gigabitethernet0/0
OmniSecuSw1(config-if)#switchport mode access
OmniSecuSw1(config-if)#switchport nonegotiate
OmniSecuSw1(config-if)#exit
OmniSecuSw1(config)#exit
OmniSecuSw1#
Related Tutorials