-
Notifications
You must be signed in to change notification settings - Fork 0
/
vconfig.8
68 lines (63 loc) · 2.39 KB
/
vconfig.8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.TH VCONFIG 8
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
.\" other parms are allowed: see man(7), man(1)
.SH NAME
vconfig \- VLAN (802.1q) configuration program.
.SH SYNOPSIS
.B vconfig
.I [lots of long options]
.SH "DESCRIPTION"
The
.B vconfig
program allows you to create and remove vlan\-devices on a vlan enabled
kernel. Vlan\-devices are virtual ethernet devices which represents the
virtual lans on the physical lan.
.SH OPTIONS
.TP
.B add [interface\-name] [vlan\-id]
Creates a vlan-device on [interface\-name]. The resulting vlan\-device
will be called according to the nameing convention set.
.TP
.B rem [vlan\-device]
Removes the named vlan\-device.
.TP
.B set_flag [vlan\-device] 0 | 1
When 1, ethernet header reorders are turned on. Dumping the device
will appear as a common ethernet device without vlans. When 0(default)
however, ethernet headers are not reordered, which results in vlan tagged
packets when dumping the device. Usually the default gives no problems,
but some packet filtering programs might have problems with it.
.TP
.B set_egress_map [vlan\-device] [skb\-priority] [vlan\-qos]
This flags that outbound packets with a particular skb\-priority should
be tagged with the particular vlan priority vlan\-qos. The default vlan
priority is 0.
.TP
.B set_ingress_map [vlan\-device] [skb\-priority] [vlan\-qos]
This flags that inbound packets with the particular vlan priority
vlan\-qos should be queued with a particular skb\-priority. The default
skb\-priority is 0.
.TP
.B set_name_type VLAN_PLUS_VID | VLAN_PLUS_VID_NO_PAD | DEV_PLUS_VID | DEV_PLUS_VID_NO_PAD
Sets the way vlan\-device names are created. Use vconfig without arguments
to see the different formats.
.TP
.SH NOTES
VLAN will use Broadcom's NICE interface when the network device supports
it. This is necessary, since usually the hardware of these devices already
removes the vlan tag from the ethernet packet. The set_flag option on
vlan\-devices created on such a physical network device will be ignored.
Dumping the network\-device will show only untagged(non-vlan) traffic,
and dumping the vlan\-devices will only show traffic intended for that
vlan, without the tags.
.br
.SH FILES
.I /proc/net/vlan/config
.br
.I /proc/net/vlan/[vlan\-device]
.SH SEE ALSO
ip(8), ifconfig(8)
.SH AUTHORS
This manual page was written by Ard van Breemen <[email protected]>
.br
The vlan patch is written by Ben Greear <[email protected]>