I want to use SNMP to get the Nexus 7K ARP table of non-default VRF, but failed.
Only default VRF ARP table can be get by OID -- .184.108.40.206.220.127.116.11 -- ipNetToMediaTable.
Is there any way to get ARP of non-default VRF by SNMP?
You need to make your Nexus SNMP configuration context aware to achieve this. Configure an SNMP context to map to a logical network entity, such as a protocol instance or VRF
You can use ipAddrTable to poll the context to get information on per VRF basis.
Configure your nexus snmp sever as following:
1- create the snmp context and map it to the second VRF :
snmp-server context (context name) vrf (second vrf name)
2- define the second community:
snmp-server community second_community_string
3- set the mib parameters for the second context
snmp-server mib community-map (second_community_string) context (second vrf name)
For more details check :
I know this topic is a little bit old, but I have the same question about ARP and interfaces in a VRF.
But I have to use SNMPv3.
How can I configure this context with SNMPv3?
I didn't found anything to map a context to a SNMPv3 user or something like this.
Thank you very much!