6

I've found the following SNMP OIDs:

  • BGP Peers: .1.3.6.1.2.1.15.3.1.1
  • BGP Peer state: .1.3.6.1.2.1.15.3.1.1

But I'm looking for the list of advertised routes by peer. Does anybody know of a way to get this via SNMP? My fallback is to use SSH and screen scrape show commands, but this seems to be the kind of thing that SNMP was designed for.

If it makes a difference the target platform for this project is FTOS.

  • Did any answer help you? if so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer. – Ron Maupin Aug 8 '17 at 21:26
3

Cisco

You should be able to use the OIDs under 1.3.6.1.2.1.15.5.1 (bgpPathAttrEntry) for Cisco devices. There are 2 OIDs in particular that should accomplish what you're looking for.

1.3.6.1.2.1.15.5.1.1 (bgpPathAttrPeer) - The IP address of the peer where the path information was learned.

1.3.6.1.2.1.15.5.1.2 (bgpPathAttrDestNetwork) - The address of the destination network.


Force10

This information should be obtainable under 1.3.6.1.4.1.6027.20.1.3.4.1 (f10BgpM2PathAttrEntry).

1.3.6.1.4.1.6027.20.1.3.4.1.12 (f10BgpM2AsPathString) - This is a string depicting the autonomous system path to this network which was received from the peer which advertised it. The format of the string is implementation-dependent, and should be designed for operator readability.

| improve this answer | |
  • That looks like it would probably work for IOS, but on FTOS there's no such OID. – bahamat Jul 16 '14 at 4:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.