Routing

last person joined: 3 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  BGP next-hop issue

    Posted 08-20-2013 07:56

    Hi,I want to change the bgp next-hop in import policy. But when I config the policy I found the route is hidden(the next-hop is reachable).

     

    TOPO:

    r2----r3----r5

     

    I want to change the route's next-hop from r2' bpg to r5.

    R2:

    bgp {
    group ebgp {
    type external;
    export bgp_out;
    peer-as 65501;
    neighbor 23.23.23.3;
    }
    }

     

    R3:

    protocols {
    group ebgp_2 {
    type external;
    peer-as 65500;
    neighbor 23.23.23.2 {
    import bgp2_in;
    }
    }

    }

    policy-statement bgp2_in {
    term 1 {
    from {
    protocol bgp;
    }
    then {
    next-hop 5.5.5.5;
    accept;
    }
    }
    term 2 {
    then reject;
    }
    }

    routing-options {
    static {
    route 5.5.5.5/32 next-hop 35.35.35.5;
    }
    }

     

    state in r3:

    lab@M10i# run show route hidden extensive

    inet.0: 21 destinations, 21 routes (16 active, 0 holddown, 5 hidden)
    2.2.2.2/32 (1 entry, 0 announced)
    BGP Preference: 170/-101
    Next hop type: Unusable
    Address: 0x8e61e84
    Next-hop reference count: 4
    State: <Hidden Ext>
    Local AS: 65501 Peer AS: 65500
    Age: 38:08
    Task: BGP_65500.23.23.23.2+179
    AS path: 65500 I
    Accepted
    Localpref: 100
    Router ID: 2.2.2.2

     

    I can not found the next-hop. can you tell me why?



  • 2.  RE: BGP next-hop issue

    Posted 08-20-2013 11:02

    Can you please send the output of 

     

    "show route resolution unresolved"  CLI?

     

    Regards

    Satinder Singh



  • 3.  RE: BGP next-hop issue

    Posted 08-21-2013 03:21

    Have you tried resolve option in next-hop?

     

    routing-options {
    static {
    route 5.5.5.5/32 next-hop 35.35.35.5 resolve;
    }

     

    Can you provied us a network diagram? (networks between routers)



  • 4.  RE: BGP next-hop issue