cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6215
Views
10
Helpful
2
Replies

How to SNMP to get Nexus 7K non-default VRF ARP table?

mickey338
Level 1
Level 1

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 -- .1.3.6.1.2.1.4.22 -- ipNetToMediaTable.

Is there any way to get ARP of non-default VRF by SNMP?

2 Replies 2

Vinod Arya
Cisco Employee
Cisco Employee

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 :

http://www.cisco.com/en/US/docs/switches/datacenter/sw/4_2/nx-os/system_management/configuration/guide/sm_9snmp.html#wp1070467

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **

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!

 

Sven