Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Delete a configuration of an interface

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

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: Delete a configuration of an interface

Hello Goldenbmw,

you can use

conf  t

default interface gi1/1

Hope to help

Giuseppe

2 REPLIES
Hall of Fame Super Silver

Re: Delete a configuration of an interface

Hello Goldenbmw,

you can use

conf  t

default interface gi1/1

Hope to help

Giuseppe

New Member

Re: Delete a configuration of an interface

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

187
Views
0
Helpful
2
Replies