{
    "content": [
        {
            "type": "text",
            "text": "# vconfig(8) (man)\n\n**Summary:** vconfig - VLAN (802.1q) configuration program.\n\n**Synopsis:** vconfig [lots of long options]\n\n## See Also\n\n- ip(8)\n- ifconfig(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (4 lines)\n- **OPTIONS** (1 lines) — 2 subsections\n  - add [interface-name] [vlan-id] (3 lines)\n  - rem [vlan-device] (33 lines)\n- **FILES** (4 lines)\n- **SEE ALSO** (2 lines)\n- **AUTHORS** (6 lines)\n\n## Full Content\n\n### NAME\n\nvconfig - VLAN (802.1q) configuration program.\n\n### SYNOPSIS\n\nvconfig [lots of long options]\n\n### DESCRIPTION\n\nThe  vconfig  program  allows you to create and remove vlan-devices on a vlan enabled kernel.\nVlan-devices are virtual ethernet devices which represents the virtual lans on  the  physical\nlan.\n\n### OPTIONS\n\n#### add [interface-name] [vlan-id]\n\nCreates  a  vlan-device  on [interface-name]. The resulting vlan-device will be called\naccording to the nameing convention set.\n\n#### rem [vlan-device]\n\nRemoves the named vlan-device.\n\nsetflag [vlan-device] 0 | 1\nWhen 1 (the default since 2.6.18), ethernet header reorders are  turned  on.   Dumping\nthe device will appear as a common ethernet device without vlans. When 0 however, eth‐\nernet headers are not reordered, which results in vlan tagged packets when dumping the\ndevice.  Usually  the  default  gives  no problems, but some packet filtering programs\nmight have problems with it.\n\n\nsetegressmap [vlan-device] [skb-priority] [vlan-qos]\nThis flags that outbound packets with a particular skb-priority should be tagged  with\nthe particular vlan priority vlan-qos. The default vlan priority is 0.\n\n\nsetingressmap [vlan-device] [skb-priority] [vlan-qos]\nThis  flags  that inbound packets with the particular vlan priority vlan-qos should be\nqueued with a particular skb-priority. The default skb-priority is 0.\n\n\nsetnametype VLANPLUSVID | VLANPLUSVIDNOPAD | DEVPLUSVID | DEVPLUSVIDNOPAD\nSets the way vlan-device names are created. Use vconfig without arguments to  see  the\ndifferent formats.\n\n\n\nNOTES  VLAN  will  use Broadcom's NICE interface when the network device supports it. This is\nnecessary, since usually the hardware of these devices already removes  the  vlan  tag\nfrom the ethernet packet. The setflag option on vlan-devices created on such a physi‐\ncal network device will be ignored.  Dumping the network-device  will  show  only  un‐\ntagged(non-vlan) traffic, and dumping the vlan-devices will only show traffic intended\nfor that vlan, without the tags.\n\n### FILES\n\n/proc/net/vlan/config\n/proc/net/vlan/[vlan-device]\n\n### SEE ALSO\n\nip(8), ifconfig(8)\n\n### AUTHORS\n\nThis manual page was written by Ard van Breemen <ard@kwaak.net>\nThe vlan patch is written by Ben Greear <greearb@candelatech.com>\n\n\n\nVCONFIG(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "vconfig",
        "section": "8",
        "mode": "man",
        "summary": "vconfig - VLAN (802.1q) configuration program.",
        "synopsis": "vconfig [lots of long options]",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "ip",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/ip/8/json"
            },
            {
                "name": "ifconfig",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/ifconfig/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "add [interface-name] [vlan-id]",
                        "lines": 3
                    },
                    {
                        "name": "rem [vlan-device]",
                        "lines": 33
                    }
                ]
            },
            {
                "name": "FILES",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}