From b71594f1e7655387f2623b903a6319e1536920b1 Mon Sep 17 00:00:00 2001 From: kn Date: Sun, 26 Jul 2020 18:34:11 +0000 Subject: Document aggr(4) in the TRUNK section Complete the synopsis while here. Feedback OK jmc --- sbin/ifconfig/ifconfig.8 | 19 +++++++++++++------ 1 file 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. -- cgit v1.2.3