S5300 - Remove interface configuration?

Latest reply: Jan 15, 2014 09:40:55 7766 3 0 0


I was wondering if there is an easy way to remove all configuration from an interface on an S5300 (S5328C-EI-24S to be specific) layer 3 switch? The software version I'm running is 5.70.

The following commands don't seem to work:

- "undo interface gi 0/0/3"

- "clear configuration interface gi0/0/3"

The former returns "Error: Cannot delete this interface.", the latter is not even present when I enter "clear ?".

Please help!

Kind regards,


  • x
  • convention:

Created Jan 14, 2014 13:42:33 Helpful(0) Helpful(0)

Hi Joske,


Unfortunately on version 5.70 there is no command to remove the configuration from an interface or set it back to default.


The "clear configuration interface" command was introduced in version 5.130.


The easiest way to restore defaults on older versions is to copy the configuration into notepad and either apply the default commands for modes/vlans or use the undo command to remove lines of configuration.


Regards Nigel


  • x
  • convention:

Created Jan 14, 2014 13:42:57 Helpful(0) Helpful(0)

Please use CLI  "display version" to check the software version.

and the version format should be like "V200R001C00"


version begin from v200r001C00 supports the CLI "clear configuration ....."  

  • x
  • convention:

Created Jan 15, 2014 09:40:55 Helpful(0) Helpful(0)

Thanks for your replies!
  • x
  • convention:


You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits