Is there a command that can be run to clear the configuration off a switch port on a Cisco Catalyst 3750?
I know that you can go and use the "no" command to remove the configuration line by line. I would like to use a single command to remove all the lines of configuration.
Take a look at the port configuration below. This is a typical configuration for each one of our ports. You can see why using the "no" command is time consuming.
switchport access vlan 100
switchport mode access
switchport voice vlan 101
switchport port-security maximum 3
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
srr-queue bandwidth share 10 10 60 20
srr-queue bandwidth shape 10 0 0 0
mls qos trust device cisco-phone
mls qos trust cos
macro description cisco-phone
auto qos voip cisco-phone
dot1x pae authenticator
dot1x timeout quiet-period 3
dot1x timeout tx-period 15
dot1x guest-vlan 106
dot1x auth-fail vlan 106
spanning-tree bpduguard enable