diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2018-04-03 02:56:58 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2018-04-03 02:56:58 +0000 |
commit | e6d3f5c6072959fb6ae3b94397ecfba08c29f603 (patch) | |
tree | 9442b4771546cbf81cf49798bb54a11658fb1a4d | |
parent | 343f6f5ab7c85bd12145146343d45ad15ef4afd5 (diff) |
document the use of llprio for tranmistted packets with link0
-rw-r--r-- | share/man/man4/vlan.4 | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/share/man/man4/vlan.4 b/share/man/man4/vlan.4 index 13b7e714ccd..00881e4d257 100644 --- a/share/man/man4/vlan.4 +++ b/share/man/man4/vlan.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: vlan.4,v 1.47 2018/03/18 03:37:51 lteo Exp $ +.\" $OpenBSD: vlan.4,v 1.48 2018/04/03 02:56:57 dlg Exp $ .\" .\" Copyright (c) 2000 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 18 2018 $ +.Dd $Mdocdate: April 3 2018 $ .Dt VLAN 4 .Os .Sh NAME @@ -83,12 +83,19 @@ interfaces by their respective protocol and virtual network identifiers, and decapsulated for reception on the associated virtual interfaces. .Pp -The 802.1Q and 802.1ad protocols include a priority field which may +The 802.1Q and 802.1ad protocols include a priority field. +By default, the priority of transmitted packet is based on the +priority of packets sent over the interface, which may be altered via .Xr pf.conf 5 ; see the .Cm prio option for more information. +Alternatively, the +.Cm link0 +flag may be set use the interfaces +.Cm llprio +value for transmitted packets. .Pp .Nm vlan and @@ -172,6 +179,13 @@ Remove a custom MAC address from an 802.1Q VLAN interface: .Bd -literal -offset indent # ifconfig vlan0 lladdr 00:00:00:00:00:00 .Ed +.Pp +Force the use of priority 1 for transmitted packets, regardless of +the packet priority: +.Bd -literal -offset indent +# ifconfig vlan0 llprio 1 +# ifconfig vlan0 link0 +.Ed .Sh SEE ALSO .Xr inet 4 , .Xr ip 4 , |