Reading routing table for different VRF's by SNMP

Unanswered Question
Sep 24th, 2010

Hello,

using standard mib2 it is possible to read a router's routing table by snmp. But apparently this is just for router without different VRFs. Is there a way to read vrf specific routing tables by SNMP?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Utair Corporation Mon, 09/16/2013 - 22:18

Hi.

Can anyone give good example on the topic?

The URL above doesn't open.

All info i've found talks about sending traps, but i need to query router.

Tried config like this:

ip vrf LAN

rd 5:5

snmp context LAN

snmp-server user lan lan v2c

snmp-server group lan v2c context LAN

snmp-server host 10.96.37.103 vrf LAN version 2c lan

snmp mib target list lan vrf LAN

but snmp-tools give no result:

# snmpbulkwalk -c lan 10.96.200.56 .1.3.6.1.2.1.4.21

.1.3.6.1.2.1.4.21 = No more variables left in this MIB View (It is past the end of the MIB tree)

Actions

This Discussion