Using the snippet below, what the best way to write policy rules to check for items 3 or 4 levels deep? Just checking for strings could create false positives.
snmp {
location "Somewhere, USA";
contact "IT";
view juniper-view-all {
oid .1 include;
}
community "ourreadstring" {
authorization read-only;
clients {
1.1.1.1/32;
2.2.2.2/32;
3.3.3.0/24;
}
}
community "ourwritestring" {
view juniper-view-all;
authorization read-write;
clients {
1.1.1.1/32;
2.2.2.2/32;
3.3.3.0/24;
}
}
trap-group "NAC Events" {
categories {
link;
}
targets {
1.1.1.1;
}
}
}