
17-14
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 17 Configuring VLANs, VTP, and VMPS
VLAN Trunking Protocol
Configuring a VTP Password
To configure the VTP global parameters, use these commands:
This example shows one way to configure a VTP password in global configuration mode:
Switch#
configure terminal
Switch(config)#
vtp password WATER
Setting device VLAN database password to WATER.
Switch#
This example shows how to configure a VTP password in EXEC mode:
Switch#
vtp password WATER
Setting device VLAN database password to WATER.
Switch#
Note
The password is not stored in the running-config file.
This example shows how to configure a
hidden
password:
Switch#
configure terminal
Switch(config)#
vtp password WATER hidden
Generating the secret associated to the password.
Switch(config)#
This example shows how the password WATER is displayed when it is configured with the
hidden
keyword.
Switch#
show vtp password
VTP Password: 89914640C8D90868B6A0D8103847A733
Switch#
Command
Purpose
Switch(config)#
vtp password
password_string
[
hidden
|
secret
]
Sets a password, which can be from 8 to
64 characters long, for the VTP domain.
In VTP version 3 the keywords
hidden
and
secret
are available.
•
If the
hidden
keyword is used, the secret key
generated from the password string is saved
in the const_nvram:vlan.dat file. If a takeover
command is issued, that password must be
reentered.
•
If the
secret
keyword is used, the password
secret key can be directly configured. The
secret
password must contain 32
hexadecimal characters.
Switch(config)#
no
vtp password
Clears the password.
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...