cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
16152
Views
21
Helpful
4
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

4 Replies 4

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

Bahaa J
Level 1
Level 1

do we need shutdown command after that ? thanks 

Hi @Bahaa J ,

You just need to do "no interface gix/x/x/x.*" and then commit. 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México