39
CCNA Semester 3 Chapter 4: VTP CCNA Exploration 4.0

Ca Ex S3 C4 Vtp

  • Upload
    neo-kim

  • View
    1.579

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Ca Ex S3 C4 Vtp

CCNA – Semester 3

Chapter 4: VTP

CCNA Exploration 4.0

Page 2: Ca Ex S3 C4 Vtp

2

Objectives

• Explain the role of VTP in a converged switched network.

• Describe the operation of VTP including domains, modes,

advertisements, and pruning.

• Configure VTP on the switches in a converged network.

Page 3: Ca Ex S3 C4 Vtp

3

VTP Concepts

Page 4: Ca Ex S3 C4 Vtp

4

What is VTP?

• VTP allows a network manager to configure a switch so that

it will propagate VLAN configurations to other switches in the

network. The switch can be configured in the role of a VTP

server or a VTP client. VTP only learns about normal-range

VLANs (VLAN IDs 1 to 1005). Extended-range VLANs (IDs

greater than 1005) are not supported by VTP.

Page 5: Ca Ex S3 C4 Vtp

5

Benefits of VTP

Page 6: Ca Ex S3 C4 Vtp

6

VTP Components

• VTP Domain: Consists of one or more interconnected

switches. All switches in a domain share VLAN configuration

details using VTP advertisements. A router or Layer 3 switch

defines the boundary of each domain.

Page 7: Ca Ex S3 C4 Vtp

7

VTP Components

• VTP Modes: A switch can be configured in one of three

modes:

– Server

– Client

– Transparent.

Page 8: Ca Ex S3 C4 Vtp

8

VTP Components

• VTP Advertisements: VTP uses a hierarchy of

advertisements to distribute and synchronize VLAN

configurations across the network.

Page 9: Ca Ex S3 C4 Vtp

9

VTP Components

• VTP Pruning:

VTP pruning increases network available bandwidth by restricting flooded traffic to those trunk links that the traffic must use to reach the destination devices. Without VTP pruning, a switch floods broadcast, multicast, and unknown unicast traffic across all trunk links within a VTP domain even though receiving switches might discard them.

Activity

4.1.1.5

Page 10: Ca Ex S3 C4 Vtp

10

VTP Operation

Page 11: Ca Ex S3 C4 Vtp

11

Default VTP Configuration

• VTP Versions = 1

• VTP Domain Name = null

• VTP Mode = Server

• Config Revision = 0

• VLANs = 1

Page 12: Ca Ex S3 C4 Vtp

12

Show vtp status command

• VTP Version: Displays the VTP version the switch is

capable of running. By default, the switch implements

version 1, but can be set to version 2.

• Configuration Revision: Current configuration revision

number on this switch. You will learn more about revisions

numbers in this chapter.

• Maximum VLANs Supported Locally: Maximum number of

VLANs supported locally.

• Number of Existing VLANs: Number of existing VLANs.

• VTP Operating Mode: Can be server, client, or transparent.

• VTP Domain Name: Name that identifies the administrative

domain for the switch.

Page 13: Ca Ex S3 C4 Vtp

13

Show vtp status command

• VTP Pruning Mode: Displays whether pruning is enabled or

disabled.

• VTP V2 Mode: Displays if VTP version 2 mode is enabled.

VTP version 2 is disabled by default.

• VTP Traps Generation: Displays whether VTP traps are

sent to a network management station.

• MD5 Digest: A 16-byte checksum of the VTP configuration.

• Configuration Last Modified: Date and time of the last

configuration modification. Displays the IP address of the

switch that caused the configuration change to the database.

Page 14: Ca Ex S3 C4 Vtp

14

VTP Domains

• VTP allows you to separate your network into smaller

management domains to help reduce VLAN management.

• It limits the extent to which configuration changes are

propagated in the network if an error occurs.

• A VTP domain consists of one switch or several

interconnected switches sharing the same VTP domain

name.

• A switch can be a member of only one VTP domain at a

