Which IOS command do you use to remove Layer 2 configurations and return an interface to Layer 3 mode?

Last Updated on August 1, 2021 by Admin 2

Which IOS command do you use to remove Layer 2 configurations and return an interface to Layer 3 mode?

  • vlan
  • no vlan
  • switchport
  • no switchport
Explanation:

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

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments