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
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: