Skip to main content
foreach d in network.devices

foreach i in d.interfaces

where length(i.links) != 0

where i.adminStatus == AdminStatus.DOWN

select {deviceName:d.name, interface:i.name}

 

Hi @Steffi - Thanks for sharing an NQE! It’s definitely a valuable one. I’ll DM you a link to get your Keep Calm and Query On T-shirt. 

 


Reply