|
|
5ebd6f |
From ab56f5d7a75d14a420b166b84e1d4afb980ea263 Mon Sep 17 00:00:00 2001
|
|
|
5ebd6f |
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk@redhat.com>
|
|
|
5ebd6f |
Date: Fri, 8 Nov 2013 12:47:45 +0900
|
|
|
5ebd6f |
Subject: [PATCH] iproute2: Document type vlan option in ip-link(8)
|
|
|
5ebd6f |
MIME-Version: 1.0
|
|
|
5ebd6f |
Content-Type: text/plain; charset=UTF-8
|
|
|
5ebd6f |
Content-Transfer-Encoding: 8bit
|
|
|
5ebd6f |
|
|
|
5ebd6f |
This patch adds the VLAN Type support section to the ip-link
|
|
|
5ebd6f |
manual page.
|
|
|
5ebd6f |
|
|
|
5ebd6f |
Signed-off-by: Petr Ĺ abata <contyk@redhat.com>
|
|
|
5ebd6f |
---
|
|
|
5ebd6f |
man/man8/ip-link.8.in | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
|
5ebd6f |
1 file changed, 59 insertions(+)
|
|
|
5ebd6f |
|
|
|
5ebd6f |
diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in
|
|
|
5ebd6f |
index 8b68c78..4eddbcd 100644
|
|
|
5ebd6f |
--- a/man/man8/ip-link.8.in
|
|
|
5ebd6f |
+++ b/man/man8/ip-link.8.in
|
|
|
5ebd6f |
@@ -213,6 +213,65 @@ specifies the number of transmit queues for new device.
|
|
|
5ebd6f |
specifies the number of receive queues for new device.
|
|
|
5ebd6f |
|
|
|
5ebd6f |
.TP
|
|
|
5ebd6f |
+VLAN Type Support
|
|
|
5ebd6f |
+For a link of type
|
|
|
5ebd6f |
+.I VLAN
|
|
|
5ebd6f |
+the following additional arguments are supported:
|
|
|
5ebd6f |
+
|
|
|
5ebd6f |
+.BI "ip link add link " DEVICE
|
|
|
5ebd6f |
+.BI name " NAME "
|
|
|
5ebd6f |
+.BI type " vlan "
|
|
|
5ebd6f |
+.R " [ "
|
|
|
5ebd6f |
+.BI protocol " VLAN_PROTO "
|
|
|
5ebd6f |
+.R " ] "
|
|
|
5ebd6f |
+.BI id " VLANID "
|
|
|
5ebd6f |
+.R " [ "
|
|
|
5ebd6f |
+.BR reorder_hdr " { " on " | " off " } "
|
|
|
5ebd6f |
+.R " ] "
|
|
|
5ebd6f |
+.R " [ "
|
|
|
5ebd6f |
+.BR gvrp " { " on " | " off " } "
|
|
|
5ebd6f |
+.R " ] "
|
|
|
5ebd6f |
+.R " [ "
|
|
|
5ebd6f |
+.BR mvrp " { " on " | " off " } "
|
|
|
5ebd6f |
+.R " ] "
|
|
|
5ebd6f |
+.R " [ "
|
|
|
5ebd6f |
+.BR loose_binding " { " on " | " off " } "
|
|
|
5ebd6f |
+.R " ] "
|
|
|
5ebd6f |
+.R " [ "
|
|
|
5ebd6f |
+.BI ingress-qos-map " QOS-MAP "
|
|
|
5ebd6f |
+.R " ] "
|
|
|
5ebd6f |
+.R " [ "
|
|
|
5ebd6f |
+.BI egress-qos-map " QOS-MAP "
|
|
|
5ebd6f |
+.R " ] "
|
|
|
5ebd6f |
+
|
|
|
5ebd6f |
+.in +8
|
|
|
5ebd6f |
+.sp
|
|
|
5ebd6f |
+.BI protocol " VLAN_PROTO "
|
|
|
5ebd6f |
+- either 802.1Q or 802.1ad.
|
|
|
5ebd6f |
+
|
|
|
5ebd6f |
+.BI id " VLANID "
|
|
|
5ebd6f |
+- specifies the VID.
|
|
|
5ebd6f |
+
|
|
|
5ebd6f |
+.BR reorder_hdr " { " on " | " off " } "
|
|
|
5ebd6f |
+- specifies whether ethernet headers are reordered or not.
|
|
|
5ebd6f |
+
|
|
|
5ebd6f |
+.BR gvrp " { " on " | " off " } "
|
|
|
5ebd6f |
+- specifies whether this VLAN should be registered using GARP VLAN Registration Protocol.
|
|
|
5ebd6f |
+
|
|
|
5ebd6f |
+.BR mvrp " { " on " | " off " } "
|
|
|
5ebd6f |
+- specifies whether this VLAN should be registered using Multiple VLAN Registration Protocol.
|
|
|
5ebd6f |
+
|
|
|
5ebd6f |
+.BR loose_binding " { " on " | " off " } "
|
|
|
5ebd6f |
+- specifies whether the VLAN device state is bound to the physical device state.
|
|
|
5ebd6f |
+
|
|
|
5ebd6f |
+.BI ingress-qos-map " QOS-MAP "
|
|
|
5ebd6f |
+- defines a mapping between priority code points on incoming frames. The format is FROM:TO with multiple mappings separated by spaces.
|
|
|
5ebd6f |
+
|
|
|
5ebd6f |
+.BI egress-qos-map " QOS-MAP "
|
|
|
5ebd6f |
+- the same as ingress-qos-map but for outgoing frames.
|
|
|
5ebd6f |
+.in -8
|
|
|
5ebd6f |
+
|
|
|
5ebd6f |
+.TP
|
|
|
5ebd6f |
VXLAN Type Support
|
|
|
5ebd6f |
For a link of type
|
|
|
5ebd6f |
.I VXLAN
|
|
|
5ebd6f |
--
|
|
|
5ebd6f |
1.8.3.1
|
|
|
5ebd6f |
|