1449
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter V Commands
vtp file
vtp file
To store the VLAN Trunking Protocol (VTP) configuration information in a file, use the
vtp file
command. To stop storing the configuration in a file, use the
no
form of this command.
vtp file bootflash:
server
[
directory
/]
filename
no vtp file
Syntax Description
Note
There can be no spaces in the
bootflash:
//
server
/
directory
/
filename
string. Individual elements of this
string are separated by colons (:) and slashes (/).
Command Default
VTP database file, vlan.dat
Command Modes
Global configuration mode
Command History
Usage Guidelines
Before you use this command, you must enable VTP on the switch by using the
feature vtp
command.
The default configuration file is stored in the VTP database, vlan.dat, in NVRAM. VTP configuration
information is also stored in the startup configuration file.
Note
Do not delete the vlan.dat file.
When a switch in a VTP domain reloads, the switch updates the VTP domain and VLAN configuration
information from the information contained in the VTP database file (vlan.dat) or the startup
configuration file. Depending on the VTP mode configured for the switch, the information is updated as
follows:
bootflash:
Specifies that the VTP configuration file is to be stored in the bootflash
memory of the NVRAM. The colon character (:) is required after the file
system name.
server
Name of the server. Valid values are
///
,
//module-1/
,
//sup-1/
,
//sup-active/
,
or
//sup-local
/. The double slash (//) is required.
directory/
(Optional) Name of the destination directory. The directory name is case
sensitive.
filename
Name of the VTP configuration file.
Release
Modification
5.2(1)N1(1)
This command we introduced.