time.

• Until the VTP domain name is specified you cannot create or

modify VLANs on a VTP server, and VLAN information is not

propagated over the network.

Page 15: Ca Ex S3 C4 Vtp

15

VTP Domains

VTP Domain Name Propagation

• For a VTP server or client switch to participate in a VTP-

enabled network, it must be a part of the same domain.

When switches are in different VTP domains, they do not

exchange VTP messages. A VTP server propagates the

VTP domain name to all switches for you. Domain name

propagation uses three VTP components: servers, clients,

and advertisements.

Page 16: Ca Ex S3 C4 Vtp

16

VTP Advertising

VTP Frame Structure

• VTP advertisements (or messages) distribute VTP domain

name and VLAN configuration changes to VTP-enabled

switches.

Page 17: Ca Ex S3 C4 Vtp

17

VTP Advertising

• VTP Frame Details

Page 18: Ca Ex S3 C4 Vtp

18

VTP Advertising

VTP Message Contents

• VTP frames contain the following fixed-length global domain information:

• VTP domain name

• Identity of the switch sending the message, and the time it was sent

• MD5 digest VLAN configuration, including maximum transmission unit

(MTU) size for each VLAN

• Frame format: ISL or 802.1Q

VTP frames contain the following information for each configured

VLAN:

• VLAN IDs (IEEE 802.1Q)

• VLAN name

• VLAN type

• VLAN state

• Additional VLAN configuration information specific to the VLAN type

Page 19: Ca Ex S3 C4 Vtp

19

VTP Advertising

VTP Revision Number

• The configuration revision number is a 32-bit number that

indicates the level of revision for a VTP frame. The default

configuration number for a switch is zero. Each time a

VLAN is added or removed, the configuration revision

number is incremented.

• The configuration revision number determines whether the

configuration information received from another VTP-

enabled switch is more recent than the version stored on

the switch.

• The revision number plays an important and complex role

in enabling VTP to distribute and synchronize VTP domain

and VLAN configuration information.

Page 20: Ca Ex S3 C4 Vtp

20

Summary Advertisements

• The summary advertisement contains the VTP domain name, the current

revision number, and other VTP configuration details. Summary

advertisements are sent:

– Every 5 minutes by a VTP server or client to inform neighboring VTP-

enabled switches of the current VTP configuration revision number

for its VTP domain

– Immediately after a configuration has been made

– Subset Advertisements

Subset Advertisements

• A subset advertisement contains VLAN information. Changes that trigger

the subset advertisement include:

– Creating or deleting a VLAN

– Suspending or activating a VLAN

– Changing the name of a VLAN

– Changing the MTU of a VLAN

VTP Advertisements

Page 21: Ca Ex S3 C4 Vtp

21

Request Advertisements

• When a request advertisement is sent to a VTP server in the

same VTP domain, the VTP server responds by sending a

summary advertisement and then a subset advertisement.

Request advertisements are sent if:

– The VTP domain name has been changed

– The switch receives a summary advertisement with a

higher configuration revision number than its own

– A subset advertisement message is missed for some

reason

– The switch has been reset

VTP Advertisements

Page 22: Ca Ex S3 C4 Vtp

22

VTP Advertisements Details

Page 23: Ca Ex S3 C4 Vtp

23

VTP Advertisements Details

Page 24: Ca Ex S3 C4 Vtp

24

VTP Modes

• A Cisco switch, configured with Cisco IOS software, can be

configured in either server, client, or transparent mode.

– Server Mode

– Client Mode

– Transparent Mode

VTP in action: 4.2.4.2 / 4.2.4.3

Page 25: Ca Ex S3 C4 Vtp

25

VTP Pruning

• VTP pruning prevents unnecessary flooding of broadcast

information from one VLAN across all trunks in a VTP

domain.

• VTP pruning permits switches to negotiate which VLANs are

assigned to ports at the other end of a trunk and, hence,

prune the VLANs that are not assigned to ports on the

