summaryrefslogtreecommitdiff
path: root/sbin/ifconfig/ifconfig.8
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2006-01-05 15:00:11 +0000
committerEsben Norby <norby@cvs.openbsd.org>2006-01-05 15:00:11 +0000
commit12d46410b24594e86a66a75c67a567031633a8ee (patch)
treeaefc04d742a796ba1d3e25ca42fdb68b0a2ece40 /sbin/ifconfig/ifconfig.8
parent4a645563e64f75d2a9f3bd6fe3f20a9c64e30021 (diff)
Make it possible to set a default vlan priority to a vlan interface.
ok claudio@ brad@
Diffstat (limited to 'sbin/ifconfig/ifconfig.8')
-rw-r--r--sbin/ifconfig/ifconfig.812
1 files changed, 11 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index 79e29c4fe24..5b140eebfbc 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifconfig.8,v 1.113 2005/12/29 19:35:12 reyk Exp $
+.\" $OpenBSD: ifconfig.8,v 1.114 2006/01/05 15:00:10 norby 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 $
.\"
@@ -108,6 +108,8 @@
.Ar vlan-interface
.Cm vlan
.Ar vlan-tag
+.Cm vlanprio
+.Ar vlan-priority
.Cm vlandev
.Ar parent-interface
.Sh DESCRIPTION
@@ -739,6 +741,14 @@ Note that
and
.Cm vlandev
must both be set at the same time.
+.It Cm vlanprio Ar vlan-priority
+If the interface is a
+.Xr vlan 4
+pseudo-interface, set the vlan priority value
+to
+.Ar vlan-priority .
+This value is a 3-bit number which is used to create an 802.1Q
+vlan header for packets sent from the vlan interface.
.It Cm vlandev Ar iface
If the interface is a
.Xr vlan 4