3.5.5-Packet-Tracer - Configure-Dtp
3.5.5-Packet-Tracer - Configure-Dtp
Addressing Table
Device Interface IP Address Subnet Mask
Objectives
• Configure static trunking
• Configure and Verify DTP
Background / Scenario
As the number of switches in a network increases, the administration necessary to manage the VLANs and
trunks can be challenging. To ease some of the VLAN and trunking configurations, trunk negotiation between
network devices is managed by the Dynamic Trunking Protocol (DTP), and is automatically enabled on
Catalyst 2960 and Catalyst 3650 switches.
In this activity, you will configure trunk links between the switches. You will assign ports to VLANs and verify
end-to-end connectivity between hosts in the same VLAN. You will configure trunk links between the
switches, and you will configure VLAN 999 as the native VLAN.
Instructions
Part 1: Verify VLAN configuration.
Verify the configured VLANs on the switches.
a. On S1, go to privileged EXEC mode and enter the show vlan brief command to verify the VLANs that
are present.
© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 6 www.netacad.com
Packet Tracer - Configure DTP
© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 6 www.netacad.com
Packet Tracer - Configure DTP
10 Red
20 Blue
30 Yellow
c. Verify the addition of the new VLANs. Enter show vlan brief at the privileged EXEC mode.
- I added new vlan, vlan 10 (red), vlan 20 (blue), vlan 30 (yellow), vlan 99 (management), ad
S2 F0/1 – 8
S3 F0/1 – 8 VLAN 10 (Red) 192.168.10.0 /24
S2 F0/9 – 16
S3 F0/9 – 16 VLAN 20 (Blue) 192.168.20.0 /24
S2 F0/17 – 24
S3 F0/17 – 24 VLAN 30 (Yellow) 192.168.30.0 /24
© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 6 www.netacad.com
Packet Tracer - Configure DTP
b. On switch S2, verify that the trunk has been negotiated by entering the show interfaces trunk command.
Interface GigabitEthernet 0/1 should appear in the output.
c. For the trunk link between S1 and S3, configure interface GigabitEthernet 0/2 as a static trunk link on S1.
In addition, disable DTP negotiation on interface G0/2 on S1.
S1(config)# interface g0/2
S1(config-if)# switchport mode trunk
S1(config-if)# switchport nonegotiate
d. Use the show dtp command to verify the status of DTP.
S1# show dtp
Global DTP information
Sending DTP Hello packets every 30 seconds
Dynamic Trunk timeout is 300 seconds
© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 6 www.netacad.com
Packet Tracer - Configure DTP
f. Configure VLAN 999 as the native VLAN for the trunk links on S1.
S1(config)# interface range g0/1 - 2
S1(config-if-range)# switchport trunk native vlan 999
What messages did you receive on S1? How would you correct it?
Why was the ping unsuccessful? (Hint: Look at the ‘show vlan brief’ output from all three switches.
Compare the outputs from the ‘show interface trunk’ on all switches.)
- Because the configuration of the ports in the s1 is not in the same vlan as switch s2 and s3
- It is off
© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 6 www.netacad.com