Which Cisco 2950 switch command or set of commands would be used to create a Virtual LAN (VLAN) named
MARKETING with a VLAN number of 25?
A.
switch(config)# vtp domain MARKETING 25
B.
switch(config)# vlan 25
switch(config-vlan)# name MARKETING
C.
switch(config-if)# vlan 25 name MARKETING
D.
switch(config)# vtp 25
switch(config-vtp)# name MARKETING
Explanation:
The following commands would create a VLAN named MARKETING with a VLAN number of 25:
switch(config)# vlan 25
switch(config-vlan)# name MARKETING
The steps to add anew VLAN are as follows:
1. Create the new VLAN
2. Name the VLAN
3. Add the desired ports to the VLAN
VLANs on current Cisco switches are configured in global configuration mode. The VLAN is first created with
the vlan # command, and then optionally named with the name vlan-name command. Interfaces are added to
VLANs using either the interface or interface range commands.
The switch(config)# vtp domain MARKETING 25 command will not create a VLAN. This command creates a
VLAN Trunking Protocol (VTP) domain. VTP is a means of synchronizing VLANs between switches, not a
method of manually creating VLANs.
The vlan 25 name command is deprecated, and is not supported on newer Cisco switches. Even on switches
that support the command, this answer is incorrect because the vlan 25 name command was issued in VLAN
database mode, rather than interface mode.
Objective:
LAN Switching Fundamentals
Sub-Objective:
Configure, verify, and troubleshoot VLANs (normal/extended range) spanning multiple switchesCisco > Support > LAN Switching > Virtual LANS / VLAN Trunking Protocol (VLANS/VTP) > Configure >
Configuration Examples and Technotes > Configuring VLAN Trunk Protocol (VTP) > Document ID: 98154