I'd like to restrict an SNMP community RO string to view information about only one interface and nothing else.
router#show snmp mib ifmib ifindex
...
GigabitEthernet4/1: Ifindex = 1
...
Is this the correct config?
snmp-server view OneInterface ifEntry.*.1 included
snmp-server community readonly-string view OneInterface RO 96
I wasn't sure if there was an implicit "exluded" like at the end of an ACL with the implicit deny or if I had to manually configure everything else to be excluded.
Thanks.