Default interface configuration command
The easiest way to remove all settings from an interface is to use the default interface configuration command. For example, if you've configured Frame Relay interface with subinterfaces ...
interface Serial0/0/0... and have erase all interface-specific configuration, the ...
no ip address
encapsulation frame-relay
load-interval 60
!
interface Serial0/0/0.100 point-to-point
bandwidth 2000
ip address 172.16.1.1 255.255.255.252
ip load-sharing per-packet
ip ospf cost 50
frame-relay interface-dlci 100
... gets you there. As you can see, after the configuration change, the main interface has no IP address and the subinterface is deleted.
rtr(config)#default interface serial 0/0/0
Building configuration...
Interface Serial0/0/0 set to default configuration
a1#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.100 unassigned YES manual deleted down
is it possible to apply this using the range command?
default interface range gi1/0/20 - 40
Sorry, I would like to have been able to post up the result myself.
Rack1SW2(config)#default interface range f1/7 - 15
Rack1SW2(config)#
Worked briliantly.
Ther are no default command available on this devices ???
System version: 5.2(1)N1(8a)
switchport
switchport
Converting to L3, then back to L2. Removing int config.