ā10-10-2012 06:22 AM
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
ā10-10-2012 07:04 AM
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
ā10-10-2012 10:17 PM
10x Alex, I was not aware of that, will try it.
Regards,
Vasil
ā06-12-2024 08:32 AM
do we need shutdown command after that ? thanks
ā06-12-2024 12:05 PM
Hi @Bahaa J ,
You just need to do "no interface gix/x/x/x.*" and then commit.
Regards,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide