cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
17048
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