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.

Ryan Foley
  • 5,479
  • 4
  • 23
  • 43
bahamat
  • 847
  • 1
  • 7
  • 17
  • 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 can post and accept your own answer. – Ron Maupin Jan 05 '21 at 01:34
  • @RonMaupin There was only one answer, which I replied to saying that the specified OID wasn't available. – bahamat Jan 15 '21 at 05:23

1 Answers1

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.

Ryan Foley
  • 5,479
  • 4
  • 23
  • 43