MX80 rpm prob with routing-instance with multiple bgp peers



  • first we will configure the routing-instance for both of the providers

    this example with static route

    set routing-instances Provider-A instance-type forwarding
    set routing-instances Provider-A routing-options static route 0.0.0.0/0 next-hop 11.11.11.2/30

    set routing-instances Provider-B instance-type forwarding
    set routing-instances Provider-B routing-options static route 0.0.0.0/0 next-hop 12.12.12.2/30

    next step:

    import the routing instance to the main routing table

    set routing-options interface-routes rib-group inet main
    set routing-options rib-groups main import-rib inet.0
    set routing-options rib-groups main import-rib Provider-A.inet.0
    set routing-options rib-groups main import-rib Provider-B.inet.0

    next step configuring the rpm prob tests

    set services rpm probe Provider-A test google-dns probe-type icmp-ping
    set services rpm probe Provider-A test google-dns target address 8.8.8.8
    set services rpm probe Provider-A test google-dns probe-count 10
    set services rpm probe Provider-A test google-dns probe-interval 1
    set services rpm probe Provider-A test google-dns test-interval 300
    set services rpm probe Provider-A test google-dns source-address 11.11.11.1
    set services rpm probe Provider-A test google-dns routing-instance Provider-A
    set services rpm probe Provider-A test google-dns history-size 20
    set services rpm probe Provider-A test google-dns thresholds successive-loss 3

    set services rpm probe Provider-B test google-dns probe-type icmp-ping
    set services rpm probe Provider-B test google-dns target address 8.8.8.8
    set services rpm probe Provider-B test google-dns probe-count 10
    set services rpm probe Provider-B test google-dns probe-interval 1
    set services rpm probe Provider-B test google-dns test-interval 300
    set services rpm probe Provider-B test google-dns source-address 12.12.12.2/30
    set services rpm probe Provider-B test google-dns routing-instance Provider-B
    set services rpm probe Provider-B test google-dns history-size 20
    set services rpm probe Provider-B test google-dns thresholds successive-loss 3


 

50
Online

38.4k
Users

12.7k
Topics

44.5k
Posts