Blame SOURCES/0160-man-ip-link.8-document-bridge-options.patch

4aca6e
From 5cc1ea2216d6b9bd26ed0a90db2ec5e045834c3c Mon Sep 17 00:00:00 2001
4aca6e
From: Phil Sutter <psutter@redhat.com>
4aca6e
Date: Wed, 5 Apr 2017 15:15:36 +0200
4aca6e
Subject: [PATCH] man: ip-link.8: document bridge options
4aca6e
4aca6e
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1373869
4aca6e
Upstream Status: iproute2.git commit 3fbb5d43bb759
4aca6e
4aca6e
commit 3fbb5d43bb759c7501404d8a92ae95e058c1763a
4aca6e
Author: Sabrina Dubroca <sd@queasysnail.net>
4aca6e
Date:   Tue Mar 28 17:56:48 2017 +0200
4aca6e
4aca6e
    man: ip-link.8: document bridge options
4aca6e
4aca6e
    Signed-off-by: Phil Sutter <phil@nwl.cc>
4aca6e
    Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
4aca6e
---
4aca6e
 man/man8/ip-link.8.in | 229 ++++++++++++++++++++++++++++++++++++++++++++++++++
4aca6e
 1 file changed, 229 insertions(+)
4aca6e
4aca6e
diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in
4aca6e
index 8030203..e4e95b7 100644
4aca6e
--- a/man/man8/ip-link.8.in
4aca6e
+++ b/man/man8/ip-link.8.in
4aca6e
@@ -778,6 +778,235 @@ using standard tools.
4aca6e
 .in -8
4aca6e
 
4aca6e
 .TP
