Configuring the VTP Mode
Configuring the VTP Mode Create your first switch as a server and then create the connected switches as clients, or whatever you decided to configure them as. You don’t have to do this as a separate command as we did; you can configure the VTP information in one line, including passwords, modes, and versions: Terry_4000> (enable) set vtp domain Usage: set vtp [domain <name>] [mode <mode>] Using VLAN Trunk Protocol (VTP) 473 [passwd <passwd>]pruning <enable|disable>] [v2 <enable|disable> (mode = client|server|transparent Use passwd '0' to clear vtp password) Usage: set vtp pruneeligible <vlans> (vlans = 2..1000 An example of vlans is 2-10,1000) Terry_4000> (enable) set vtp domain Globalnet mode server VTP domain Globalnet modified On the 2950 and 3550 switches, the commands are as follows: Terry_2950#conf t Enter configuration commands, one per line. End with CNTL/Z. Terry_2950(config)#vtp ? domain Set the name of the VTP administrative domain. file Configure IFS filesystem file where VTP configuration is stored. interface Configure interface as the preferred source for the VTP IP updater address. mode Configure VTP device mode. password Set the password for the VTP administrative domain. pruning Set the adminstrative domain to permit pruning. version Set the adminstrative domain to VTP version. Terry_2950(config)#vtp mode ? client Set the device to client mode. server Set the device to server mode. transparent Set the device to transparent mode.
229 times read
|
|
|
Did you enjoy this article?
(total 0 votes)
|