Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
set interfaces ge-0/0/1 unit 0 family inet address 192.168.4.24/24 set interfaces ge-0/0/1 unit 0 family mpls set interfaces ge-0/0/3 unit 0 family inet address 192.168.3.24/24 set interfaces ge-0/0/3 unit 0 family mpls set interfaces lo0 unit 0 family inet address 192.0.200.24/32 set interfaces lo0 unit 0 family iso address 49.0000.0192.0000.0200.0024.00 set routing-options router-id 192.0.200.24 set routing-options route-distinguisher-id 192.0.200.24 set routing-options autonomous-system 200 set protocols rsvp interface ge-0/0/1.0 set protocols rsvp interface lo0.0 set protocols mpls label-switched-path To-PE2 to 192.0.200.22 set protocols mpls interface ge-0/0/1.0 set protocols bgp group To-PE2 type internal set protocols bgp group To-PE2 local-address 192.0.200.24 set protocols bgp group To-PE2 family inet labeled-unicast set protocols bgp group To-PE2 export NHS set protocols bgp group To-PE2 neighbor 192.0.200.22 set protocols bgp group To-ASBR1 type external set protocols bgp group To-ASBR1 family inet labeled-unicast set protocols bgp group To-ASBR1 export exp2ASBR1 set protocols bgp group To-ASBR1 neighbor 192.168.3.14 peer-as 100 set protocols ospf traffic-engineering set protocols ospf area 0.0.0.0 interface ge-0/0/1.0 set protocols ospf area 0.0.0.0 interface lo0.0 passive set policy-options policy-statement NHS then next-hop self set policy-options policy-statement exp2ASBR1 term 1 from protocol ospf set policy-options policy-statement exp2ASBR1 term 1 from route-filter 192.0.200.22/32 exact set policy-options policy-statement exp2ASBR1 term 1 then accept
labeled-unicast should add one more label when sending the packet to ASBR2, Right ?But I saw only two labels. So ASBR2 popped 1 label. and then P2 popped another label. when the packet reached PE2 without any Label. PE2 does not know which VRF the packet should go, so ping failed.I sniffed the packet hop by hop.What did I miss here ?thanks !!
set interfaces ge-0/0/1 unit 0 family inet address 192.168.4.24/24set interfaces ge-0/0/1 unit 0 family mplsset interfaces ge-0/0/3 unit 0 family inet address 192.168.3.24/24set interfaces ge-0/0/3 unit 0 family mplsset interfaces lo0 unit 0 family inet address 192.0.200.24/32set interfaces lo0 unit 0 family iso address 49.0000.0192.0000.0200.0024.00set routing-options router-id 192.0.200.24set routing-options route-distinguisher-id 192.0.200.24set routing-options autonomous-system 200set protocols rsvp interface ge-0/0/1.0set protocols rsvp interface lo0.0set protocols mpls label-switched-path To-PE2 to 192.0.200.22set protocols mpls interface ge-0/0/1.0set protocols bgp group To-PE2 type internalset protocols bgp group To-PE2 local-address 192.0.200.24set protocols bgp group To-PE2 family inet labeled-unicastset protocols bgp group To-PE2 export NHSset protocols bgp group To-PE2 neighbor 192.0.200.22set protocols bgp group To-ASBR1 type externalset protocols bgp group To-ASBR1 family inet labeled-unicastset protocols bgp group To-ASBR1 export exp2ASBR1set protocols bgp group To-ASBR1 neighbor 192.168.3.14 peer-as 100set protocols ospf traffic-engineeringset protocols ospf area 0.0.0.0 interface ge-0/0/1.0set protocols ospf area 0.0.0.0 interface lo0.0 passiveset policy-options policy-statement NHS then next-hop selfset policy-options policy-statement exp2ASBR1 term 1 from protocol ospfset policy-options policy-statement exp2ASBR1 term 1 from route-filter 192.0.200.22/32 exactset policy-options policy-statement exp2ASBR1 term 1 then accept
set protocols mpls traffic-engineering bgp-igp-both-ribs