Router's IP address using SNMP


I am recieving the trap from cisco switch. I want to get the IP address of default router of this switch using SNMP from my application. Can you please let me know the OID to get this information?

Thanks in advance.


Reply to
Loading thread data ...

What you want is the routing table -

formatting link
- iproutetable

The defaults are the ones that 'points to' There may be only one.

For some table mibs you can appent an address to the mib to get the one you want. I have no idea if that is the case here

e.g. roughly.
Reply to
bod43 Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.