show startup-config vtp

To display the VLAN Trunking Protocol (VTP) configuration from the startup configuration file, use the show startup-config vtp command.

show startup-config vtp

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

EXEC mode

Command History

Release
Modification

4.2(1)N1(1)

This command was introduced.


Examples

This example shows how to display the VTP configuration stored in the startup configuration file:

switch# show startup-config vtp 

!Command: show startup-config vtp
!Time: Tue Sep  7 08:45:33 2010
!Startup config saved at: Tue Sep  7 08:45:03 2010

version 5.0(2)N1(1)
feature vtp

vtp mode transparent
vtp domain MyDomain
vtp file bootflash:/myvtp.txt

switch#

Related Commands

Command
Description

copy running-config startup-config

Copies the running configuration to the startup configuration file.

feature vtp

Enables VTP on the switch.

vtp domain

Configures the VTP administrative domain.

vtp file

Stores the VTP configuration in a file.

vtp mode

Configures a VTP device mode.