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

Created Sep 03, 2013 19:38:27Latest reply Nov 20, 2015 03:23:02 5944 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  Mentor   Created Sep 04, 2013 08:39:10 Helpful(0) Helpful(0)

thank you for the sharing
  • x
  • convention:

user_109211     Created Sep 09, 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  Moderator   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 07, 2015 19:50:29 Helpful(0) Helpful(0)

Dear ,

 

 

  • x
  • convention:

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

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

Thanks regards

  • x
  • convention:

Responses

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

Notice:To ensure 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 not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, 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 Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top