summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkn <kn@cvs.openbsd.org>2020-07-26 18:34:11 +0000
committerkn <kn@cvs.openbsd.org>2020-07-26 18:34:11 +0000
commitb71594f1e7655387f2623b903a6319e1536920b1 (patch)
treef86dd1cbc6a5aeabca5cdf2fda37e01ac72659e1
parent3b03ff0c33d9bcfb2f9c74c915a5a544caaa65e8 (diff)
Document aggr(4) in the TRUNK section
Complete the synopsis while here. Feedback OK jmc
-rw-r--r--sbin/ifconfig/ifconfig.819
1 files changed, 13 insertions, 6 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index 10111bf2c45..225d0f3e8fe 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifconfig.8,v 1.352 2020/06/27 17:46:29 jmc Exp $
+.\" $OpenBSD: ifconfig.8,v 1.353 2020/07/26 18:34:10 kn Exp $
.\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $
.\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $
.\"
@@ -31,7 +31,7 @@
.\"
.\" @(#)ifconfig.8 8.4 (Berkeley) 6/1/94
.\"
-.Dd $Mdocdate: June 27 2020 $
+.Dd $Mdocdate: July 26 2020 $
.Dt IFCONFIG 8
.Os
.Sh NAME
@@ -181,6 +181,7 @@ The default broadcast address is the address with a host part of all 1's.
Create the specified network pseudo-device.
At least the following devices can be created on demand:
.Pp
+.Xr aggr 4 ,
.Xr bridge 4 ,
.Xr carp 4 ,
.Xr egre 4 ,
@@ -1759,15 +1760,19 @@ from all protected domains.
.It Cm up
Start the switch processing packets.
.El
-.Sh TRUNK
+.Sh TRUNK (LINK AGGREGATION)
.Nm ifconfig
.Ar trunk-interface
+.Op Cm lacpmode Cm active Ns | Ns Cm passive
+.Op Cm lacptimeout Cm fast Ns | Ns Cm slow
.Op Oo Fl Oc Ns Cm trunkport Ar child-iface
.Op Cm trunkproto Ar proto
.Pp
-The following options are available for a
+The following options are available for
+.Xr aggr 4
+and
.Xr trunk 4
-interface:
+interfaces:
.Bl -tag -width Ds
.It Cm lacpmode Cm active Ns | Ns Cm passive
Set the LACP trunk mode to either
@@ -1787,7 +1792,9 @@ as a trunk port.
Remove the trunk port
.Ar child-iface .
.It Cm trunkproto Ar proto
-Set the trunk protocol.
+Set the link aggregation protocol on
+.Xr trunk 4
+interfaces.
Refer to
.Xr trunk 4
for a complete list of the available protocols.