
The following command can be used to clear the configuration on an interface on a Cisco Router or Switch.
Switch(config)#default interface range gigabitethernet 0/1 - 52
Note: You can also use the negation command by adding “no” before the command to clear off configuration applied to an interface or Cisco Switches and Routers