PingingLab-3.5 Basic DTP Configuration

Source: Internet
Author: User
Tags cisco switch


3.5 Basic DTP Configuration

Purpose:

1. master the basic configuration of DTP.

2. Understand the DTP interface mode and principle.

Tutorial topology:

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/06242H605-0.png "title =" 3.5.png "/>

Tutorial steps:

1. DTP negotiation modes are mainly divided into four types:

DD: in active mode, the interface sends DTP groups for negotiation;

DA: passive mode. The interface receives DTP groups for negotiation;

On: Generally, if the interface is forcibly set to trunk, it is in on mode;

Off: If the interface is forcibly configured as access, the off mode is used;

Based on these modes, different negotiation results can be obtained, as shown below:


Dynamic Auto

Dynamic Desirable

Trunk/on

Access/off

Dynamic Auto

Access

Trunk

Trunk

Access

Dynamic Desirable

Trunk

Trunk

Trunk

Access

Trunk/on

Trunk

Trunk

Trunk

Not recommended

Access/off

Access

Access

Not recommended

Access

2. Deploy the DTP protocol on SW1 and SW2 based on the above table, and view the negotiation status of the Trunk link;

① Example 1: DD & DD

SW1 (config) # int f0/1

SW1 (config-if) # switchport trunk encapsulation dot1q

SW1 (config-if) # switchport mode dynamic desirable

SW1 (config-if) # exit

SW2 (config) # int f0/1

SW2 (config-if) # switchport trunk encapsulation dot1q

SW2 (config-if) # switchport mode dynamic desirable

SW2 (config-if) # exit

Check the Trunk negotiation status of the vswitch:

② Example 2: DD & DA

SW1 (config) # int f0/1

SW1 (config-if) # switchport trunk encapsulation dot1q

SW1 (config-if) # switchport mode dynamic desirable

SW1 (config-if) # exit

SW2 (config) # int f0/1

SW2 (config-if) # switchport trunk encapsulation dot1q

SW2 (config-if) # switchport mode dynamic auto

SW2 (config-if) # exit

Check the Trunk negotiation status of the vswitch:

③ Example 3: DA & DA

SW1 (config) # int f0/1

SW1 (config-if) # switchport trunk encapsulation dot1q

SW1 (config-if) # switchport mode dynamic auto

SW1 (config-if) # exit

SW2 (config) # int f0/1

SW2 (config-if) # switchport trunk encapsulation dot1q

SW2 (config-if) # switchport mode dynamic auto

SW2 (config-if) # exit

Check the Trunk negotiation status of the vswitch:

......

Other negotiation procedures are omitted.

3. Engineering usage. From the above, we can see that DTP can negotiate with Trunk in different modes, but DTP is a CISCO private technology. If there are switches from other vendors in the network, it cannot be negotiated, for example, if the access layer switch uses an H3C switch and the aggregation layer uses a CISCO switch, DTP is meaningless. Therefore, the general engineering usage habits directly set the interface to trunk, and disable DTP negotiation, as follows:

SW1 (config) # int f0/1

SW1 (config-if) # switchport trunk encapsulation dot1q

SW1 (config-if) # switchport mode trunk

SW1 (config-if) # switchport nonegotiate

SW2 (config) # int f0/1

SW2 (config-if) # switchport trunk encapsulation dot1q

SW2 (config-if) # switchport nonegotiate

This experiment is complete.

========================================================== =

PingingLab· High quality ITEducation provider

CCIELab-ITProject Practice · customization of high-end Talents

Shenzhen pinke Information Technology Co., Ltd. · waihuan West Road Station, Guangzhou University City

Sina Weibo :@PingingLab@ PingingLab-Chen xinjie

PingingLabPublic Account: pinginglab

PingingLabTechnical Exchange Group: 240920680


This article from the "Chen xinjie network" blog, please be sure to keep this source http://chenxinjie.blog.51cto.com/7749507/1274503

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.