vMX

 View Only
last person joined: 9 days ago 

Ask questions and share experiences about vMX.
  • 1.  Multipath configuration in a Juniper router

    Posted 01-18-2023 04:20
    Hello,

    I configured multipath in a lab and it worked just fine.

    I tried to translate that to the my production network but it's not working.

    The only difference I have between the lab and the prod is that in prod the routes are received in a vrf through a thrid party provider.

    The router sees the routes as exactly the same but received from the same interface.

    Multipath isn't working, I configured the policy and the hash-key.

    Anyone can enlighten me as to why it's not working? Is it because the routes are received through the same interface albeit from different neighbors ?

    Thank you.

    Kind regards,

    Mohamed

    ------------------------------
    MOHAMED MEHENOUN
    ------------------------------


  • 2.  RE: Multipath configuration in a Juniper router

    Posted 01-18-2023 04:41
    I know you've said the routes are the same, but can you show them?
    What is the "Inactive reason" in "show route detail" ?
    Is it definitely the same peer-as for both neighbors, and they both have multipath enabled on them?


  • 3.  RE: Multipath configuration in a Juniper router

    Posted 01-18-2023 05:33
    Here it is...



    VRFUSED.inet.0: 15650 destinations, 28753 routes (15649 active, 1 holddown, 0 hidden)

    10.10.0.0/15 (2 entries, 1 announced)
    TSI:
    KRT in-kernel 10.10.0.0/15 -> {indirect(1048604)}
    Page 0 idx 0, (group vRR type External) Type 1 val 0x12709b48 (adv_entry)
    Advertised metrics:
    Nexthop: Self
    AS path: [64512] I
    Communities: target:64512:1
    Page 0 idx 1, (group to_FSHDEFGDJ type External) Type 1 val 0x12709598 (adv_entry)
    Advertised metrics:
    Nexthop: Self
    AS path: [64512] I
    Communities: target:64512:1
    Page 0 idx 2, (group SOMETHING type External) Type 1 val 0x12708fe8 (adv_entry)
    Advertised metrics:
    Nexthop: Self
    MED: 100
    AS path: [64512] I
    Communities: target:64512:1
    Page 0 idx 3, (group to_XXXCX type External) Type 1 val 0xd63ff88 (adv_entry)
    Advertised metrics:
    Nexthop: Self
    AS path: [64512] I
    Communities: target:64512:1
    Page 0 idx 4, (group to_XXXDCFX type External) Type 1 val 0x12708530 (adv_entry)
    Advertised metrics:
    Nexthop: Self
    MED: 100
    AS path: [64512] I
    Communities: target:64512:1
    Page 0 idx 5, (group to_XXXGGFX type External) Type 1 val 0x12707f80 (adv_entry)
    Advertised metrics:
    Nexthop: Self
    AS path: [64512] I
    Communities: target:64512:1
    Path X.X.X.X
    from Y.Y.Y.Y
    Vector len 4. Val: 0 1 2 3 4 5
    *BGP Preference: 170/-151
    Route Distinguisher: Y.Y.Y.Y:1
    Next hop type: Indirect, Next hop index: 0
    Address: 0xe4221ec
    Next-hop reference count: 84
    Source: Y.Y.Y.Y
    Next hop type: Router, Next hop index: 1108
    Next hop: C.C.C.C via xe-0/1/10:0.0, selected
    Label operation: Push 17
    Label TTL action: prop-ttl
    Load balance label: Label 17: None;
    Label element ptr: 0x10dd3900
    Label parent element ptr: 0x109e0b00
    Label element references: 1
    Label element child references: 0
    Label element lsp id: 0
    Session Id: 0x175
    Protocol next hop: Y.Y.Y.Y
    Label operation: Push 17
    Label TTL action: prop-ttl
    Load balance label: Label 17: None;
    Indirect next hop: 0xcd25e08 1048604 INH Session ID: 0x48e
    State: <Secondary Active Int Ext ProtectionCand>
    Local AS: 64512 Peer AS: 64512
    Age: 13:47 Metric2: 99
    Validation State: unverified
    Task: BGP_64512.Y.Y.Y.Y
    Announcement bits (4): 1-KRT 3-RT 4-BGP_RT_Background 5-Resolve tree 3
    AS path: I
    Communities: target:64512:1
    Import Accepted
    VPN Label: 17
    Localpref: 150
    Router ID: Y.Y.Y.Y
    Primary Routing Table bgp.l3vpn.0
    Indirect next hops: 1
    Protocol next hop: Y.Y.Y.Y Metric: 99
    Label operation: Push 17
    Label TTL action: prop-ttl
    Load balance label: Label 17: None;
    Indirect next hop: 0xcd25e08 1048604 INH Session ID: 0x48e
    Indirect path forwarding next hops: 1
    Next hop type: Router
    Next hop: C.C.C.C via xe-0/1/10:0.0
    Session Id: 0x175
    Y.Y.Y.Y/32 Originating RIB: inet.3
    Metric: 99 Node path count: 1
    Forwarding nexthops: 1
    Nexthop: C.C.C.C via xe-0/1/10:0.0
    Session Id: 0
    BGP Preference: 170/-151
    Route Distinguisher: A.A.A.A:1
    Next hop type: Indirect, Next hop index: 0
    Address: 0xe413abc
    Next-hop reference count: 57
    Source: A.A.A.A
    Next hop type: Router, Next hop index: 1081
    Next hop: D.D.D.D via xe-0/1/10:0.0, selected
    Label operation: Push 17
    Label TTL action: prop-ttl
    Load balance label: Label 17: None;
    Label element ptr: 0x677e6c0
    Label parent element ptr: 0xd988040
    Label element references: 1
    Label element child references: 0
    Label element lsp id: 0
    Session Id: 0x17d
    Protocol next hop: A.A.A.A
    Label operation: Push 17
    Label TTL action: prop-ttl
    Load balance label: Label 17: None;
    Indirect next hop: 0xcd247b8 1048596 INH Session ID: 0x48d
    State: <Secondary NotBest Int Ext ProtectionCand>
    Inactive reason: Not Best in its group - Router ID
    Local AS: 64512 Peer AS: 64512
    Age: 14:44 Metric2: 99
    Validation State: unverified
    Task: BGP_64512.A.A.A.A
    AS path: I
    Communities: target:64512:1
    Import Accepted
    VPN Label: 17
    Localpref: 150
    Router ID: A.A.A.A
    Primary Routing Table bgp.l3vpn.0
    Indirect next hops: 1
    Protocol next hop: A.A.A.A Metric: 99
    Label operation: Push 17
    Label TTL action: prop-ttl
    Load balance label: Label 17: None;
    Indirect next hop: 0xcd247b8 1048596 INH Session ID: 0x48d
    Indirect path forwarding next hops: 1
    Next hop type: Router
    Next hop: D.D.D.D via xe-0/1/10:0.0
    Session Id: 0x17d
    A.A.A.A/32 Originating RIB: inet.3
    Metric: 99 Node path count: 1
    Forwarding nexthops: 1
    Nexthop: D.D.D.D via xe-0/1/10:0.0
    Session Id: 0

    Inline_mgt.inet.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)

    ------------------------------
    MOHAMED MEHENOUN
    ------------------------------