Bulk rename Interfaces #16932
-
Hello there! I would like to bulk rename the interfaces across several devices. Lets say I Have device type A with 300 devices accosciated with it. And I realize that I made a mistake and The option for bulk rename shouldn't be associated to a single device at a time. Is there a feature for this? a plan for this? Any advice? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
You can perhaps fix it on the DB side and then rebuild the cache. |
Beta Was this translation helpful? Give feedback.
-
You can do this easily from the Python shell ( Interface.objects.filter(name='GigabitEthernet1/0/49').update(name='TenGigabitEthernet1/0/49') Be aware however that this bulk approach will not generate a changelog record. You may also need to filter by the assigned device type. |
Beta Was this translation helpful? Give feedback.
Devices > Interfaces > Filters > scroll down to Device type and select the model in question > Search > bulk select the interfaces you want to rename > Rename Selected > Find: "Giga" Replace: "TenGiga" > Preview > Apply
Unless we're talking about different things as to what you want to achieve?