Routing

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 forwarding question

    Posted 13 days ago
    If I have 5 routers as follows:

    CE1 ---------->PE1 ---------> P ----------> PE2 ------------> CE2

    if I used cisco routers for PE and P routers, CE1 goes to CE2 via MPLS.
    If I used Juniper for PE and P routers, CE1 goes to CE2 via IGP. This is by default for Juniper.
    I configured the following:
    set protocols mpls traffic-engineering mpls-forwarding on PE1, CE1 still go via IGP, as CE2 has not label assigned, not like in Cisco.

    Anyway can I configure to make CE1 go to CE2 via MPLS ?

    thanks !!


  • 2.  RE: MPLS forwarding question

    Posted 13 days ago
    figured it out. I need to configure an export policy for ldp.

    thanks !!


  • 3.  RE: MPLS forwarding question

     
    Posted 13 days ago

    Hi gongyayu.

     

    "set protocols mpls traffic-engineering mpls-forwarding" on PE1 will allow CE1->PE2 traffic to take the LSP, not CE1->CE2.

     

    Instead, there are a few ways to do this. Here are the 2 simplest ones.

     

    1. On PE1: "set routing-options static route <CE2> lsp-next-hop <PE1-PE2>"
    2. On PE1: "set protocols mpls label-switched-path <PE1-PE2> install <CE2> active"

     

    --Deepak

     

     






  • 4.  RE: MPLS forwarding question

    Posted 12 days ago
    I did the following on PE1
    set protocols mpls label-switched-path ToCE22 to 192.168.1.6
    set protocols mpls label-switched-path ToCE22 install 22.22.22.22/32 active
    
    set routing-options static route 22.22.22.22/32 lsp-next-hop ToCE22
    
    ​

    Am I supposed to this static route in inet.3 ? 

    root@PE1# run show route 22.22.22.22
    
    inet.0: 23 destinations, 34 routes (23 active, 0 holddown, 0 hidden)
    @ = Routing Use Only, # = Forwarding Use Only
    + = Active Route, - = Last Active, * = Both
    
    22.22.22.22/32     *[OSPF/10] 09:07:20, metric 3
                        > to 10.150.201.2 via ge-0/0/0.0
    

    CE1-----> CE2 still  does not go via MPLS.

    root@CE1-LS# ...ute 22.22.22.22 source 11.11.11.11 logical-system JPath
    traceroute to 22.22.22.22 (22.22.22.22) from 11.11.11.11, 30 hops max, 40 byte packets
     1  10.150.200.1 (10.150.200.1)  2.947 ms  1.720 ms  1.654 ms
     2  10.150.201.2 (10.150.201.2)  3.123 ms  2.904 ms  2.722 ms
     3  10.150.201.6 (10.150.201.6)  4.839 ms  4.160 ms  3.831 ms
     4  22.22.22.22 (22.22.22.22)  6.063 ms  6.241 ms  5.670 ms
    


    What did I miss here ?

    thanks !!




  • 5.  RE: MPLS forwarding question

     
    Posted 12 days ago

    Hi.

     

    My response was assuming you had an RSVP LSP from PE1 to PE3. You can ignore it since you're using LDP.

     

    --Deepak






  • 6.  RE: MPLS forwarding question

    Posted 12 days ago
    thanks !!

    I am currently using the following to emulate what Cisco IOS does.
    set policy-options policy-statement fec-label term direct from protocol direct
    set policy-options policy-statement fec-label term direct then accept
    set policy-options policy-statement fec-label term ospf from protocol ospf
    set policy-options policy-statement fec-label term ospf then accept
    
    set protocols ldp egress-policy fec-label
    set protocols ldp interface ge-0/0/2.0
    ​