How to remove all interface configuration of a Cisco router

You can remove complete interface configuration of Cisco router easily by using default interface configuration command. Default interface configuration command

For example, if you have configured Frame Relay with sub interfaces…

Router#interface Serial0/0
no ip address
encapsulation frame-relay
load-interval 60 
Router#interface Serial0/0.10 point-to-point
bandwidth 2000
ip address 10.10.10.1 255.255.255.252
ip load-sharing per-packet
ip ospf cost 50  frame-relay interface-dlci 100
And now erase all interface-specific configuration …

Router(config)#default interface s0/0
Building configuration...

Interface Serial0/0 set to default configuration

Router(config)#

Now recheck the main and sub interface configuration by using show ip interface brief,
You can find the main interface has no IP address and the sub interface is deleted.

Router#show ip interfaces brief Interface
IP-Address  OK? Method Status     Protocol ... non-relevant lines deleted ...
Serial0/0/0        unassigned  YES TFTP   up         up
Serial0/0/0.10     unassigned  YES manual deleted    down

 

Share/Bookmark

Filed Under: WAN General

Tags:

About the Author:

RSSComments (5)

Leave a Reply | Trackback URL

  1. mikerosss says:

    I just added your blog site to my blogroll, I pray you would give some thought to doing the same.

  2. Jonas says:

    Thanks for Sharing , Its very easy to remove a complete interface configuration on Cisco Router or Switch.

  3. Issac Maez says:

    Hey there! I just wanted to ask if you ever have any trouble with hackers? My last blog (wordpress) was hacked and I ended up losing several weeks of hard work due to no backup. Do you have any methods to prevent hackers?

  4. Aleida says:

    I am so glad it was helpful, Jenny. I am learning as fast as I’m able to and will continue to pass on lessons as we go. Happy Pinning!

  5. Cherrie says:

    Amazing. Clean, confident, I’d like to have the brands I rep here.

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.