Document the End.DT2U seg6local action in the ip-route(8) man page. Add the End.DT2U syntax, describe the l2dev parameter, and provide a usage example in the SRv6 examples section. Signed-off-by: Andrea Mayer --- man/man8/ip-route.8.in | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in index aafa6d98..bba7a4fd 100644 --- a/man/man8/ip-route.8.in +++ b/man/man8/ip-route.8.in @@ -993,6 +993,21 @@ only accepts packets with either a zero Segments Left value or no SRH at all, and an inner IPv4 or IPv6 packet. Other matching packets are dropped. +.B End.DT2U l2dev +.I DEVICE +- Decapsulate the inner Ethernet frame and deliver it locally on the +specified L2 device. +.I DEVICE +must be either a bridge port or a +.B srl2 +device. When +.I DEVICE +is a bridge port, the Linux bridge performs MAC source address learning, +destination MAC lookup, and L2 forwarding within the local bridge +domain. This action only accepts packets with either a zero Segments +Left value or no SRH at all, and an inner Ethernet frame (protocol 143). +Other matching packets are dropped. + .B End.B6 srh segs .IR SEGMENTS " [ " .B hmac @@ -1450,6 +1465,12 @@ ip -6 route add 2001:db8:1::/64 encap seg6local action End.DT46 vrftable 100 dev Adds an IPv6 route with SRv6 decapsulation and forward with lookup in VRF table. .RE .PP +ip -6 route add fc00::100/128 encap seg6local action End.DT2U l2dev srl2-0 dev eth0 +.RS 4 +Adds an IPv6 route with SRv6 L2 decapsulation and local delivery of the +inner Ethernet frame on srl2-0. +.RE +.PP ip -6 route add 2001:db8:1::/64 encap seg6local action End flavors psp dev eth0 .RS 4 Adds an IPv6 route with SRv6 End behavior with psp flavor enabled. -- 2.20.1