BGP add-path with Juniper

Stanislaw Datskevich me at nek0.net
Thu Sep 10 15:49:16 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi, list.
I'm trying to use BGP add-path feature in BIRD connected my Juniper
router, but I have no luck with it.

Here is my BIRD (version 1.5.0) config:
template bgp probe {
    multihop;
    import where avoid_martians();
    export none;
    import keep filtered;
    add paths rx;
}

protocol bgp mh1 from probe {
    local as 65530;
    neighbor xx.xx.146.2 as 65530;  # Juniper's address
}

Here is Juniper's bgp group config:
show configuration protocols bgp group BGP-PROBE
type internal;
multihop;
import DropEverything;
family inet {
    unicast {
        add-path {
            send {
                prefix-policy accept-all;
                path-count 6;
            }
        }
    }
}
export accept-all;
peer-as 65530;
neighbor xx.xx.146.23;



In this configuration, BGP sessions establishes without any problem, but
Juniper believes that BIRD doesn't support AddPath feature:
# show bgp neighbor xx.xx.146.23 | match AddPath           
  Peer does not support Addpath


When I try to enable capability advertisement in BIRD config by setting
"capabilities on;" switch, Juniper refuses to establish BGP session with
log message:
Sep 10 16:39:46  mx480 rpd[1632]: bgp_parse_open_options: peer
xx.xx.146.23+60740 (proto): Bad capability length 1, when 0 left
Sep 10 16:39:46  mx480 rpd[1632]: bgp_get_open:2666: NOTIFICATION sent
to xx.xx.146.23+60740 (proto): code 2 (Open Message Error) subcode 7
(unsupported capability)


I'll be grateful for any advice.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJV8YpUAAoJEIfphUzaztQxpYkP/RbXvsTNU6+MqFmg9SPenr9a
xvwh92knJ2AVw8Px0SLlkMjO+5F3nHcK4gxf+LaO/ArMGMlECS5mhbZkbEpI2zAA
jkIt5cfOjaqtsBPVLcc3BrCv9zKxKw2GSG9G89ZEwlDuwIgjlub0RjE4cff5jJNr
kIffKMQ7yVCKy+bscSj8k7vghDJq3MG/rvI42GyjkVsxMSede2uo9Ah584k/95Vi
WElWV/y43v/xiIk3Yy+VsYcjMQszY6PUH7YQSRQ+h6gUVY3YOgK0i4Ef96bEhn+W
cmcpfmT9ppR3lUwsnCHLzcle+/u54vvRr1RHdcAQQ4LmVcCRms6a9WLQXUX6mzCd
bWm9AwfeYbjKtYixkVLGNxOMkMJfUp2XlJpFMGUE4qv8I7P0quN5G+bH26nrzSfA
aabq/qzj3npBrne6xo1zy4DkOnNaO/r4az5tuegYgj3zQo9MkQCCXLYialgz/O0j
R2CgjzqbiNlsfxRAJ31qKUWnh1Ka4NlHjB9FKG1NDBX5ygvWuOoR/HsIGRQkNAav
uKXyxcTMewTdV3dD13HIN+ia4Ln0gIgRDkMcy/osajX4Yoxu08Wu+yowYXW1+ea8
TLSp0KTtx0nuiQJzlgz6hCP/K9QA5r9L1lCb35NR7P8Y/LQ30eGL/kR7Z+q7Ycgf
5MAiCEFRv3TeJytXCfCf
=MX7J
-----END PGP SIGNATURE-----





More information about the Bird-users mailing list