Does anyone know of a job or feature that can be run to disable all tunnel interfaces across all NODEs instead of logging into each NODE and unchecking them from the list resources option?
Lots of ways to get stuff like this done. Easiest might be to go to the legacy node management page, sort by interefaces and search for tunnel. edit/delete what you want. If you need more automation, consider the SDK, you can query using SWQL and Here's an example clean up powershell script (works where the SDK is installed)
$SwisServer = 'YourServer'Try { Import-Module SwisPowerShell} Catch { Write-Host "Message: $($Error[0])"; Exit 1;}Try { $swis = Connect-Swis $SwisServer -Trusted} Catch { $creds = Get-Credential $swis = Connect-Swis $SwisServer -Credential $creds}$SWISQuery = "SELECT I.Uri FROM Orion.NPM.Interfaces Iwhere I.Node.StatusDescription like '%Up%' and (I.FullName like '%Ras async%' or I.Name like '%nu0%' or I.Name like 'Backplane%' or I.Name like 'Stack%' or I.FullName like '%null%' or I.typename like 'softwareLoopback' or I.Name like '%Loopback%' or I.Name like '%unrouted%' or I.StatusDescription = 'Down' or I.StatusDescription = 'Shutdown')"$uris = Get-SwisData $swis $SWISQuery$uris | Remove-SwisObject $swis
Well that was a facepalm moment. I totally forgot about the dropdown.
Thanks for the help!
Is it possible to provide a specific set of nodes from which i need the interfaces removed in this script?