Вы находитесь на странице: 1из 56

Chapter 4: VTP

Chapter 4: VTP CCNA Exploration 4.0 1

CCNA Exploration 4.0

Chapter 4: VTP CCNA Exploration 4.0 1

Overview

Overview H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 2
Overview H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 2
Overview H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 2

Small network no problem

Small network no problem H ọ c vi ệ n m ạ ng Bach Khoa -
Small network no problem H ọ c vi ệ n m ạ ng Bach Khoa -

Large network ??????

Large network ?????? H ọ c vi ệ n m ạ ng Bach Khoa - Website:
Large network ?????? H ọ c vi ệ n m ạ ng Bach Khoa - Website:

VTP

VTP H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 5
VTP H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 5

VTP overview

VTP overview • VTP allows a network manager to makes changes on a switch that is

VTP allows a network manager to makes changes on a switch that is configured as a VTP server.

Basically, the VTP server distributes and synchronizes VLAN information to VTP-enabled switches throughout the switched network, which minimizes the problems caused by incorrect configurations and configuration inconsistencies.

VTP stores VLAN configurations in the VLAN database called vlan.dat.

VLAN configurations in the VLAN database called vlan.dat. H ọ c vi ệ n m ạ

Benefits of VTP

Benefits of VTP H ọ c vi ệ n m ạ ng Bach Khoa - Website:
Benefits of VTP H ọ c vi ệ n m ạ ng Bach Khoa - Website:
Benefits of VTP H ọ c vi ệ n m ạ ng Bach Khoa - Website:

VTP Components

VTP Components H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com
VTP Components H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com
• VTP Domain-Consists of one or more interconnected switches. All switches in a domain share

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.

sw it c h d e fi nes th e boundary o f eac h d

VTP mode

VTP mode H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com
VTP mode H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com

VTP pruning

VTP pruning H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com
VTP pruning H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com

VTP advertisement

VTP advertisement H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com
VTP advertisement H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com

Terminology

Terminology • VTP Server -VTP servers advertise the VTP domain VLAN information to other VTP-enabled switches

VTP Server-VTP servers advertise the VTP domain VLAN information to other VTP-enabled switches in the same VTP domain. VTP servers store the VLAN information for the entire domain in NVRAM. The server is where VLAN can created, deleted, or renamed for the domain.

VTP Client-VTP clients function the same way as VTP servers, but you cannot create, change, or delete VLANs on a VTP client. A VTP client only stores the VLAN information for the entire domain while the switch is on. A switch reset deletes the VLAN information. You must configure VTP client mode on a switch.

VTP Transparent-Transparent switches forward VTP advertisements to VTP clients and VTP servers. Transparent switches do not participate in VTP. VLANs that are created, renamed, or deleted on transparent switches are local to that switch only.

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.

domain even though receiving switches might discard them. H ọ c vi ệ n m ạ

Test your knowledge

Test your knowledge H ọ c vi ệ n m ạ ng Bach Khoa - Website:
Test your knowledge H ọ c vi ệ n m ạ ng Bach Khoa - Website:

Default VTP configuration

Default VTP configuration H ọ c vi ệ n m ạ ng Bach Khoa - Website:
Default VTP configuration H ọ c vi ệ n m ạ ng Bach Khoa - Website:

Default VTP configuration

Default VTP configuration • VTP Version-Displays the VTP version the switch is capable of running. By

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.

• Number of Existing VLANs-Number of existing VLANs. • VTP Opera ti ng Mode-C an b

VTP Operating Mode-Can be server, client, or transparent.

Default VTP configuration

Default VTP configuration • VTP Domain Name-Name that identifies the administrative domain for the switch. •

VTP Domain Name-Name that identifies the administrative domain for the switch.

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.

VTP traps are sent to a network mana g ement station . • MD5 Digest-A 16-byte

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.

VTP Domains

VTP Domains H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com
VTP Domains H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com

VTP Domains

VTP Domains H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com
VTP Domains H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com

VTP Domain Name Propogation

VTP Domain Name Propogation H ọ c vi ệ n m ạ ng Bach Khoa -
VTP Domain Name Propogation H ọ c vi ệ n m ạ ng Bach Khoa -
VTP Frame Structure H ọ c vi ệ n m ạ ng Bach Khoa -

VTP Frame Structure

VTP Frame Structure H ọ c vi ệ n m ạ ng Bach Khoa - Website:

VTP Frame Structure

VTP Frame Structure H ọ c vi ệ n m ạ ng Bach Khoa - Website:

VTP message content

VTP message content H ọ c vi ệ n m ạ ng Bach Khoa - Website:
VTP message content H ọ c vi ệ n m ạ ng Bach Khoa - Website:

VTP packets

VTP packets • VTP message types: – Summar y advertisements – Subset advertisement – Advertisement requests

VTP message types:

Summary advertisements

Subset advertisement

Advertisement requests

– Subset advertisement – Advertisement requests H ọ c vi ệ n m ạ ng Bach

VTP packets

VTP packets Summary Advertisements • Sent every five minutes by a server or client to inform

Summary Advertisements

Sent every five minutes by a server or client to inform neighboring switches of what it believes is the current VTP configuration revision number for its management domain.

fi gura ti on rev isi on number for its management domain. H ọ c vi

VTP packets

VTP packets Subset Advertisements • When you add, delete, or change a VLAN in a Catalyst,

Subset Advertisements

When you add, delete, or change a VLAN in a Catalyst, the server Catalyst where the changes are made increments the configuration revision and issues a summary advertisement.

One or several subset advertisements follow the summary advertisement. A subset advertisement contains a list of VLAN information. If there are several VLANs, more than one subset advertisement can be required in order to advertise all the VLANs.

