cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
46368
Views
11
Helpful
2
Replies

Delete a configuration of an interface

goldenbmw
Level 1
Level 1

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

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Goldenbmw,

you can use

conf  t

default interface gi1/1

Hope to help

Giuseppe

View solution in original post

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Goldenbmw,

you can use

conf  t

default interface gi1/1

Hope to help

Giuseppe

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

Review Cisco Networking products for a $25 gift card