Hi

I have noticed that GoBGP is assigning MPLS label of zero to all VPNv4 routes 
that are imported from VRF RIBs into the default RIB.

In my testbed, I have a PE (vsp-west-pe) connected to two CEs in two different 
VRFs named 'blue' and 'red'. Each CE sends a route to the PE for prefix 
192.168.0.0/24.

Here's the RIB for blue VRF on vsp-west-pe:

[ashaikh@vsp-vpe-west ~]$ gobgp vrf blue rib
   Network              Next Hop             AS_PATH              Age        
Attrs
   192.168.0.0/24       10.200.0.2           65001                00:51:30   
[{Origin: i} {Med: 0}]

Similarly, here's the RIB for red VRF:

[ashaikh@vsp-vpe-west ~]$ gobgp vrf red rib
   Network              Next Hop             AS_PATH              Age        
Attrs
   192.168.0.0/24       10.201.0.3           65003                00:52:22   
[{Origin: i} {Med: 0}]

Finally, here's the list of VPNv4 routes in the default RIB:

[ashaikh@vsp-vpe-west ~]$ gobgp global rib -a vpnv4
   Network              Labels     Next Hop             AS_PATH              
Age        Attrs
*> 100:1:192.168.0.0/24 [0]        10.200.0.2           65001                
00:53:05   [{Origin: i} {Med: 0} {Extcomms: [100:1]}]
*> 100:2:192.168.0.0/24 [0]        10.201.0.3           65003                
00:53:05   [{Origin: i} {Med: 0} {Extcomms: [100:2]}]

As you can see the label stack for each route has a single label whose value is 
zero.

thx
aman
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
gobgp-devel mailing list
gobgp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gobgp-devel

Reply via email to