lan switching and wireless: ch4 - vlan trunking protocol (vtp)

40
LAN Switching and Wireless CH4: VLAN TRUNKING PROTOCOL (VTP) Abdelkhalik Mosa

Upload: abdelkhalik-mosa

Post on 14-Dec-2014

191 views

Category:

Technology


2 download

DESCRIPTION

This chapter discusses in detail the VLAN Trunking Protocol (VTP). How the VTP manages the consistency of VLAN configurations? Understanding the different components of the VTP: VTP domain, VTP Advertisements and the different VTP Modes. A switch can be configured in one of three modes: server, client, or transparent. VTP pruning and the anatomy of VTP advertisements. The different types of VTP advertisements: summary advertisement, subset advertisement and request advertisement. This is followed by showing VTP in action. Finally, the VTP configuration and the troubleshooting of common VTP connections problems such as incompatible VTP versions, incorrect VTP domain name and the incorrect revision number.

TRANSCRIPT

Page 1: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

LAN Switching and Wireless

CH4: VLAN TRUNKING PROTOCOL (VTP)

Abdelkhalik Mosa

Page 2: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

If you found any mistake’s’ on these slides or if

you have any other questions or comments,

please feel free to contact me at:

[email protected] or

[email protected]

Linkedin : https://www.linkedin.com/in/AbdelkhalikMosaTwitter : https://twitter.com/AbdelkhalikMosaFacebook: https://www.facebook.com/Abdelkhalik.Mosa

Thanks, Abdelkhalik Elsaid Mosa

Suez Canal University Faculty of Computers and Informatics - Ismailia - Egypt

Note !

Page 3: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

What is VTP

• VLAN Trunking Protocol (VTP) is a Cisco proprietary protocol that allows a network manager to configure a switch so that it will propagate VLAN configurations to other switches in the network.

Page 4: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

What is VTP

• VTP maintains VLAN configuration consistency by managing the addition, deletion, and renaming of VLANs across multiple Cisco switches in a network.

VTP advertisements will not be exchanged if the trunk between the switches is inactive.

Page 5: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP Components: VTP Domain

• 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 6: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP Components: VTP Advertisements

• VTP Advertisements: VTP uses a hierarchy of advertisements to distribute and synchronize VLAN configurations across the network.

Page 7: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP Components: VTP Modes

• VTP Modes: A switch can be configured in one of three modes: server, client, or transparent.

Page 8: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP Components: VTP Modes

• VTP Server: advertises 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 VLANs can be created, deleted, or renamed for the

domain.

• VTP Client: functions 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.

• VTP Transparent: forwards 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.

Page 9: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

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.

Page 10: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

Relax and Refresh

Page 11: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

Default VTP Configuration

S# show vtp status

Page 12: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP Domains

• VTP allows you to separate your network into smaller management domains to help reduce VLAN management.

• VTP domains limit the extent to which configuration changes are propagated in the network if an error occurs.

• 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 13: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP Advertisements

• VTP advertisements (or messages) distribute VTP domain name and VLAN configuration changes to VTP-enabled switches.

• VTP Header generally contains: Domain name, Domain name length, version, Message type, and revision number

Page 14: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP Message Contents

Page 15: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

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. Changes in VTP domain name, resets the revision number to zero.

Page 16: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

Types of VTP advertisements: Summary Advertisement

• The summary advertisement contains the VTP domain name, the current revision number, and other VTP configuration details.

Page 17: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

Types of VTP advertisements: Subset Advertisement

• A subset advertisement contains VLAN information.

Page 18: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

Types of VTP advertisements: Request Advertisement

• 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.

Page 19: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

Summary details

• Version: Displays the VTP version, on Catalyst 2960 v1 or v2.• Code: Identifies the type of advertisement ‘0X01’.• Followers: Identifies that this packet is followed by a subset advertisement.• MgmtD Len: The length of domain name.• Management Domain Name: The domain name.• Configuration Rev. num.: The Rev. Num. of the VTP server sending the msg.• Updater Identity: the IP add. Of the switch that is the last to have incremented the

configuration revision.• Update Timestamp: Date & time of the last increment of the configuration revision.• MD5 Digest: carries the VTP Password.

Page 20: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

Subset details

• Version: Displays the VTP version, on Catalyst 2960 v1 or v2.• Code: Identifies the type of advertisement, “0x02”.• Seq-Number: The sequence of the packet in the stream of packets that follow a

summary advertisement, starts with 1.• MgmtD Len: The length of domain name.• Management Domain Name: The domain name.• Configuration Rev. num.: The Rev. Num. of the VTP server sending the msg.

Page 21: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

Request details

• Version: Displays the VTP version, on Catalyst 2960 v1 or v2.• Code: Identifies the type of advertisement, “0x03”.• Rsvd: A reserved field.• MgmtD Len: The length of domain name.• Management Domain Name: The domain name.• Start Value: is used when there are several subset advertisements.

Page 22: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP Modes

• Cannot create, change, or delete VLANs

• Forwards advertisements after taking a copy.

• Not saved in NVRAM

• Creates VLANs• Modifies VLANs• Deletes VLANs• Sends and forwards advertisements• Saved in NVRAM• Default mode

• Creates local VLANs only• Modifies local VLANs only • Deletes local VLANs only• Doesn’t advertise local

configuration.• Sends and forwards

advertisements without being affected

• Saved in NVRAM

Page 23: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP in Action

Page 24: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP in Action

Page 25: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP in Action

Page 26: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP in Action

Page 27: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP in Action

Page 28: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP in Action

Page 29: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP in Action

Page 30: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP in Action

Page 31: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP in Action

Page 32: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP in Action

Page 33: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP Pruning

• VTP pruning prevents unnecessary flooding of broadcast information from one VLAN across all trunks in a VTP domain.

Page 34: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

VTP Configuration

• scu_fci# show vtp status• scu_fci# conf t• scu_fci(config)# vtp domain <domain-name> • scu_fci(config)# vtp mode [ server | client | transparent ]• scu_fci(config)# vtp version <I or 2>• scu_fci(config)# vtp password <password>• scu_fci# show vtp counters

Troubleshooting VTP Connections

Page 35: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

Troubleshooting VTP Connections: Incompatible VTP Versions

Page 36: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

Troubleshooting VTP Connections: Incorrect VTP Domain Name

Page 37: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

Troubleshooting VTP Connections: Switches Set to VTP Client Mode

Page 38: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

Troubleshooting VTP Connections: Incorrect Revision Number

Page 39: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

Managing VLANs on a VTP Server

Page 40: LAN Switching and Wireless: Ch4 - VLAN Trunking Protocol (VTP)

Thank You..