aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/srv6/sr_policy.md
diff options
context:
space:
mode:
authorIgnas Bačius <ignas@noia.network>2019-10-03 17:15:38 +0300
committerDamjan Marion <dmarion@me.com>2019-10-23 07:52:22 +0000
commiteeb5fb3a50079e1af6e655694c6ff99ec2f9d070 (patch)
treeda14b1e36c66e6977e175cbe040892df57f828cf /src/vnet/srv6/sr_policy.md
parentbd0a00a45637c1dde533ef6c3798418c2ab15009 (diff)
sr: add "set sr encaps hop-limit" command
Default hop-limit for the encapsulating IPv6 header is a compile-time constant. Add ability to specify custom hop-limit, in order to avoid packets being dropped with "hop limit exceeded in transit" response in certain network configurations. Type: feature Signed-off-by: Ignas Bačius <ignas@noia.network> Change-Id: I77f2b35c987cfd31801dc2744d31fb3c1984158f
Diffstat (limited to 'src/vnet/srv6/sr_policy.md')
-rw-r--r--src/vnet/srv6/sr_policy.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/srv6/sr_policy.md b/src/vnet/srv6/sr_policy.md
index 521b84616c0..2a7eb4c9870 100644
--- a/src/vnet/srv6/sr_policy.md
+++ b/src/vnet/srv6/sr_policy.md
@@ -54,3 +54,7 @@ Spray policies are used for removing multicast state from a network core domain,
In case the user decides to create an SR policy an IPv6 Source Address must be specified for the encapsulated traffic. In order to do so the user might use the following command:
set sr encaps source addr XXXX::YYYY
+
+Default hop-limit for the encapsulating IPv6 header is 64. It is possible to specify custom hop-limit value from 1 to 255 using this command:
+
+ set sr encaps hop-limit N