VTP Configuration and Verification
Before configuring VTP the engineer needs to decide which switches will be in the same VTP domain. The VTP domain name must be chosen, as well as an optional password. (Case sensitive.) Server choice must also be considered.
Steps to configure VTP:
Step 1 – Configure the VTP mode using the vtp mode {server | client} global configuration command.
2 – Configure the VTP domain name using the vtp domain domain-name global configuration command.
3 – (Optional) On both clients and servers, configure the same case-sensitive password using the vtp-password password-value global configuration command.
4 – (Optional) Configure VTP pruning on the VTP servers using the vtp pruning global configuration command.
5 – (Optional) Enable VTP version 2 with the vtp version 2 global configuration command.
6 – Bring up trunks between the switches.
Use show vtp status to see the VTP status of a switch. vtp configuration commands and some other configuration commands are stored in the vlan.dat file in flash. Use show vlan to see VTP status, as well.
Configuration Commands | Where stored | How to View |
---|---|---|
vtp domain | vlan.dat | show vtp status |
vtp mode | vlan.dat | show vtp status |
vtp password | vlan.dat | show vtp password |
vtp pruning | vlan.dat | show vtp status |
vlan vlan-id | vlan.dat | show vlan [brief] |
name vlan-name | vlan.dat | show vlan [brief] |
switchport access vlan vlan-id | running-config | show running-config, show interfaces switchport |
switchport voice vlan vlan-id | running-config | show running-config, show interfaces switchport |
No comments:
Post a Comment