Configuring The Vtp Mode - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

VLAN Trunking Protocol
This example shows one way to enable VTP version 2:
Switch# configure terminal
Switch(config)# vtp version 2
V2 mode enabled.
Switch(config)#
This example shows how to enable VTP version 2 with any release:
Switch# vtp version 2
V2 mode enabled.
Switch#
This example shows how to verify the configuration:
Switch# show vtp status | include V2
VTP V2 Mode: Enabled
Switch#

Configuring the VTP Mode

To configure the VTP mode, perform this task:
Command
Step 1
Switch(config)# vtp mode {client | server |
transparent | off}
Step 2
Switch(config)# vtp domain domain_name
Step 3
Switch(config)# end
Step 4
Switch# show vtp status
When VTP is disabled, you can enter VLAN configuration commands in configuration mode instead of
Note
the VLAN database mode and the VLAN configuration is stored in the startup configuration file.
This example shows how to configure the switch as a VTP server:
Switch# configure terminal
Switch(config)# vtp mode server
Setting device to VTP SERVER mode.
Switch(config)# vtp domain Lab_Network
Setting VTP domain name to Lab_Network
Switch(config)# end
Switch#
This example shows how to configure the switch as a VTP client:
Switch# configure terminal
Switch(config)# vtp mode client
Setting device to VTP CLIENT mode.
Switch(config)# end
Switch#
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
17-16
Chapter 17
Purpose
Configures the VTP mode.
(Optional; for server mode only) Defines the VTP domain
name, which can be up to 32 characters long. VTP server
mode requires a domain name. If the switch has a trunk
connection to a VTP domain, the switch learns the
domain name from the VTP server in the domain.
Note
You cannot clear the domain name.
Exits VLAN configuration mode.
(Optional) Verifies the configuration.
Configuring VLANs, VTP, and VMPS

Advertisement

Table of Contents
loading

Table of Contents