]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
man8/ip-link.8: add locked port feature description and cmd syntax
authorHans Schultz <schultz.hans@gmail.com>
Mon, 28 Feb 2022 13:36:50 +0000 (14:36 +0100)
committerDavid Ahern <dsahern@kernel.org>
Fri, 4 Mar 2022 16:17:31 +0000 (09:17 -0700)
Signed-off-by: Hans Schultz <schultz.hans+netdev@gmail.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
man/man8/ip-link.8.in

index 5f5b835cb2e335b68c4e3ace7bfd40683ae1c67b..822904d0d3829970606386b4fb5ea07095b2dd26 100644 (file)
@@ -2391,6 +2391,7 @@ the following additional arguments are supported:
 ] [
 .BR isolated " { " on " | " off " }"
 ] [
+.BR locked " { " on " | " off " }"
 .BR backup_port " DEVICE"
 ] [
 .BR nobackup_port " ]"
@@ -2488,6 +2489,11 @@ is enabled on the port. By default this flag is off.
 - controls whether vlan to tunnel mapping is enabled on the port. By
 default this flag is off.
 
+.BR locked " { " on " | " off " }"
+- sets or unsets a port in locked mode, so that when enabled, hosts
+behind the port cannot communicate through the port unless a FDB entry
+representing the host is in the FDB. By default this flag is off.
+
 .BI backup_port " DEVICE"
 - if the port loses carrier all traffic will be redirected to the
 configured backup port