Quantcast
Channel: Cisco Console » WAN General
Viewing all articles
Browse latest Browse all 4

How to remove all interface configuration of a Cisco router

$
0
0

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


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images