aboutsummaryrefslogtreecommitdiffstats
path: root/router/README.md
diff options
context:
space:
mode:
authorPierre Pfister <ppfister@cisco.com>2018-04-11 05:55:38 +0000
committerGerrit Code Review <gerrit@fd.io>2018-04-11 05:55:38 +0000
commit9791ab9fa07347fd063a55dc44cc1b0b67ee2292 (patch)
treef271ebd670c242c3cde7157d0861fc2503feff2c /router/README.md
parentce5ab87645e7472b99e23686047e4141a7a315b0 (diff)
parent2ab698c963b12219aecf72d001ae28c173548933 (diff)
Merge "Add support for MPLS labels in router plugin"
Diffstat (limited to 'router/README.md')
-rw-r--r--router/README.md26
1 files changed, 25 insertions, 1 deletions
diff --git a/router/README.md b/router/README.md
index 3401c76..b3ec5ae 100644
--- a/router/README.md
+++ b/router/README.md
@@ -66,6 +66,30 @@ The objective of this project is to continue to build out better integration
with host operating system and for providing a basis to enable completely
or partially unmodified applications to take advantage of a fast datapath.
+### MPLS related enhancement to router plugin
+
+Some changes made to router plugin enable it to support mpls label encapsulation.
+
+To test this feature, first install router plugin using instructions
+in section "Build/Install", and then run following commands
+
+$vppctl enable tap-inject
+$ifconfig vpp0 <IP> up
+$ip route add <IP> encap mpls <LABELS> via <IP> dev vpp0
+$vppctl show ip fib
+
+You should see labels in ip fib table.
+
+you can also run following commands
+
+$vppctl enable tap-inject
+$vppctl mpls table add 0
+$vppctl set int mpls <INTERFACE> enable
+$ip -f mpls route add 333 dev vpp0
+$vppctl show mpls fib
+
+You should see dst label and interface in mpls table.
+
### Main contributors
-Jeff Shaw - LF-ID:jbshaw
+Jeff Shaw - LF-ID:jbshaw, Chad Chengwei Wang - LF-ID:flinter (MPLS)