cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

3577
Views
0
Helpful
2
Replies
Beginner

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 Expert

Re: Delete a configuration of an interface

Hello Goldenbmw,

you can use

conf  t

default interface gi1/1

Hope to help

Giuseppe

2 REPLIES 2
Hall of Fame Expert

Re: Delete a configuration of an interface

Hello Goldenbmw,

you can use

conf  t

default interface gi1/1

Hope to help

Giuseppe

Beginner

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

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards