Deleting Objects interfaces
-
Thx Stan, I used your example, I changed it to help me but the problem is that the ports are still coming back.
I want the ports fa1 to fa8 to but I does not work.
I am using this script:
if ($1->name ilike "*fa.*"){
return false;}return true;
-
Yeah I tried wildcards too.....didn't work.
Ugly, but I ended up with a if( ){} structure for each interface name that i didn't want and that worked.
(elminated about 9600 interfaces) -
Looks that I have to do the same, thx again for the help.
-
-
Thx Tursiops the code works!
-
-
-
-
You can right-click on any node to execute a server script (I'm assuming that's what you mean as debug console?) and just write your code in there. Your code wouldn't be node specific (if you are indeed enumerating all nodes and then all interfaces per node) so it doesn't matter against which node you run it. Or you could write it in the script library and then select it from the drop down. Or you could schedule a task that runs a script from the script library.
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login