Routing
Highlighted
Routing

Getting routes BGP VS SNMP

[ Edited ]
4 weeks ago

Hello,

 

I came across a weird issue i never noticed before and i was wondering if anyone know if this "is just how it is" or if there is a way to fix it. when i pull routes from the BGP session vs SNMP. I noticed that BGP has my prepend rules for incoming routes (Using the EXPAND-AS) from an NSP and SNMP does not.

 

Is there a way to make SNMP have the prepend or is that not possible. It's almost as its ignoring my import rules. I've looked around the set commands and i cant find anything that would help. This is on an MX480.

 

Example:
{
"routers": [
{
"address": "208.xxx.xxx.xxx",
"data_source": "BGP",
"peers": [
{
"address": "38.xxx.xxx.xxx",
"aspath": "174 174 174 1742",
"best": 0,
"localperf": 100,
"med": 73070,
"nexthop": "38.xxx.xxx.xxx",
"origin": 0,
"path_id": 0
}
{
"address": "208.xxx.xxx.xxx",
"data_source": "SNMP",
"peers": [
{
"address": "38.xxx.xxx.xxx",

"aspath": "174 1742",
"best": 2,
"localperf": 4294967295,
"med": 73070,
"nexthop": "38.xxx.xxx.xxx",
"origin": 1,
"path_id": 3
}
~ #

 

Thanks,

2 REPLIES 2
Highlighted
Routing

Re: Getting routes BGP VS SNMP

4 weeks ago

Hi,

Can you share the configuration used to pull routes using SNMP ?

Regards,
A.A.
Highlighted
Routing

Re: Getting routes BGP VS SNMP

4 weeks ago

Its closed source. However they are able to disable since i configured the BGP session to send multiple paths. So We can close this out :cathappy:

Feedback