logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

ip-sr.8 (1388B)


  1. .TH IP\-SR 8 "14 Apr 2017" "iproute2" "Linux"
  2. .SH "NAME"
  3. ip-sr \- IPv6 Segment Routing management
  4. .SH SYNOPSIS
  5. .sp
  6. .ad l
  7. .in +8
  8. .ti -8
  9. .B ip sr
  10. .RI " { " COMMAND " | "
  11. .BR help " }"
  12. .sp
  13. .ti -8
  14. .ti -8
  15. .B ip sr hmac show
  16. .ti -8
  17. .B ip sr hmac set
  18. .I KEYID ALGO
  19. .ti -8
  20. .B ip sr tunsrc show
  21. .ti -8
  22. .B ip sr tunsrc set
  23. .I ADDRESS
  24. .SH DESCRIPTION
  25. The \fBip sr\fR command is used to configure IPv6 Segment Routing (SRv6)
  26. internal parameters.
  27. .PP
  28. Those parameters include the mapping between an HMAC key ID and its associated
  29. hashing algorithm and secret, and the IPv6 address to use as source for encapsulated
  30. packets.
  31. .PP
  32. The \fBip sr hmac set\fR command prompts for a passphrase that will be used as the
  33. HMAC secret for the corresponding key ID. A blank passphrase removes the mapping.
  34. The currently supported algorithms for \fIALGO\fR are \fBsha1\fR and \fBsha256\fR.
  35. .PP
  36. If the tunnel source is set to the address :: (which is the default), then an address
  37. of the egress interface will be selected. As this operation may hinder performances,
  38. it is recommended to set a non-default address.
  39. .SH EXAMPLES
  40. .PP
  41. .SS Configure an HMAC mapping for key ID 42 and hashing algorithm SHA-256
  42. .nf
  43. # ip sr hmac set 42 sha256
  44. .PP
  45. .SS Set the tunnel source address to 2001:db8::1
  46. .nf
  47. # ip sr tunsrc set 2001:db8::1
  48. .SH SEE ALSO
  49. .br
  50. .BR ip-route (8)
  51. .SH AUTHOR
  52. David Lebrun <david.lebrun@uclouvain.be>