For feedback and comments: |
documentation.feedback@alcatel-lucent.com |
•
• Prior to SR OS release 12.0 a CE hub and spoke architecture was partially supported. Internal optimization was available for the hub sites connected to the same PE router only. This feature is known as VPRN type hub. If, on the other hand, multiple spoke sites were connected to the same PE router, separate VPRN instances had to be created to maintain the split horizon forwarding behavior. This approach was complex, hard to maintain and consumed extra VPRN instances.Release 12.0.R1 adds new functionality to overcome these limitations. Introducing the VPRN type spoke feature allows multiple spoke sites to be kept within the same VPRN instance while at the same time maintaining the split horizon approach such that spoke sites cannot send traffic directly to each other.The primary goal of the feature is to allow multiple spoke sites to be part of a single VPRN instance without allowing direct communication between the spoke CE sites which are part of that VPRN (of type spoke). The packet flow is demonstrated in Figure 87.Figure 87: CE Hub and Spoke Data PathThe only way for CE-7 to communicate with CE-3 is via hub site CE-6. The same applies to CE-7 and CE-4 communication. The VPRN on PE-2 is configured as type spoke and has IP interfaces using SAPs or spoke SDPs that are considered spoke sites only. No direct communication between any of the spoke CE sites in the network is allowed.
• Use the type spoke command under the VPRN context as explained later.Figure 88: CE Hub and Spoke Control Plane IsolationWhen a VPRN on a PE router is configured as type spoke then the internal forwarding logic changes as demonstrated in Figure 89.Figure 89: Internal VPRN Logic on a PE RouterA:PE-5# configure service vprn 1*A:PE-5>config>service>vprn# info----------------------------------------------vrf-import "vrf-import"vrf-export "vrf-export"route-distinguisher 1:5type hub
auto-bind mpls-greinterface "int-PE-5-CE-6" createaddress 172.16.56.1/24sap 1/1/3:100 createexitexitospfexport "export-ospf"area 0.0.0.0interface "int-PE-5-CE-6"interface-type point-to-pointmtu 1500no shutdownexitexitexitno shutdown*A:PE-5>config>router>policy-options# info----------------------------------------------community "hub-ext-comm" members "target:64500:11"community "spoke-ext-comm" members "target:64500:12"policy-statement "vrf-export"default-action acceptcommunity add "hub-ext-comm"exitexitpolicy-statement "vrf-import"entry 10fromcommunity "spoke-ext-comm"exitaction acceptexitexitdefault-action rejectexit*A:PE-5# show router 1 route-table===============================================================================Route Table (Service: 1)===============================================================================Dest Prefix[Flags] Type Proto Age PrefNext Hop[Interface Name] Metric-------------------------------------------------------------------------------0.0.0.0/0 Remote OSPF 21h28m50s 150172.16.56.2 1172.16.14.0/24 Remote BGP VPN 00h15m59s 170192.0.2.1 (tunneled) 0172.16.23.0/24 Remote BGP VPN 00h15m59s 170192.0.2.2 (tunneled) 0172.16.27.0/24 Remote BGP VPN 00h15m59s 170192.0.2.2 (tunneled) 0172.16.56.0/24 Local Local 21h29m07s 0int-PE-5-CE-6 0172.31.0.3/32 Remote BGP VPN 00h15m59s 170192.0.2.2 (tunneled) 0172.31.0.4/32 Remote BGP VPN 00h15m59s 170192.0.2.1 (tunneled) 0172.31.0.7/32 Remote BGP VPN 00h15m59s 170192.0.2.2 (tunneled) 0-------------------------------------------------------------------------------No. of Routes: 8*A:PE-5# show router 1 fib 1===============================================================================FIB Display===============================================================================Prefix ProtocolNextHop-------------------------------------------------------------------------------0.0.0.0/0 OSPF172.16.56.2 (int-PE-5-CE-6)172.16.14.0/24 BGP_VPN192.0.2.1 (VPRN Label:262143 Transport:LDP)172.16.23.0/24 BGP_VPN192.0.2.2 (VPRN Label:262142 Transport:LDP)172.16.27.0/24 BGP_VPN192.0.2.2 (VPRN Label:262142 Transport:LDP)172.16.56.0/24 LOCAL172.16.56.0 (int-PE-5-CE-6)172.31.0.3/32 BGP_VPN192.0.2.2 (VPRN Label:262142 Transport:LDP)172.31.0.4/32 BGP_VPN192.0.2.1 (VPRN Label:262143 Transport:LDP)172.31.0.7/32 BGP_VPN192.0.2.2 (VPRN Label:262142 Transport:LDP)-------------------------------------------------------------------------------Total Entries : 8-------------------------------------------------------------------------------===============================================================================The forwarding table for the secondary VRF of VPRN 1 is displayed using following command, including the secondary keyword. All local hub CE sites are reachable via this VRF.*A:PE-5# show router 1 fib 1 secondary===============================================================================FIB Display===============================================================================Prefix ProtocolNextHop-------------------------------------------------------------------------------0.0.0.0/0 OSPF172.16.56.2 (int-PE-5-CE-6)172.16.56.0/24 LOCAL172.16.56.0 (int-PE-5-CE-6)-------------------------------------------------------------------------------Total Entries : 2-------------------------------------------------------------------------------===============================================================================PE-2 is configured with VPRN 1, which has OSPF connectivity to the customer CE-3 and CE-7. Note the new command type spoke which is used to prevent direct CE spoke to CE spoke communications for this VPRN.A:PE-2# configure service vprn 1A:PE-2>config>service>vprn# info----------------------------------------------vrf-import "vrf-import"vrf-export "vrf-export"route-distinguisher 1:2type spoke
auto-bind mpls-greinterface "int-PE-2-CE-7" createaddress 172.16.27.1/24sap 1/1/2:100 createexitexitinterface "int-PE-2-CE-3" createaddress 172.16.23.1/24sap 1/1/4:100 createexitexitospfexport "export-ospf"area 0.0.0.0interface "int-PE-2-CE-7"interface-type point-to-pointmtu 1500no shutdownexitinterface "int-PE-2-CE-3"interface-type point-to-pointmtu 1500no shutdownexitexitexitno shutdown*A:PE-2# configure router policy-options*A:PE-2>config>router>policy-options# info----------------------------------------------community "hub-ext-comm" members "target:64500:11"community "spoke-ext-comm" members "target:64500:12"policy-statement "vrf-export"default-action acceptcommunity add "spoke-ext-comm"exitexitpolicy-statement "vrf-import"entry 10fromcommunity "hub-ext-comm"exitaction acceptexitexitdefault-action rejectexit*A:PE-2# show router 1 route-table===============================================================================Route Table (Service: 1)===============================================================================Dest Prefix[Flags] Type Proto Age PrefNext Hop[Interface Name] Metric-------------------------------------------------------------------------------0.0.0.0/0 Remote BGP VPN 00h19m04s 170192.0.2.5 (tunneled) 0172.16.23.0/24 Local Local 21h55m36s 0int-PE-2-CE-3 0172.16.23.1/32 Remote Host 21h55m36s 0int-PE-2-CE-3 0172.16.27.0/24 Local Local 21h55m36s 0int-PE-2-CE-7 0172.16.27.1/32 Remote Host 21h55m36s 0int-PE-2-CE-7 0172.16.56.0/24 Remote BGP VPN 00h19m04s 170192.0.2.5 (tunneled) 0172.31.0.3/32 Remote OSPF 04h46m36s 10172.16.23.2 100172.31.0.7/32 Remote OSPF 21h55m21s 10172.16.27.2 100-------------------------------------------------------------------------------No. of Routes: 8*A:PE-2# show router 1 fib 1===============================================================================FIB Display===============================================================================Prefix ProtocolNextHop-------------------------------------------------------------------------------172.16.23.0/24 LOCAL172.16.23.0 (int-PE-2-CE-3)172.16.23.1/32 HOSTBlackhole172.16.27.0/24 LOCAL172.16.27.0 (int-PE-2-CE-7)172.16.27.1/32 HOSTBlackhole172.31.0.3/32 OSPF172.16.23.2 (int-PE-2-CE-3)172.31.0.7/32 OSPF172.16.27.2 (int-PE-2-CE-7)-------------------------------------------------------------------------------Total Entries : 6-------------------------------------------------------------------------------===============================================================================*A:PE-2# show router 1 fib 1 secondary===============================================================================FIB Display===============================================================================Prefix ProtocolNextHop-------------------------------------------------------------------------------0.0.0.0/0 BGP_VPN192.0.2.5 (VPRN Label:262141 Transport:LDP)172.16.23.1/32 HOSTBlackhole172.16.27.1/32 HOSTBlackhole172.16.56.0/24 BGP_VPN192.0.2.5 (VPRN Label:262141 Transport:LDP)-------------------------------------------------------------------------------Total Entries : 4-------------------------------------------------------------------------------===============================================================================A:CE-3# traceroute 172.31.0.7 no-dnstraceroute to 172.31.0.7, 30 hops max, 40 byte packets1 172.16.23.1 3.22 ms 14.3 ms 2.75 ms2 172.31.0.7 3.47 ms 3.34 ms 3.42 msA:CE-3# traceroute router 100 172.31.0.7 no-dnsAfter enabling the type spoke feature, CE-3 takes the longest path via hub CE-6 to reach CE-7, as it should.*A:CE-3# traceroute 172.31.0.7 no-dnstraceroute to 172.31.0.7, 30 hops max, 40 byte packets1 172.16.23.1 3.16 ms 2.79 ms 2.79 ms2 0.0.0.0 * * *3 172.16.56.2 69.7 ms 7.31 ms 10.5 ms4 172.16.56.1 32.0 ms 67.5 ms 80.6 ms5 172.16.27.1 7.54 ms 7.52 ms 33.6 ms6 172.31.0.7 77.4 ms 90.7 ms 12.8 ms*A:CE-3# traceroute 172.31.0.4 no-dnstraceroute to 172.31.0.4, 30 hops max, 40 byte packets1 172.16.23.1 72.6 ms 2.82 ms 2.72 ms2 0.0.0.0 * * *3 172.16.56.2 10.8 ms 41.7 ms 9.51 ms4 172.16.56.1 10.6 ms 20.7 ms 10.8 ms5 172.16.14.1 11.8 ms 11.9 ms 11.6 ms6 172.31.0.4 20.9 ms 15.6 ms 15.4 msThe VPRN type spoke feature completes the CE hub and spoke solution. It brings a new level of simplicity, scalability and flexibility to operators using this VPRN architecture for their customers.