Sunteți pe pagina 1din 20

CNAP Semester 3: Switching basics and Intermediate routing Module 9

VLAN TRUNKING

PROTOCOL

Objectives
VLAN trunking uses tagged frames to allow multiple VLANs to be carried throughout a large switched network over shared backbones.

Table of Content
1 Trunking 2 VTP 3 Inter-VLAN routing overview

TRUNKING

History of trunking

A trunk is a single communications line that carries multiple channels of signals.

Trunking concept
VLAN1 VLAN1 VLAN1

VLAN2

VLAN2

VLAN2

VLAN1
TRUNK VLAN2 VLAN1 and VLAN2

VLAN1

VLAN2

VLANs and trunking

ISL 802.1Q

Trunking implementation
Router# show port capabilities Router# configure terminal Router(config)# interface f0/1 Router(config-if)# Switchport mode trunk. Router(config-if)# Switchport trunk encapsulation dot1q/isl Router# Show trunk

VTP

VTP concepts
The role of VTP is to maintain VLAN configuration consistency across a common network administration domain. VTP is a messaging protocol that uses Layer 2 trunk frames to manage the addition, deletion, and renaming of VLANs on a single domain.

VTP modes
Server Client Transparent

Three types of VTP messages


Summary advertisements Advertisement requests Subset advertisements

VTP configuration
Switch# vlan database Switch(vlan)# vtp v2-mode Switch(vlan)# vtp domain cisco Switch(vlan)# vtp client/server/transparent Switch# show vtp status Switch# show vtp counters

INTER-VLAN ROUTING

OVERVIEW

Inter-VLAN issues and solutions


When a host on one VLAN wants to communicate with a host on another, a router must be involved. Networks with many VLANs must use VLAN trunking to assign multiple VLANs to a single router interface.

Physical and logical interfaces

Configuring inter-VLAN routing


Router(config)# interface fastethernet port-number. Subinterface-number Router(config-if)#encapsulation dot1q/isl vlan-number Router(config-if)#ip address x.x.x.x y.y.y.y

Summary
Definition of VLAN Trunking Protocol (VTP) Configuring inter-VLAN routing using subinterfaces on a router port

Q&A

S-ar putea să vă placă și