![Cisco 2948G - Catalyst Switch Скачать руководство пользователя страница 183](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462183.webp)
9-7
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 9 Configuring VTP
Configuring VTP Version 1 and Version 2
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:
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 : running VTP2 (VTP3 capable)
Domain Name : Lab_Network Password : configured (hidden)
Notifications: disabled Updater ID: 172.20.52.19
Feature Mode Revision
-------------- -------------- -----------
VLAN Server 0
Pruning : disabled
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
Command
Step 1
Define the VTP domain name.
set vtp domain name
Step 2
Place the switch in VTP server mode.
set vtp mode server
Step 3
(Optional) Set a password for the VTP domain.
set vtp passwd passwd
Step 4
Verify the VTP configuration.
show vtp domain
Task
Command
Step 1
Define the VTP domain name.
set vtp domain name
Step 2
Place the switch in VTP client mode.
set vtp mode client
Step 3
Verify the VTP configuration.
show vtp domain