Friday, March 23, 2018

Issue with processing multi label MPLS packets on Arista

I'm trying to setup a design where Arista switches packets based on MPLS labels. Not using LDP protocol and all MPLS rules are set statically. In the design switch receives packets with 2 labels (i.e. 1000/2000), should pop top one and route it via appropriate interface to next hop (so that next hop switch will also mpls switch it based on underlying label - 2000). This should be achieved be following command:

mpls static top-label 1000 Po1 10.0.0.1 pop payload-type mpls 

Problem is this doesn't work and Arista silently discards the packet, not sure why. On the other hand Arista can handle packet just fine if it only contains a single label (label 1000 and same comment as above but change last option from payload-type mpls to payload-type ipv4.

Switch will also process swapping labels, when packets contains just one (label 1000). So following command works just fine:

mpls static top-label 1000 Po1 10.0.0.1 swap 1111 

Couldn't find debug command for mpls, so not sure how to troubleshoot this one. Anyone run into similar issue?



No comments:

Post a Comment