Home » Cisco » 300-115 » Which IOS command do you use to remove Layer 2 configurations and return an interface to Layer 3 mode?
Which IOS command do you use to remove Layer 2 configurations and return an interface to Layer 3 mode?
A. vlan
B. no vlan
C. switchport
D. no switchport
Correct Answer: D
Explanation/Reference:
Answer:
Use the no switchport command to remove Layer 2 configurations and return an interface to Layer 3 mode. The syntax of the command is:
switch(config-if)# no switchport
The enhanced multilayer switch image must be installed on the switch to use this command.
The switchport command without the no keyword converts the port back to a Layer 2-switched interface.
switch(config-if)# switchport
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:
Cisco > Cisco IOS Interface and Hardware Component Command Reference > switchport
Catalyst 3560 Switch Command Reference, Rel. 12.2(25)SEE > Catalyst 3560 Switch Cisco IOS Commands – shutdown through vtp > switchport