Document the srl2 link type in the ip-link(8) man page. Add srl2 to the list of supported link types and describe its segs parameter and basic usage. Signed-off-by: Andrea Mayer --- man/man8/ip-link.8.in | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in index ef45fe08..7971a10c 100644 --- a/man/man8/ip-link.8.in +++ b/man/man8/ip-link.8.in @@ -253,6 +253,7 @@ ip-link \- network device configuration .BR pfcp " |" .BR rmnet " |" .BR sit " |" +.BR srl2 " |" .BR vcan " | " .BR veth " | " .BR virt_wifi " |" @@ -402,6 +403,9 @@ Link types: .BR sit - Virtual tunnel interface IPv6 over IPv4 .sp +.BR srl2 +- SRv6 L2 tunnel device +.sp .B vcan - Virtual Controller Area Network interface .sp @@ -1529,6 +1533,25 @@ When is "ipv4", this allows the tunnel to also handle IPv6. This option is disabled by default. +.TP +SRL2 Type Support +For a link of type +.I SRL2 +the following additional arguments are supported: + +.BI "ip link add " DEVICE +.BI type " srl2 " segs " SEG1,SEG2,...,SEGn" + +.in +8 +.sp +.BI segs " SEG1,SEG2,...,SEGn" +- specifies the SRv6 segment list for encapsulation. The segments +are IPv6 addresses separated by commas. Each L2 frame transmitted +through the device is encapsulated in an IPv6 header with a Segment +Routing Header (SRH) containing the specified segment list. + +.in -8 + .TP AMT Type Support For a link of type -- 2.20.1