cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
277
Views
0
Helpful
1
Replies
Highlighted
Beginner

ASR9K How to remove preconfigured interface

I had some interfaces on an ASR 9906 running ios-xr 6.6.3 that I wanted to default/remove all their configuration and I used the no interface <interface name> command.  This has removed the interface completely from the running configuration and now has an interface preconfigure <interface name> now.  I have tried to configure this interface with an ip address and commit but it still shows with interface preconfigure name.

I am not able to get this interface to show back as a normal interface name.  I would not have issued the no interface command had I known it would name the interface with preconfigure.  I would welcome any guidance on how to get this interface back to "normal" in the running configuration.

Many Thanks.

1 REPLY 1
Highlighted
Beginner

Hi Fasteddye,

I believe the command to default an interface is "default interface eth X/X"

assuming you haven't saved the config, you could check the start-up config and search for the config for that interface and use that config to recreate it.

you can use "show startup-config | sec interface" <- don't have an ASR9k to test but this should work.