What commands should you use?

You want to create a VTP domain named myvtpdomain and define this switch as one that can be configured with VLANs and advertises VLAN changes to other switches.What commands should you use? (Choose two.)Answer:To create a VTP domain and configure the switch so it can configure and advertise VLANs (server mode), use the global configuration commands vtp mode server and vtp domain myvtpdomain. The VTP domain is created with the command switch(config)# vtp domain {domainname}. The mode of the switch is defined with the command switch(config)# vtp mode {mode}. The possible modes are server, client, and transparent. Server means that the switch can be used to create, delete, and modify VLANs; and send and receive advertisements about VLAN changes. Client means that the switch cannot be used to create or change VLANs, but only send and receive advertisements, adjusting its own database to match advertisements that it hears. Transparent means that the switch can be used to create, delete, and modify VLANs; but does not advertise those changes to other switches. Any advertisements that a transparent switch receives are forwarded on to other switches, but not applied by the switch.The commands vtp domain server and vtp server myvtpdomain are not valid due to incorrect syntax.Objective:Layer 2 Technologies Sub-Objective:Configure and verify trunkingReferences:Cisco > Home > Support > Technology Support > LAN Switching > Virtual LANS/VLAN Trunking Protocol (VLANS/VTP) > Design > Design Technotes > Understanding VLAN Trunk Protocol (VTP) Cisco > Cisco IOS LAN SwitchingCommand Reference > udld through vtp v2-mode > vtpCisco > Cisco IOS LAN Switching Command Reference > udld through vtp v2-mode > vtp domain

Question:

What commands should you use?

Options:

switch(config)# vtp mode server

switch(config)# vtp domain myvtpdomain

switch(config)# vtp domain server

switch(config)# vtp server myvtpdomain

Correct Answer

The Correct Answer for this Question is

switch(config)# vtp mode server
switch(config)# vtp domain myvtpdomain

Leave a Comment