WHAT IS VTP
VTP HELPS YOU SIMPLIFI MANAGMENT OF THE VLAN DATA BASE ACROSS MULTIPAL SWITCHS.
MANAGES THE ADDITION,DELETION,AND REMAINING OF VLAN'S ON THE NETWORK-WIDE-BASIS
WHEN YOU CONFIGURE A NEW VLAN ON A VTP SWITCH (SETVER) , THE VLAN IS DISTRIBUTED THROUGH ALL SWITCHES IN THE DOMAIN.
REDUCE THE NEED TO CONFIGURE THE SAME VLAN EVERWHERE.
TYPES OF VTP
1. SERVER MODE
2. CLIENT MODE
3. TRANSPARENT MODE
SERVER MODE
IN THIS MODE YOU CAN DELETE,MODIFY,CREAT,RENAME THE VLAN'S. BY DEFAULT EVERY SWITCHE ENABLE THE SRVER MODE
SEND THE VLAN'S INFORMATION TO CLIENT SWITCH. .
CLIENT MODE
IN THIS MODE YOU CANNOT CREAT,DELET,MODIFY,RENAME THE VLAN'S. ENABLE THE CLIEND MODE IN SWITCH.
RECIEVE THE VLAN'S DATABASE AND FORWARDS THE OTHER SWITCHES.
TRANSPARENT MODE
HIS SUPPORTED SERVER MODE AND CLIENT MODE.
REQUIREMENT TO CONFIGURE VTP
1. DOMAIN NAME SAME ALL THE CLIENT SWITCHES TO SERVER SWITCH.
2. IF YOU SERVER SWITCH ATTACHED THE PORT AND HIS PORT ASSIGN THE VLAN SAME PORT ATTACHED ON CLIENT SWITCHESES.
FOR EX: SERVER SWITCH VLAN 10 ASSIGN PORT fa0/2 SAME PORT NO ATTACHED CLIENT SWITCHES.
3. SWITCH TO SWITCH CONNECT CABLE IN SAME PORT.
____________________________________
CONFIGURATION
FIRST STEP
1. CONFIGURE VLAN IN SWITCH 1 VLAN 10 AND VLAN 20
2. VLAN 10 NAME IS "it" AND VLAN 20 NAME IS "hr"
3. inter fa0/3 ASSIGN A VLAN 10 AND inter fa0/4 ASSIGN A VLAN 20
4. CONFIGURE VTP
SECOND STEP
COMMUNICATION BETWEEN SERVER SWITCH AND CLIENT SWITCH.
____________________________
SWITCH 1
Switch(config)# vlan 10
Switch(config)# name it
Switch(config)# vlan 20
Switch(config)# name hr
Switch(config)# inter fa0/3
Switch(config)# switchport mode access
Switch(config)# switchport access vlan 10
Switch(config)# inter fa0/4
Switch(config)# switchport mode access
Switch(config)# switchport access vlan 20
IF YOU WANT TO SEE IF THE VTP CONFIGURED IS ALSO CREATED OR NOT.
Switch# show vlan
CONFIGURE VTP
Switch(config)# vtp mode server
Switch(config)# vtp domain manan
Switch(config)# vtp password 123
Switch(config)# vtp version 2
FORWARD THE VLAN OTHER CLIENT SWITCH HIS COMMAND THROUGH
Switch(config)# inter fa0/1
Switch(config)# switchport mode trunk
IF YOU WANT TO SEE IF THE VTP CONFIGURED IS ALSO CREATED OR NOT.
Switch# show vtp status
GO TO SWITCH 2
Switch(config)# vtp mode client
Switch(config)# vtp domain manan
Switch(config)# vtp password 123
Switch(config)# vtp version 2
FORWARD THE VLAN OTHER CLIENT SWITCH HIS COMMAND THROUGH
Switch(config)# inter fa0/2
Switch(config)# switchport mode trunk
CHECK THE VLAN IN SWITCH 2
Switch# show vlan
SWITCH 3
SWITCH 2 SAME COMMAND ENTER IN SWITCH 3
___________________________________
Comments
Post a Comment