How do I enable VTP on a Cisco switch?
Configuring basic VTP on CISCO Switches
- Step 1 – Creating a VTP Server. VTP has the following 3 different modes:
- Step 2 – Configuring a switch as a VTP client. Enter configuration mode and use the following commands to enable client mode.
- Step 3 – Configure native and trunking VLAN.
- Step 4 Testing VTP.
How do I setup a VTP domain?
VTP configuration
- a switch has to be configured as either a VTP server or VTP client.
- the VTP domain name has to be the same on both switches.
- if present, the VTP domain password has to be the same.
- VTP versions have to match.
- the link between the switches has to be a trunk link.
What are the commands in VTP configuration?
Configuring VTP
| Command or Action | |
|---|---|
| Step 1 | config t Example: switch# config t switch(config)# |
| Step 2 | feature vtp Example: switch(config)# feature vtp switch(config)# |
| Step 3 | vtp domain domain-name Example: switch(config)# vtp domain accounting |
| Step 4 | vtp version {1 | 2} Example: switch(config)# vtp version 2 |
How do I know if VTP is enabled?
The command to verify VTP operation is show vtp status, which is shown in Example 3.1 on SwitchA. It looks like SwitchA is in the default (unmodified) VTP configuration. The key (highlighted) configuration items follow: VTP Version/VTP V2 Mode: By default, Cisco switches run VTP version 1.
When would you configure VTP on a switch?
When would you configure VTP on a switch? When you have multiple switches with multiple VLANs and you want to share the VLAN database from one switch to all the others.
How many VTP domains can a switch be configured in?
one VTP domain
A switch can be configured only in one VTP domain.
How do I verify VTP?
How do I reset my 2960 to factory settings?
Reset a Cisco 2960 Switch to Factory Default Settings
- – Start by connecting your cisco switch via a console cable that will be also connected to the same console.
- Step 2.- Use the following commands: Router: en. Router#erase startup-config. Router# del flash:vlan.dat.
- – Reload your cisco switch to complete the restoration.
How many VLANs does the catalyst 2960-s support?
The remaining templates (default and lanbase-routing) only supports 255 VLANs. Up to 64 VLANs are supported when the switch is running the LAN Lite image. The switch supports homogeneous stacking and mixed stacking. Mixed stacking is supported only with the Catalyst 2960-S switches.
How to assign a VLAN without VTP globally propagate VLAN configuration information?
You can assign a static-access port to a VLAN without having VTP globally propagate VLAN configuration information by disabling VTP (VTP transparent mode). If you assign an interface to a VLAN that does not exist, the new VLAN is created. Enters the global configuration mode.
What happens when you delete a VLAN in VTP mode?
Returns to privileged EXEC mode. Verifies your entries. When you delete a VLAN from a switch that is in VTP server mode, the VLAN is removed from the VLAN database for all switches in the VTP domain. When you delete a VLAN from a switch that is in VTP transparent mode, the VLAN is deleted only on that specific switch or a switch stack.
Does the catalyst 2960-s support homogeneous or mixed stacking?
The switch supports homogeneous stacking and mixed stacking. Mixed stacking is supported only with the Catalyst 2960-S switches. A homogenous stack can have up to eight stack members, while a mixed stack can have up to four stack members. All switches in a switch stack must be running the LAN Base image.