Does anyone know how to do an If statement for the NCM Compliance reporting? The issue I am having is that I want to go backwards in the config. Specifically, this is what I want to do: I want to search all interfaces with "shutdown" in the config and show a violation if "switchport access vlan 100" is not configured on that interface. I have been playing with this for a while and can't get it right. I can return the other way around, but that does me no good.
↧