Sunday, 14 April 2013

Basic VTP Configuration

VTP


Objectives

  • Cable network
  • Configure VTP mode
  • Confgiure VTP domain
  • Create VLANs
  • Configure trunk ports


Configure VTP mode and domain


SW1(config)#vtp mode server
SW1(config)#vtp domain CISCO
Changing VTP domain name from NULL to CISCO
SW1(config)#vtp password CISCO
Setting device VLAN database password to CISCO
SW1(config)#vtp version 2


SW2(config)#vtp mode client
Setting device to VTP CLIENT mode.

SW2(config)#vtp domain CISCO
Changing VTP domain name from NULL to CISCO
SW2(config)#vtp password CISCO
Setting device VLAN database password to CISCO


SW3(config)#vtp mode transparent
Setting device to VTP TRANSPARENT mode.

SW3(config)#vtp domain CISCO
Changing VTP domain name from NULL to CISCO
SW3(config)#vtp password CISCO
Setting device VLAN database password to CISCO


Create VLANs


SW1(config-vlan)#vlan 99
SW1(config-vlan)#name MANAGEMENT_VLAN
SW1(config-vlan)#vlan 2
SW1(config-vlan)#name LOCAL_USERS_VLAN
SW1(config-vlan)#vlan 3
SW1(config-vlan)#name GUEST_USERS_VLAN


Configure trunk ports

Configuration is the same for SW2 and SW3

SW1(config)#int range fa0/1 - 2
SW1(config-if-range)#switchport mode trunk


SW2(config-if)#int fa0/2
SW2(config-if)#switchport mode trunk
SW2(config-if)#int fa0/24
SW2(config-if)#switchport mode trunk



Complete


The VLAN information should now of been passed to the VTP client (SW2). SW3 is in transparent mode and will only forward VTP messages on. So if Fa0/1 went down VTP information will still be relayed to SW2.

SW2(config-if)#do show vlan br

VLAN Name                             Status    Ports
---- ---------------------------------------------------------------
<output ommitted>


2    LOCAL_USERS_VLAN    active   
3    GUEST_USERS_VLAN     active   
99   MANAGEMENT_VLAN  active   
 




No comments:

Post a Comment