Virtual Trunking Protocol: Compiled By: Miss Kiran Ayub

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 13

Virtual Trunking

Protocol

Compiled By: Miss Kiran Ayub

VTP introduction

VTP minimizes misconfigurations and


configuration, such as duplicate VLAN
names or incorrect VLAN-type
specifications, VTP helps you simplify
management of the VLAN data base across
multiple switches

VTP allows for centralized changes that are


communicated to all other switches in the
network
Compiled By: Miss Kiran Ayub

VTP Overview

Cisco layer 2 protocol


Manages the addition ,deletion and renaming of
VLANs on a network- wide basis
When you configure a new VLAN on VTP
Switch(server), the VLAN is distributed through
all switches in the domain.
Reduces the need to configure the same VLAN
everywhere
Available on most of the Cisco Catalyst family
Products
VTP stores VLAN configurations in the VLAN
database called vlan.dat
Compiled By: Miss Kiran Ayub

Benefits of VTP
Virtual Local Area Network (VLAN) Trunk
Protocol(VTP) reduces administration o a
switched network
Minimizes the problems caused by incorrect
configurations and configuration
inconsistencies

Compiled By: Miss Kiran Ayub

VTP domain
Group of layer 2 switches sharing VLAN
data.
Ends at router or layer 3 switch.
Switch can be linked but not part of domain.
Each switch can belong to only one domain.
Domain is defined by its name.
Proprietary to Cisco, so all switches in
domain must be Cisco switches.

Compiled By: Miss Kiran Ayub

VTP Modes
A switch can be configured in one of three
modes
Server- default mode. Sends VLAN
information to other switches.
Client- receives VLAN information and
forward it to other switches.
Transparent- forward VTP traffic but do not
originate or use it. They can have their own
VLANs,not shared with other switches

Compiled By: Miss Kiran Ayub

VTP -Client Mode


Cannot create ,change or delete VLANs on
command-line interface (CLI)
Forwards advertisements to other switches.
Synchronizes VLAN configuration with latest
information received from other switches in
the management domain
Does Not save VLAN configuration in non
volatile RAM(NVRAM)

Compiled By: Miss Kiran Ayub

VTP -Server Mode


Create, modifies and delete VLANs.
Send and forwards advertisements to others switches
Synchronizes VLAN configuration with latest
information received from other switches in the
management port
Saves VLAN configuration in NVRAM(non volatile ram)
VTP servers can 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.

Compiled By: Miss Kiran Ayub

VTP -Transparent Mode

Create ,delete and modifies VLAN only on the local switch


Forwards VTP advertisements received from other
switches in the same management domain.
Does not synchronize its VLAN configuration with
information received from other switches in management
domain
Saves VLAN configuration in NVRAM.
Switches in VTP transparent mode forward VTP
advertisements but ignore information contained in the
message.
A transparent switch will not modify its database when
updates are received, nor will the switch send out an
update indicating a change in its VLAN status.
Except for forwarding VTP advertisements, VTP is disabled
on a transparent switch.
Compiled By: Miss Kiran Ayub

configurations
Switch(config)#vtp version <1/2>
Switch(config)#vtp mode
<server/client/transparent>
Switch(config)#vtp domain <domain
name>
Switch(config)#vtp password <WORD>

Compiled By: Miss Kiran Ayub

10

VTP (configurations)
Switch>enable
Switch#conf t
Enter configuration commands, one per line. End with
CNTL/Z.
Switch(config)#
Switch(config)#vtp ?
domain
Set the name of the VTP administrative domain.
mode
Configure VTP device mode
password Set the password for the VTP administrative
domain
version Set the administrative domain to VTP version
Switch(config)#vtp mode ?
client
Set the device to client mode.
server
Set the device to server mode.
transparent Set the device to transparent mode.

Compiled By: Miss Kiran Ayub

11

VTP (Server mode


configurations)
Switch#conf t
Switch(config)#vtp mode server
Setting device to VTP SERVER mode.
Switch(config)#vtp domain IT
Domain name already set to IT.
Switch(config)#vtp password abc
Setting device VLAN database password to
abc
Switch(config)#do show vtp status

Compiled By: Miss Kiran Ayub

12

VTP (client mode


configurations)

Switch#conf t
Switch(config)#vtp mode client
Setting device to VTP CLIENT mode.
Switch(config)#vtp domain IT
Domain name already set to IT.
Switch(config)#vtp password abc
Setting device VLAN database password to abc

Use the show vtp status command


Switch(config)#do show vtp status

Compiled By: Miss Kiran Ayub

13

You might also like