Blame man/man8/ip-sr.8

Packit Service 3880ab
.TH IP\-SR 8 "14 Apr 2017" "iproute2" "Linux"
Packit Service 3880ab
.SH "NAME"
Packit Service 3880ab
ip-sr \- IPv6 Segment Routing management
Packit Service 3880ab
.SH SYNOPSIS
Packit Service 3880ab
.sp
Packit Service 3880ab
.ad l
Packit Service 3880ab
.in +8
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B ip sr
Packit Service 3880ab
.RI " { " COMMAND " | "
Packit Service 3880ab
.BR help " }"
Packit Service 3880ab
.sp
Packit Service 3880ab
.ti -8
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B ip sr hmac show
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B ip sr hmac set
Packit Service 3880ab
.I KEYID ALGO
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B ip sr tunsrc show
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B ip sr tunsrc set
Packit Service 3880ab
.I ADDRESS
Packit Service 3880ab
Packit Service 3880ab
.SH DESCRIPTION
Packit Service 3880ab
The \fBip sr\fR command is used to configure IPv6 Segment Routing (SRv6)
Packit Service 3880ab
internal parameters.
Packit Service 3880ab
.PP
Packit Service 3880ab
Those parameters include the mapping between an HMAC key ID and its associated
Packit Service 3880ab
hashing algorithm and secret, and the IPv6 address to use as source for encapsulated
Packit Service 3880ab
packets.
Packit Service 3880ab
.PP
Packit Service 3880ab
The \fBip sr hmac set\fR command prompts for a passphrase that will be used as the
Packit Service 3880ab
HMAC secret for the corresponding key ID. A blank passphrase removes the mapping.
Packit Service 3880ab
The currently supported algorithms for \fIALGO\fR are \fBsha1\fR and \fBsha256\fR.
Packit Service 3880ab
.PP
Packit Service 3880ab
If the tunnel source is set to the address :: (which is the default), then an address
Packit Service 3880ab
of the egress interface will be selected. As this operation may hinder performances,
Packit Service 3880ab
it is recommended to set a non-default address.
Packit Service 3880ab
Packit Service 3880ab
.SH EXAMPLES
Packit Service 3880ab
.PP
Packit Service 3880ab
.SS Configure an HMAC mapping for key ID 42 and hashing algorithm SHA-256
Packit Service 3880ab
.nf
Packit Service 3880ab
# ip sr hmac set 42 sha256
Packit Service 3880ab
.PP
Packit Service 3880ab
.SS Set the tunnel source address to 2001:db8::1
Packit Service 3880ab
.nf
Packit Service 3880ab
# ip sr tunsrc set 2001:db8::1
Packit Service 3880ab
.SH SEE ALSO
Packit Service 3880ab
.br
Packit Service 3880ab
.BR ip-route (8)
Packit Service 3880ab
.SH AUTHOR
Packit Service 3880ab
David Lebrun <david.lebrun@uclouvain.be>