4aca6e
+BRIDGE Type Support
4aca6e
+For a link of type
4aca6e
+.I BRIDGE
4aca6e
+the following additional arguments are supported:
4aca6e
+
4aca6e
+.BI "ip link add " DEVICE " type bridge "
4aca6e
+[
4aca6e
+.BI ageing_time " AGEING_TIME "
4aca6e
+] [
4aca6e
+.BI group_fwd_mask " MASK "
4aca6e
+] [
4aca6e
+.BI group_address " ADDRESS "
4aca6e
+] [
4aca6e
+.BI forward_delay " FORWARD_DELAY "
4aca6e
+] [
4aca6e
+.BI hello_time " HELLO_TIME "
4aca6e
+] [
4aca6e
+.BI max_age " MAX_AGE "
4aca6e
+] [
4aca6e
+.BI stp_state " STP_STATE "
4aca6e
+] [
4aca6e
+.BI priority " PRIORITY "
4aca6e
+] [
4aca6e
+.BI vlan_filtering " VLAN_FILTERING "
4aca6e
+] [
4aca6e
+.BI vlan_protocol " VLAN_PROTOCOL "
4aca6e
+] [
4aca6e
+.BI vlan_default_pvid " VLAN_DEFAULT_PVID "
4aca6e
+] [
4aca6e
+.BI vlan_stats_enabled " VLAN_STATS_ENABLED "
4aca6e
+] [
4aca6e
+.BI mcast_snooping " MULTICAST_SNOOPING "
4aca6e
+] [
4aca6e
+.BI mcast_router " MULTICAST_ROUTER "
4aca6e
+] [
4aca6e
+.BI mcast_query_use_ifaddr " MCAST_QUERY_USE_IFADDR "
4aca6e
+] [
4aca6e
+.BI mcast_querier " MULTICAST_QUERIER "
4aca6e
+] [
4aca6e
+.BI mcast_hash_elasticity " HASH_ELASTICITY "
4aca6e
+] [
4aca6e
+.BI mcast_hash_max " HASH_MAX "
4aca6e
+] [
4aca6e
+.BI mcast_last_member_count " LAST_MEMBER_COUNT "
4aca6e
+] [
4aca6e
+.BI mcast_startup_query_count " STARTUP_QUERY_COUNT "
4aca6e
+] [
4aca6e
+.BI mcast_last_member_interval " LAST_MEMBER_INTERVAL "
4aca6e
+] [
4aca6e
+.BI mcast_membership_interval " MEMBERSHIP_INTERVAL "
4aca6e
+] [
4aca6e
+.BI mcast_querier_interval " QUERIER_INTERVAL "
4aca6e
+] [
4aca6e
+.BI mcast_query_interval " QUERY_INTERVAL "
4aca6e
+] [
4aca6e
+.BI mcast_query_response_interval " QUERY_RESPONSE_INTERVAL "
4aca6e
+] [
4aca6e
+.BI mcast_startup_query_interval " STARTUP_QUERY_INTERVAL "
4aca6e
+] [
4aca6e
+.BI mcast_stats_enabled " MCAST_STATS_ENABLED "
4aca6e
+] [
4aca6e
+.BI mcast_igmp_version " IGMP_VERSION "
4aca6e
+] [
4aca6e
+.BI mcast_mld_version " MLD_VERSION "
4aca6e
+] [
4aca6e
+.BI nf_call_iptables " NF_CALL_IPTABLES "
4aca6e
+] [
4aca6e
+.BI nf_call_ip6tables " NF_CALL_IP6TABLES "
4aca6e
+] [
4aca6e
+.BI nf_call_arptables " NF_CALL_ARPTABLES "
4aca6e
+]
4aca6e
+
4aca6e
+.in +8
4aca6e
+.sp
4aca6e
+.BI ageing_time " AGEING_TIME "
4aca6e
+- configure the bridge's FDB entries ageing time, ie the number of seconds a MAC address will be kept in the FDB after a packet has been received from that address. after this time has passed, entries are cleaned up.
4aca6e
+
4aca6e
+.BI group_fwd_mask " MASK "
4aca6e
+- set the group forward mask. This is the bitmask that is applied to decide whether to forward incoming frames destined to link-local addresses, ie addresses of the form 01:80:C2:00:00:0X (defaults to 0, ie the bridge does not forward any link-local frames).
4aca6e
+
4aca6e
+.BI group_address " ADDRESS "
4aca6e
+- set the MAC address of the multicast group this bridge uses for STP.  The address must be a link-local address in standard Ethernet MAC address format, ie an address of the form 01:80:C2:00:00:0X, with X in [0, 4..f].
4aca6e
+
4aca6e
+.BI forward_delay " FORWARD_DELAY "
4aca6e
+- set the forwarding delay in seconds, ie the time spent in LISTENING state (before moving to LEARNING) and in LEARNING state (before moving to FORWARDING). Only relevant if STP is enabled. Valid values are between 2 and 30.
4aca6e
+
4aca6e
+.BI hello_time " HELLO_TIME "
4aca6e
+- set the time in seconds between hello packets sent by the bridge, when it is a root bridge or a designated bridges. Only relevant if STP is enabled. Valid values are between 1 and 10.
4aca6e
+
4aca6e
+.BI max_age " MAX_AGE "
4aca6e
+- set the hello packet timeout, ie the time in seconds until another bridge in the spanning tree is assumed to be dead, after reception of its last hello message. Only relevant if STP is enabled. Valid values are between 6 and 40.
4aca6e
+
4aca6e
+.BI stp_state " STP_STATE "
4aca6e
+- turn spanning tree protocol on
4aca6e
+.RI ( STP_STATE " > 0) "
4aca6e
+or off
4aca6e
+.RI ( STP_STATE " == 0). "
4aca6e
+for this bridge.
4aca6e
+
4aca6e
+.BI priority " PRIORITY "
4aca6e
+- set this bridge's spanning tree priority, used during STP root bridge election.
4aca6e
+.I PRIORITY
4aca6e
+is a 16bit unsigned integer.
4aca6e
+
4aca6e
+.BI vlan_filtering " VLAN_FILTERING "
4aca6e
+- turn VLAN filtering on
4aca6e
+.RI ( VLAN_FILTERING " > 0) "
4aca6e
+or off
4aca6e
+.RI ( VLAN_FILTERING " == 0). "
4aca6e
+When disabled, the bridge will not consider the VLAN tag when handling packets.
4aca6e
+
4aca6e
+.BR vlan_protocol " { " 802.1Q " | " 802.1ad " } "
4aca6e
+- set the protocol used for VLAN filtering.
4aca6e
+
4aca6e
+.BI vlan_default_pvid " VLAN_DEFAULT_PVID "
4aca6e
+- set the default PVID (native/untagged VLAN ID) for this bridge.
4aca6e
+
4aca6e
+.BI vlan_stats_enabled " VLAN_STATS_ENABLED "
4aca6e
+- enable
4aca6e
+.RI ( VLAN_STATS_ENABLED " == 1) "
4aca6e
+or disable
4aca6e
+.RI ( VLAN_STATS_ENABLED " == 0) "
4aca6e
+per-VLAN stats accounting.
4aca6e
+
4aca6e
+.BI mcast_snooping " MULTICAST_SNOOPING "
4aca6e
+- turn multicast snooping on
4aca6e
+.RI ( MULTICAST_SNOOPING " > 0) "
4aca6e
+or off
4aca6e
+.RI ( MULTICAST_SNOOPING " == 0). "
4aca6e
+
4aca6e
+.BI mcast_router " MULTICAST_ROUTER "
4aca6e
+- set bridge's multicast router if IGMP snooping is enabled.
4aca6e
+.I MULTICAST_ROUTER
4aca6e
+is an integer value having the following meaning:
4aca6e
+.in +8
4aca6e
+.sp
4aca6e
+.B 0
4aca6e
+- disabled.
4aca6e
+
4aca6e
+.B 1
4aca6e
+- automatic (queried).
4aca6e
+
4aca6e
+.B 2
4aca6e
+- permanently enabled.
4aca6e
+.in -8
4aca6e
+
4aca6e
+.BI mcast_query_use_ifaddr " MCAST_QUERY_USE_IFADDR "
4aca6e
+- whether to use the bridge's own IP address as source address for IGMP queries
4aca6e
+.RI ( MCAST_QUERY_USE_IFADDR " > 0) "
4aca6e
+or the default of 0.0.0.0
4aca6e
+.RI ( MCAST_QUERY_USE_IFADDR " == 0). "
4aca6e
+
4aca6e
+.BI mcast_querier " MULTICAST_QUERIER "
4aca6e
+- enable
4aca6e
+.RI ( MULTICAST_QUERIER " > 0) "
4aca6e
+or disable
4aca6e
+.RI ( MULTICAST_QUERIER " == 0) "
4aca6e
+IGMP querier, ie sending of multicast queries by the bridge (default: disabled).
4aca6e
+
4aca6e
+.BI mcast_querier_interval " QUERIER_INTERVAL "
4aca6e
+- interval between queries sent by other routers. if no queries are seen after this delay has passed, the bridge will start to send its own queries (as if
4aca6e
+.BI mcast_querier
4aca6e
+was enabled).
4aca6e
+
4aca6e
+.BI mcast_hash_elasticity " HASH_ELASTICITY "
4aca6e
+- set multicast database hash elasticity, ie the maximum chain length in the multicast hash table (defaults to 4).
4aca6e
+
4aca6e
+.BI mcast_hash_max " HASH_MAX "
4aca6e
+- set maximum size of multicast hash table (defaults to 512, value must be a power of 2).
4aca6e
+
4aca6e
+.BI mcast_last_member_count " LAST_MEMBER_COUNT "
4aca6e
+- set multicast last member count, ie the number of queries the bridge will send before stopping forwarding a multicast group after a "leave" message has been received (defaults to 2).
4aca6e
+
4aca6e
+.BI mcast_last_member_interval " LAST_MEMBER_INTERVAL "
4aca6e
+- interval between queries to find remaining members of a group, after a "leave" message is received.
4aca6e
+
4aca6e
+.BI mcast_startup_query_count " STARTUP_QUERY_COUNT "
4aca6e
+- set the number of IGMP queries to send during startup phase (defaults to 2).
4aca6e
+
4aca6e
+.BI mcast_startup_query_interval " STARTUP_QUERY_INTERVAL "
4aca6e
+- interval between queries in the startup phase.
4aca6e
+
4aca6e
+.BI mcast_query_interval " QUERY_INTERVAL "
4aca6e
+- interval between queries sent by the bridge after the end of the startup phase.
4aca6e
+
4aca6e
+.BI mcast_query_response_interval " QUERY_RESPONSE_INTERVAL "
4aca6e
+- set the Max Response Time/Maximum Response Delay for IGMP/MLD queries sent by the bridge.
4aca6e
+
4aca6e
+.BI mcast_membership_interval " MEMBERSHIP_INTERVAL "
4aca6e
+- delay after which the bridge will leave a group, if no membership reports for this group are received.
4aca6e
+
4aca6e
+.BI mcast_stats_enabled " MCAST_STATS_ENABLED "
4aca6e
+- enable
4aca6e
+.RI ( MCAST_STATS_ENABLED " > 0) "
4aca6e
+or disable
4aca6e
+.RI ( MCAST_STATS_ENABLED " == 0) "
4aca6e
+multicast (IGMP/MLD) stats accounting.
4aca6e
+
4aca6e
+.BI mcast_igmp_version " IGMP_VERSION "
4aca6e
+- set the IGMP version.
4aca6e
+
4aca6e
+.BI mcast_mld_version " MLD_VERSION "
4aca6e
+- set the MLD version.
4aca6e
+
4aca6e
+.BI nf_call_iptables " NF_CALL_IPTABLES "
4aca6e
+- enable
4aca6e
+.RI ( NF_CALL_IPTABLES " > 0) "
4aca6e
+or disable
4aca6e
+.RI ( NF_CALL_IPTABLES " == 0) "
4aca6e
+iptables hooks on the bridge.
4aca6e
+
4aca6e
+.BI nf_call_ip6tables " NF_CALL_IP6TABLES "
4aca6e
+- enable
4aca6e
+.RI ( NF_CALL_IP6TABLES " > 0) "
4aca6e
+or disable
4aca6e
+.RI ( NF_CALL_IP6TABLES " == 0) "
4aca6e
+ip6tables hooks on the bridge.
4aca6e
+
4aca6e
+.BI nf_call_arptables " NF_CALL_ARPTABLES "
4aca6e
+- enable
4aca6e
+.RI ( NF_CALL_ARPTABLES " > 0) "
4aca6e
+or disable
4aca6e
+.RI ( NF_CALL_ARPTABLES " == 0) "
4aca6e
+arptables hooks on the bridge.
4aca6e
+
4aca6e
+
4aca6e
+.in-8
4aca6e
+
4aca6e
+.TP
4aca6e
 MACsec Type Support
4aca6e
 For a link of type
4aca6e
 .I MACsec
4aca6e
-- 
4aca6e
1.8.3.1
4aca6e