ScaNv6 instructorPPT Chapter2
ScaNv6 instructorPPT Chapter2
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 1
VTP, Extended VLANs, and DTP
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 2
VTP Concepts and Operation
VTP Overview
VLAN trunking protocol (VTP) allows a network administrator to manage VLANs on a switch
configured as a VTP server.
The VTP server distributes and synchronizes VLAN information over trunk links to VTP-
enabled switches throughout the switched network.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3
VTP Concepts and Operation
VTP Modes
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4
VTP Concepts and Operation
VTP Modes (Cont.)
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
VTP Concepts and Operation
VTP Advertisements
Three types of VTP Advertisements:
• Summary advertisements – contain VTP
domain name and configuration revision
number.
• Advertisement request - response to a
summary advertisement message when the
summary advertisement contains a higher
configuration revision number than the
current value.
• Subset advertisements - contain VLAN
information including any changes.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
VTP Concepts and Operation
VTP Versions
Switches in the same VTP domain must use the same VTP version.
Note: The newest version of VTP is Version 3, which is beyond the scope of this course.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
VTP Concepts and Operation
Default VTP configuration The show vtp status command
displays the VTP status which includes
the following:
Verify Default VTP Status
• VTP Version capable and running
• VTP Domain Name
• VTP Pruning Mode
• VTP Traps Generation
• Device ID
• Configuration Last Modified
• VTP Operating Mode
• Maximum VLANs Supported Locally
• Number of Existing VLANs
• Configuration Revision
• MD5 Digest
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
VTP Concepts and Operation
VTP Caveats
VTP configuration revision number
is stored in NVRAM.
To reset VTP configuration revision
number to zero:
• Change the switch's VTP domain to a
nonexistent VTP domain and then
change the domain back to the original
name.
• Change the switch's VTP mode to
transparent and then back to previous
VTP mode.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9
VTP Configuration
VTP Configuration Overview
Steps to Configure VTP:
• Step 1 - Configure the VTP Server
• Step 2 - Configure the VTP Domain
Name and Password
• Step 3 - Configure the VTP Clients
• Step 4 - Configure VLANs on the
VTP Server.
• Step 5 - Verify the VTP clients have
received the new VLAN information.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
VTP Configuration
Step 1 – Configure the VTP Server
Use the vtp mode server
command to configure a switch as a
VTP server.
• Confirm all switches are configured
with default configuration before
issuing this command to avoid
problems with configuration revision
numbers.
Use the show vtp status to verify.
• Notice configuration revision number is
still set to 0 and number of existing
VLANS is 5.
• The 5 VLANs are the default VLAN 1
and VLANs 1002-1005.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
VTP Configuration
Step 2 – Configure the VTP Domain Name and Password
Use the vtp domain domain-name
command to configure the domain
name.
• VTP client must have same domain
name as the VTP server before it will
accept VTP advertisements.
Configure a password using the vtp
password password command.
• Use the show vtp password
command to verify.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
VTP Configuration
Step 3 – Configure the VTP Clients
Use the vtp mode client command to configure the VTP clients.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
VTP Configuration
Step 4 – Configure VLANs on the VTP Server
Use the vlan vlan-number command to
create VLANs.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
VTP Configuration
Step 5 – Verify that the VTP Clients Have Received the New VLAN Information
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15
Extended VLANs
VLAN Ranges on Catalyst Switches
Catalyst 2960 and 3560 Series
switches support over 4,000
VLANs.
Normal range VLANs are numbered
1 to 1,005.
• Stored in vlan.dat file
Extended range VLANs are
numbered 1,006 to 4,094.
• Not stored in vlan.dat file
• VTP does not learn
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
Extended VLANs
Creating a VLAN
Normal range VLANs are stored in
flash in vlan.dat
Use vlan vlan-id to create a VLAN
• Use name vlan-name to name the VLAN
• Naming each VLAN is considered a best
practice in switch configuration.
To configure multiple VLANs, a series
of VLAN IDs can be entered separated
by commas, or a range of VLAN IDs
separated by hyphens.
• vlan 100,102,105-107
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17
Extended VLANs
Assigning Ports to VLANs
Access port can belong to only one
VLAN at a time.
• Only exception is when an IP phone is
connected to the port. Then there are
two VLANs associated with the port:
one for voice and one for data.
Note: Use the interface range
command to simultaneously configure
multiple interfaces.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
Extended VLANs
Verifying VLAN Information
Commands to verify VLANs:
• show vlan
• show interfaces
• show vlan name vlan-name
• show vlan brief
• show vlan summary
• show interfaces vlan vlan-id
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19
Extended VLANs
Configuring Extended VLANs
Extended range VLANs are identified
by a VLAN ID between 1006 and
4094.
To configure an extended VLAN on a
2960 switch it must be set to VTP
transparent mode. (By default 2960
switches do not support Extended
range VLANs.)
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20
Dynamic Trunking Protocol
Introduction to DTP
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23
Layer 3 Switching Operation and Configuration
Introduction to Layer 3 Switching
Multilayer switches provide high-packet
processing rates using hardware-based
switching.
Catalyst multilayer switches support the
following types of Layer 3 interfaces:
• Routed port - A layer 3 interface
• Switch virtual interface (SVI) - Virtual Interface
for inter- VLAN routing
All Layer 3 Cisco Catalyst switches support
routing protocols, but several models require
enhanced software for specific routing protocol
features.