I want to create a policy to check "IP helper addresses", but I am struggling with the logic.
Basically, I am only interested in interfaces that already have "ip helper" configured, so IF "ip helper-address" exists on an interface, I want to check for 2 specific addresses. It is okay if numerous other addresses are configured (for now) as long as these 2 main ones exist. In the example below, how do I create a policy to check for 3.3.3.3 and 4.4.4.4 that would flag in interfaces Vlan200 & 300, but ignore 100 (because it is correct) and 500 (because it does not have ip helper configured at all)?
interface Vlan100
ip address 1.2.3.4 255.255.255.0
ip helper-address 1.1.1.1
ip helper-address 2.2.2.2
ip helper-address 3.3.3.3
ip helper-address 4.4.4.4
!
interface Vlan200
ip address 2.3.4.5 255.255.255.0
ip helper-address 1.1.1.1
!
interface Vlan300
ip address 3.4.5.6 255.255.255.0
ip helper-address 1.1.1.1
ip helper-address 4.4.4.4
!
interface Vlan500
ip address 2.3.4.5 255.255.255.0
!