]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: sync ospf-sr docs from master
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 6 Mar 2018 15:50:30 +0000 (10:50 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 6 Mar 2018 15:50:30 +0000 (10:50 -0500)
7666589034ef51aa56e8530031c7fa08f81f4c58

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
doc/developer/ospf-sr.rst
doc/user/ospfd.rst

index 0ee1a12f2858923540c5f26359e44143f1dced8c..3f8b549df3098c3de968f629b55363991a12a9eb 100644 (file)
@@ -5,6 +5,26 @@ This is an EXPERIMENTAL support of draft
 `draft-ietf-ospf-segment-routing-extensions-24`.
 DON'T use it for production network.
 
+Supported Features
+------------------
+
+* Automatic computation of Primary and Backup Adjacency SID with
+  Cisco experimental remote IP address
+* SRGB configuration
+* Prefix configuration for Node SID with optional NO-PHP flag (Linux
+  kernel support both mode)
+* Node MSD configuration (with Linux Kernel >= 4.10 a maximum of 32 labels
+  could be stack)
+* Automatic provisioning of MPLS table
+* Static route configuration with label stack up to 32 labels
+
+Interoperability
+----------------
+
+* Tested on various topology including point-to-point and LAN interfaces
+  in a mix of Free Range Routing instance and Cisco IOS-XR 6.0.x
+* Check OSPF LSA conformity with latest wireshark release 2.5.0-rc
+
 Implementation details
 ----------------------
 
@@ -176,17 +196,17 @@ yourself:
 
 ::
 
-       modprobe mpls_router
-       modprobe mpls_gso
-       modprobe mpls_iptunnel
+   modprobe mpls_router
+   modprobe mpls_gso
+   modprobe mpls_iptunnel
 
 Then, you must activate MPLS on the interface you would used:
 
 ::
 
-       sysctl -w net.mpls.conf.enp0s9.input=1
-       sysctl -w net.mpls.conf.lo.input=1
-       sysctl -w net.mpls.platform_labels=1048575
+   sysctl -w net.mpls.conf.enp0s9.input=1
+   sysctl -w net.mpls.conf.lo.input=1
+   sysctl -w net.mpls.platform_labels=1048575
 
 The last line fix the maximum MPLS label value.
 
@@ -195,8 +215,8 @@ enable with:
 
 ::
 
-       ip -M route
-       ip route
+   ip -M route
+   ip route
 
 The first command show the MPLS LFIB table while the second show the FIB
 table which contains route with MPLS label encapsulation.
@@ -207,8 +227,8 @@ especially the `lo` one. For that purpose, disable RP filtering with:
 
 ::
 
-       systcl -w net.ipv4.conf.all.rp_filter=0
-       sysctl -w net.ipv4.conf.lo.rp_filter=0
+   systcl -w net.ipv4.conf.all.rp_filter=0
+   sysctl -w net.ipv4.conf.lo.rp_filter=0
 
 OSPFd
 ~~~~~
@@ -220,16 +240,16 @@ Routing.
 
 ::
 
-       router ospf
-        ospf router-id 192.168.1.11
-        capability opaque
-         mpls-te on
-         mpls-te router-address 192.168.1.11
-        router-info area 0.0.0.0
-        segment-routing on
-        segment-routing global-block 10000 19999
-        segment-routing node-msd 8
-        segment-routing prefix 192.168.1.11/32 index 1100
+   router ospf
+    ospf router-id 192.168.1.11
+    capability opaque
+     mpls-te on
+     mpls-te router-address 192.168.1.11
+    router-info area 0.0.0.0
+    segment-routing on
+    segment-routing global-block 10000 19999
+    segment-routing node-msd 8
+    segment-routing prefix 192.168.1.11/32 index 1100
 
 The first segment-routing statement enable it. The Second one set the SRGB,
 third line the MSD and finally, set the Prefix SID index for a given prefix.
@@ -248,9 +268,6 @@ Known limitations
 * MPLS table are not flush at startup. Thus, restarting zebra process is
   mandatory to remove old MPLS entries in the data plane after a crash of
   ospfd daemon
-* Due to a bug in OSPF Opaque, LSA are not flood when enable Segment Routing
-  through CLI once OSPFd started. You must configure Segment Routing within
-  configuration file before launching OSPFd
 * With NO Penultimate Hop Popping, it is not possible to express a Segment
   Path with an Adjacency SID due to the impossibility for the Linux Kernel to
   perform double POP instruction.
@@ -266,4 +283,3 @@ This work has been performed in the framework of the H2020-ICT-2014
 project 5GEx (Grant Agreement no. 671636), which is partially funded
 by the European Commission.
 
-
index e7ea9c52e4e6fe1d88c5a29c078945dee5fef07e..59917f5262220eed3b4a6ea99a5069901b06751d 100644 (file)
@@ -1033,11 +1033,12 @@ This is an EXPERIMENTAL support of Segment Routing as per draft
    currently supported. The 'no-php-flag' means NO Penultimate Hop Popping that
    allows SR node to request to its neighbor to not pop the label.
 
-.. index:: show ip ospf database segment-routing <adv-router ADVROUTER|self-originate>
-.. clicmd:: show ip ospf database segment-routing <adv-router ADVROUTER|self-originate>
+.. index:: show ip ospf database segment-routing <adv-router ADVROUTER|self-originate> [json]
+.. clicmd:: show ip ospf database segment-routing <adv-router ADVROUTER|self-originate> [json]
 
    Show Segment Routing Data Base, all SR nodes, specific advertized router or
-   self router.
+   self router. Optional JSON output can be obtained by appending 'json' to the
+   end of the command.
 
 Debugging OSPF
 ==============