• In response to an advertisement request.
• In response to an advertisement request.

VTP packets

VTP packets Advertisement Requests • A switch needs a VTP advertisement request in these situations: –

Advertisement Requests

A switch needs a VTP advertisement request in these situations:

The switch has been reset. ·

The VTP domain name has been changed. ·

The switch has received a VTP summary advertisement with a higher configuration revision than its own.

higher con fi gura ti on rev i s i on th an it s own

VTP Revision Number

VTP Revision Number • The configuration revision number is a 32-bit number that indicates the level

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.

Each VTP device tracks the VTP configuration revision number that is assigned to it.

Note: A VTP domain name change does not increment the revision number. Instead, it resets the revision number to zero.

number. Instead, it resets the revision number to zero. H ọ c vi ệ n m

Show vtp status: view revision number

Show vtp status: view revision number H ọ c vi ệ n m ạ ng Bach
Show vtp status: view revision number H ọ c vi ệ n m ạ ng Bach

VTP Modes Overview

VTP Modes Overview H ọ c vi ệ n m ạ ng Bach Khoa - Website:
VTP Modes Overview H ọ c vi ệ n m ạ ng Bach Khoa - Website:

VTP Mode Comparisions

VTP Mode Comparisions • VTP servers: – Create, modify, and delete VLAN and VLAN configuration parameters

VTP servers:

Create, modify, and delete VLAN and VLAN configuration parameters for the entire domain.

VTP servers save VLAN configuration information in the switch NVRAM.

VTP servers send VTP messages out to all trunk ports.

VTP clients:

Cannot create, modify, or delete VLAN information.

This mode is useful for switches lacking memory to store large tables of VLAN information.

The only role of VTP clients is to process VLAN changes and send VTP messages out all trunk ports.

VLAN changes and send VTP messages out all trunk ports. • VTP transparent mode: – Forward

VTP transparent mode:

Forward VTP advertisements but ignore information contained in the message.

Not modify its database when updates are received

Not send out an update indicating a change in its VLAN status.

Only forwarding VTP advertisements, VTP is disabled on a transparent switch.

VTP Pruning

VTP Pruning H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com
VTP Pruning H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com

VTP Pruning

VTP Pruning H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com
VTP Pruning H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com

VTP Pruning

VTP Pruning H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com
VTP Pruning H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com
VTP Config uration Guidelines H ọ c vi ệ n m ạ ng Bach Khoa

VTP Configuration Guidelines

VTP Config uration Guidelines H ọ c vi ệ n m ạ ng Bach Khoa -

Notes

Notes H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 36
Notes H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 36

Topology example

Topology example H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com
Topology example H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com

Confirm detail

Confirm detail H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com
Confirm detail H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com

Confirm domain name

Confirm domain name H ọ c vi ệ n m ạ ng Bach Khoa - Website:
Confirm domain name H ọ c vi ệ n m ạ ng Bach Khoa - Website:

Confirm version

Confirm version H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com
Confirm version H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com

Add Vlan at server, enable trunking port

Add Vlan at server, enable trunking port H ọ c vi ệ n m ạ ng
Add Vlan at server, enable trunking port H ọ c vi ệ n m ạ ng

Enable vtp client mode

Enable vtp client mode H ọ c vi ệ n m ạ ng Bach Khoa -
Enable vtp client mode H ọ c vi ệ n m ạ ng Bach Khoa -

Verify vtp status

Verify vtp status H ọ c vi ệ n m ạ ng Bach Khoa - Website:
Verify vtp status H ọ c vi ệ n m ạ ng Bach Khoa - Website:
Troubleshootin g VTP Connections H ọ c vi ệ n m ạ ng Bach Khoa

Troubleshooting VTP Connections

Troubleshootin g VTP Connections H ọ c vi ệ n m ạ ng Bach Khoa -
H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 45
H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 45
H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 45

Incompatible VTP Versions

Incompatible VTP Versions • Solutions: H ọ c vi ệ n m ạ ng Bach Khoa

Solutions:

Incompatible VTP Versions • Solutions: H ọ c vi ệ n m ạ ng Bach Khoa

VTP Password Issues

VTP Password Issues • Solutions: H ọ c vi ệ n m ạ ng Bach Khoa

Solutions:

VTP Password Issues • Solutions: H ọ c vi ệ n m ạ ng Bach Khoa

Incorrect VTP Domain Name

Incorrect VTP Domain Name • Solutions: H ọ c vi ệ n m ạ ng Bach

Solutions:

Incorrect VTP Domain Name • Solutions: H ọ c vi ệ n m ạ ng Bach

Incorrect Revision Number

Incorrect Revision Number H ọ c vi ệ n m ạ ng Bach Khoa - Website:
Incorrect Revision Number H ọ c vi ệ n m ạ ng Bach Khoa - Website:

Incorrect Revision Number

Incorrect Revision Number • Solutions: H ọ c vi ệ n m ạ ng Bach Khoa

Solutions:

Incorrect Revision Number • Solutions: H ọ c vi ệ n m ạ ng Bach Khoa

Verify Revision Number

Verify Revision Number H ọ c vi ệ n m ạ ng Bach Khoa - Website:
Verify Revision Number H ọ c vi ệ n m ạ ng Bach Khoa - Website:

Managing VLANs on a VTP Server

Managing VLANs on a VTP Server H ọ c vi ệ n m ạ ng Bach
Managing VLANs on a VTP Server H ọ c vi ệ n m ạ ng Bach
H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 53
H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 53
H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 54
H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 54
H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 55
H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 55

Summary

Summary H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 56
Summary H ọ c vi ệ n m ạ ng Bach Khoa - Website: www.bkacad.com 56