Configuring Vtp Version 1 And Version 2; Configuring A Vtp Server; Configuring A Vtp Client - Cisco WS-C2950SX-48-SI Configuration Manual

Catalyst 4500 series switches
Hide thumbs Also See for WS-C2950SX-48-SI:
Table of Contents

Advertisement

Chapter 9
Configuring VTP

Configuring a VTP Server

When a switch is in VTP server mode, you can change the VLAN configuration and have it propagate
throughout the network.
To configure the switch as a VTP server, perform this task in privileged mode:
Task
Step 1
Define the VTP domain name.
Step 2
Place the switch in VTP server mode.
Step 3
(Optional) Set a password for the VTP domain.
Step 4
Verify the VTP configuration.
This example shows how to configure the switch as a VTP server and verify the configuration:
Console> (enable) set vtp domain Lab_Network
VTP domain Lab_Network modified
Console> (enable) set vtp mode server
Changing VTP mode for all features
VTP domain Lab_Network modified
Console> (enable) show vtp domain
Version
Domain Name
Notifications: disabled
Feature
-------------- -------------- -----------
VLAN
Pruning
VLANs prune eligible: 2-1000
Console> (enable)

Configuring a VTP Client

When a switch is in VTP client mode, you cannot change the VLAN configuration on the switch. The
client switch receives VTP updates from a VTP server in the management domain and modifies its
configuration accordingly.
To configure the switch as a VTP client, perform this task in privileged mode:
Task
Step 1
Define the VTP domain name.
Step 2
Place the switch in VTP client mode.
Step 3
Verify the VTP configuration.
78-15486-01
: running VTP2 (VTP3 capable)
: Lab_Network
Mode
Server
: disabled
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
Command
set vtp domain name
set vtp mode server
set vtp passwd passwd
show vtp domain
Password
Updater ID: 172.20.52.19
Revision
0
Command
set vtp domain name
set vtp mode client
show vtp domain

Configuring VTP Version 1 and Version 2

: configured (hidden)
Release 8.1
9-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents