set ip default next hop vs set ip next-hop

hi,

i couldn't figure out what is the diffrence beteen the two?

set ip default next hop vs. set ip next-hop

 

Comments

  • The set ip default next-hop command verifies the existence of the destination IP address in the routing table, and…

    • if the destination IP address exists, the command does not policy route the packet, but forwards the packet based on the routing table.

    • if the destination IP address does not exist, the command policy routes the packet by sending it to the specified next hop.

    The set ip next-hop command verifies the existence of the next hop specified, and…

    • if the next hop exists in the routing table, then the command policy routes the packet to the next hop.

    • if the next hop does not exist in the routing table, the command uses the normal routing table to forward the packet.

  • I forgot to mention that this applies to policy routing, not setting a next-hop in a route-map for BGP or something along those lines.

  • What are the use cause for the “set ip default next-hop” ?

     

    From: [email protected] [mailto:[email protected]] On Behalf Of plucena24
    Sent: quarta-feira, 16 de julho de 2014 19:33
    To: [email protected]
    Subject: Re: [CCIE R&S] set ip default next hop vs set ip next-hop

     

    The set ip default next-hop command verifies the existence of the destination IP address in the routing table, and…

    <![if !supportLists]>·         <![endif]>if the destination IP address exists, the command does not policy route the packet, but forwards the packet based on the routing table.

    <![if !supportLists]>·         <![endif]>if the destination IP address does not exist, the command policy routes the packet by sending it to the specified next hop.

    The set ip next-hop command verifies the existence of the next hop specified, and…

    <![if !supportLists]>·         <![endif]>if the next hop exists in the routing table, then the command policy routes the packet to the next hop.

    <![if !supportLists]>·         <![endif]>if the next hop does not exist in the routing table, the command uses the normal routing table to forward the packet.




    INE - The Industry Leader in CCIE Preparation
    http://www.INE.com

    Subscription information may be found at:
    http://www.ieoc.com/forums/ForumSubscriptions.aspx

  • This is used in Policy Based Routing. Set ip default next-hop is not for setting a BGP next hop, etc. 

  • Can't figure out how to delete post but mine was irrelvant, sorry.

Sign In or Register to comment.