06-14-2010 05:49 AM - edited 03-06-2019 11:34 AM
Hi everybody,
I want to know if there is any command that delete the configuration of an interface in one time, either of using "no" for each config.
assume this config:
interface GigabitEthernet1/1
switchport
switchport trunk encapsulation dot1q
switchport trunk native vlan 10
switchport trunk allowed vlan 10-14
switchport trunk pruning vlan none
switchport mode trunk
no vtp
either of doing no with each switchport, using one command to erase all this lines would be useful!
I precise for a physical interface, not a vlan interface where a no do the job
Thanks
Solved! Go to Solution.
06-14-2010 05:52 AM
Hello Goldenbmw,
you can use
conf t
default interface gi1/1
Hope to help
Giuseppe
06-14-2010 05:52 AM
Hello Goldenbmw,
you can use
conf t
default interface gi1/1
Hope to help
Giuseppe
06-14-2010 05:55 AM
Thanks a lot!!
that's it, you'are very quick, I've just found it
and it's very interesting using "range" for a range of interfaces
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide