FAQ: How to erase interface configuration with one command on switches

Created: Sep 3, 2013 19:38:27Latest reply: Nov 20, 2015 03:23:02 6021 6 0 0
<Quidway> system-view
[Quidway] interface gigabitethernet 0/0/1
[Quidway-GigabitEthernet0/0/1] display this
#
interface GigabitEthernet0/0/1
port hybrid pvid vlan 50
port hybrid tagged vlan 50
loopback-detect enable
port-security enable
port-security aging-time 30
#
return
[Quidway-GigabitEthernet0/0/1] quit
[Quidway] clear configuration interface gigabitethernet 0/0/1
Warning: All configurations of the interface will be cleared, and its state will
be shutdown. Continue? [Y/N] :y...
Info: Total execute 5 command(s), 5 successful, 0 failed.
[Quidway] interface gigabitethernet 0/0/1
[Quidway-GigabitEthernet0/0/1] display this
#
interface GigabitEthernet0/0/1
shutdown
#
return
  • x
  • convention:

Monica     Created Sep 4, 2013 08:39:10 Helpful(0) Helpful(0)

thank you for the sharing
  • x
  • convention:

daniuyaofafa     Created Sep 9, 2015 17:46:26 Helpful(0) Helpful(0)

For the new switch, we can use this command, but for old switch, there is no command like this.

we should undo command one by one.

  • x
  • convention:

kobewadearenas     Created Sep 16, 2015 20:41:13 Helpful(0) Helpful(0)

cool, i have a similar question:

How to erase all configuration with one command on switches ?

thanks.

  • x
  • convention:

user_133805     Created Nov 20, 2015 03:23:02 Helpful(0) Helpful(0)

Reply 6 #

reset saved-configuration

  • x
  • convention:

murat.gullu     Created Sep 7, 2015 19:50:29 Helpful(0) Helpful(0)

Dear ,

 

 

  • x
  • convention:

murat.gullu     Created Sep 7, 2015 19:51:40 Helpful(0) Helpful(0)

Can you please tell which switch and version this command is available ?

Thanks regards

  • x
  • convention:

Reply

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

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!
Fast reply Scroll to top