Default Interface Command on CISCO Router/Switch

Other Cisco Other Cisco Material Original source

Command

Default Interface

Use

This command allows you to quickly revert an interface back to its default configuration.
If you have a lot of changes, this is much faster than using the no version of every command on the interface.

Syntax

Router(config)#default interface

Example

In this example we will revert R1’s Fa0/0 interface back to its default configuration.

First lets have a look at Fa0/0’s current config.

Copy

R1(config)#do show run int fa0/0

Building configuration…



Current configuration : 210 bytes

!

interface FastEthernet0/0

description “This is a description”

bandwidth 100000

ip address 10.1.1.1 255.255.255.0

ip nat inside

ip virtual-reassembly

ip ospf cost 1

delay 4

speed 100

full-duplex

end



R1(config)#

Now lets default the interface.

Copy

R1(config)#default interface fa0/0

Building configuration…



Interface FastEthernet0/0 set to default configuration

R1(config)#

*Mar 1 00:42:00.851: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.1.1.2 (FastEthernet0/0) is down: interface down



R1(config)#



R1(config)#do show run int fa0/0

Building configuration…



Current configuration : 73 bytes

!

interface FastEthernet0/0

no ip address

duplex auto

speed auto

end



R1(config)#
← All Other Cisco articles Home