Junos OS

 View Only

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



  • 1.  MPLS Label assignemt for host-routes only

    Posted 11-28-2021 07:35
    Hi
    In Cisco IOS, there is a command which assigns MPLS Label to /32 routes(host-only), I wonder how can we configure JunOS to act this way.. I already know this must be done through policy options but I could not find the proper configuration
    Would you please help me out?
    Thank you

    ------------------------------
    Ali Soltan
    ------------------------------


  • 2.  RE: MPLS Label assignemt for host-routes only

    Posted 11-29-2021 05:37

    Hi Ali,

    Just use a route filter in your export policy like this one :

    route-filter 0.0.0.0/0 prefix-length-range /32-/32;

    It will match any route with a /32 mask.

    HTH,
    C



    ------------------------------
    Christophe Lemaire
    ------------------------------



  • 3.  RE: MPLS Label assignemt for host-routes only

    Posted 11-29-2021 10:59
    Hi
    Thank you for your help and support, I will test this.

    ------------------------------
    Ali Soltan
    ------------------------------