remote switch.

Page 26: Ca Ex S3 C4 Vtp

26

VTP Pruning

No VTP Pruning

Page 27: Ca Ex S3 C4 Vtp

27

VTP Pruning

VTP Pruning

Activity: 4.2.5.4

Page 28: Ca Ex S3 C4 Vtp

28

Configuring VTP

Page 29: Ca Ex S3 C4 Vtp

29

VTP Configuration Guidelines

Page 30: Ca Ex S3 C4 Vtp

30

Configuring VTP

• Configure the VTP Server

– (config)# vtp mode {server}

• Configure the VTP domain name

– (config)# vtp domain domain_name

Page 31: Ca Ex S3 C4 Vtp

31

Configuring VTP

• Configure the VTP Client

– (config)# vtp mode client

Page 32: Ca Ex S3 C4 Vtp

32

Configuring VTP

• Use the show vtp

counters command

to confirm that the

advertisements took

place.

Verify

• Use the show VTP status command to verify the following:

– Configuration revision number

– The number of VLANs

– Domain name

Page 33: Ca Ex S3 C4 Vtp

33

Troubleshooting VTP Configurations

• Common VTP Configuration Issues

– Incompatible VTP Versions

– VTP Password Issues

– Incorrect VTP Mode Name

– All Switches set to VTP Client Mode

Page 34: Ca Ex S3 C4 Vtp

34

Troubleshooting VTP Configurations

• Incompatible VTP Versions

– VTP versions 1 and 2 are incompatible with each other

– Make sure all switches are running the same VTP

version.

– Solution: (config)#vtp version number

• VTP Password Issues

– Ensure passwords are all the same on all VTP enabled

switches in the VTP domain.

– By default a Cisco switch does not use a VTP password.

– When a VTP advertisement is received Cisco switches do

not automatically set the VTP password parameter

– Solution: (config)#vtp password password

Page 35: Ca Ex S3 C4 Vtp

35

Troubleshooting VTP Configurations

• Incorrect VTP Domain Name

– The VTP domain name is a key parameter that is set on a

switch.

– If a switch receives the wrong VTP advertisement, the

switch discards the message. If the discarded message

contains legitimate configuration information, the switch

does not synchronize its VLAN database as expected.

– Solution: (config)#vtp domain domain-name

• Switches Set to VTP Client Mode

– All switches are VTP client. Because the VTP client

switches do not store the VLAN information in NVRAM,

they need to refresh the VLAN information after a reload.

– Solution: (config)#vtp mode server

Page 36: Ca Ex S3 C4 Vtp

36

Troubleshooting VTP Configurations

• Incorrect Revision Number

• Solution: Reset Revision Number

– (config)#vtp domain domain-name

Page 37: Ca Ex S3 C4 Vtp

37

Managing VLANs on a VTP Server

• Configure New VLANs and Ports

Page 38: Ca Ex S3 C4 Vtp

38

Managing VLANs on a VTP Server

• Show interfaces trunk command

Page 39: Ca Ex S3 C4 Vtp

39

Summary

• VTP simplifies VLAN administration across multiple Cisco Catalyst switches by replicating VLAN configurations between switches.

• A VTP domain defines which switches in a network are to be configured similarly with respect to the VLAN configuration.

• A Cisco Catalyst switch can be configured for one of three VTP operational modes: Server, Client, or Transparent.

• VTP server mode allows for the creation, deletion, and modification of VLANs.

• VTP client mode prevents modification of the VLANs and can only receive VLAN information through VTP advertisements.

• VTP transparent mode allows for the creation, deletion, and modification of local VLANs, including extended range VLANs. VLAN information is not synchronized with other switches.

• VTP Passwords can be used to limit synchronization between switches configured with the same VTP domain.

• VTP pruning can improve the overall bandwidth over trunk links by limiting flood traffic to switches that contain active VLANs specific for the flood traffic.

• Always verify your configuration to limit the possibility of VTP errors.