Home » Cisco » 300-115 » Which command do you use on a switch to put an interface that is in Layer 3 mode into Layer 2 mode?
Which command do you use on a switch to put an interface that is in Layer 3 mode into Layer 2 mode?
A. vlan
B. no vlan
C. switchport
D. no switchport
Correct Answer: C
Explanation/Reference:
Answer:
Use the switchport command to put an interface that is in Layer 3 mode into Layer 2 mode.
switch(config-if)# switchport
Use the no switchport command to remove Layer 2 configurations and return an interface to Layer 3 mode.
switch(config-if)# no switchport
The enhanced multilayer switch image must be installed on the switch to use this command.
The vlan vlan-id configuration command is used to configure VLAN characteristics for a specific VLAN. Use the no keyword without additional parameters to delete a VLAN.
Objective:
Layer 2 Technologies Sub-Objective:
Configure and verify switch administration
References:
Catalyst 3560 Switch Command Reference, Rel. 12.2(25)SEE > Catalyst 3560 Switch Cisco IOS Commands – shutdown through vtp > switchport Cisco > Cisco IOS Interface and Hardware Component Command Reference > switchport