cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
15589
Views
20
Helpful
2
Replies

How to do "default interface" on IOS XR?

vasilstoimenov
Level 1
Level 1

Hi Guys,

Does anybody know an equivalent of “default interface” for IOS XR or a smart way to delete hundreds of attachment circuits for single physical interface?

Appreciate your comments.

Regards,

Vasil

2 Replies 2

Alexei Kiritchenko
Cisco Employee
Cisco Employee

Hello Vasil,

Use "no" with * to remove them.

For example we have gigabitEthernet 0/1/0/6 and we like to remove all the sub interfaces. Use "no gigabitEthernet 0/1/0/6.*"

To make the main config to default, use "no gigabitEthernet 0/1/0/6"

Before coming, you can use "show" to see what going to be removed:

RP/0/RSP0/CPU0:mercy(config)#no interface gigabitEthernet 0/1/0/6.*

RP/0/RSP0/CPU0:mercy(config)#show

Wed Oct 10 16:01:14.212 CEST

Building configuration...

!! IOS XR Configuration 4.2.1

no interface GigabitEthernet0/1/0/6.2

no interface GigabitEthernet0/1/0/6.3

end

RP/0/RSP0/CPU0:mercy(config)#

Regards,

/A

10x Alex, I was not aware of that, will try it.

Regards,

Vasil

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: