Community discussions

MikroTik App
 
mikro2009
just joined
Topic Author
Posts: 11
Joined: Fri Jan 25, 2019 11:12 am

BGP session name (ROS 7.13.4)

Thu Feb 15, 2024 11:13 am

Hi all,

does someone know why the name of a bgp session is suffixed by "-1"?
/routing/bgp/connection/print
Flags: D - dynamic, X - disabled, I - inactive 
 0   name="test"
     remote.address=...

/routing/bgp/session/print
Flags: E - established 
 0 E name="test-1"
     remote.address=...
 
This makes it harder to monitor connections/sessions via API (especially if there is not
any documentation of the suffix format).

Best Regards,
Heino
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: BGP session name (ROS 7.13.4)

Thu Feb 15, 2024 12:45 pm

because connection is a matcher and it can match multiple sessions. That is why session name = connection_name-x

Who is online

Users browsing this forum: No registered users and 5 guests