I was wondering if there is a way to pop multiple MPLS labels at
once for local delivery using iproute2?

Adding multiple labels for encapsulation is supported via
label1/label2/... syntax, but I can't find a way to do the same
for popping multiple labels for local delivery.

For example if I run

# ip route add 192.168.1.0/24 encap mpls 100/200 via inet 192.168.1.101 \
   dev mytun mtu 1450

...I'm looking for the equivalent command to pop both labels on the
target system for local delivery; something like

# ip -f mpls route add 100/200 dev lo

...but that gets rejected as only a single label is expected.

Thanks!

Alan

Reply via email to