1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00
CumulusNetworks-ifupdown2/docs/examples/interfaces_bridge_igmp_mstp
Julien Fortin 594fb088e8 small easy: support (0|1) or (off|on) attribute while keeping backward compatibility
Ticket: CM-8866
Reviewed By: Roopa
Testing Done:

added support for:
* bond-lacp-bypass-allow (0|1)
* bond-use-carrier (0|1)
* bridge-mcqifaddr (0|1)
* bridge-mcquerier (0|1)
* bridge-mcrouter (0|1)
* bridge-mcsnoop (0|1)
* bridge-portmcrouter (0|1)
* link-autoneg (off|on)
* vxlan-learning (off|on)

these 2 are not yet supported by ifupdown2:
* bond-lacp-bypass-all-active (0|1)
* bond-lacp-fallback-allow (0|1)

This one is left untouched. yes/no doesn't make sense for this attribute.
* bond-lacp-rate (0|1)

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
2016-06-16 03:37:36 +01:00

49 lines
1.7 KiB
Plaintext

#
# This example lists all attributes for bridge configuration.
# The attributes with mstpctl- prefix indicate mstp settings on a bridge.
# The attributes with bridge- prefix indicate bridge stp and igmp attributes.
# Except bridge-ports, none of the other attributes are required. Default
# values are documented in the ifupdown-addons-interfaces(5) man page.
#
# The bridge in the example below is a vlan unaware bridge (classic linux
# bridge)
#
auto br-300
iface br-300 inet static
address 12.0.0.3/24
bridge-ports swp13.300 swp14.300
bridge-stp on
mstpctl-maxage 20
mstpctl-fdelay 15
mstpctl-maxhops 20
mstpctl-txholdcount 6
mstpctl-forcevers rstp
mstpctl-portpathcost swp13.300=0 swp14.300=0
mstpctl-portadminedge swp13.300=no swp14.300=no
mstpctl-portautoedge swp13.300=yes swp14.300=yes
mstpctl-portp2p swp13.300=no swp13.300=no
mstpctl-portrestrrole swp13.300=no swp14.300=no
mstpctl-bpduguard swp13.300=no swp14.300=no
mstpctl-portrestrtcn swp13.300=no swp14.300=no
mstpctl-treeprio 32768
mstpctl-treeportprio swp13.300=128
mstpctl-hello 2
mstpctl-portnetwork swp13.300=no
bridge-mclmc 3
bridge-mcrouter no
bridge-mcsnoop yes
bridge-mcsqc 3
bridge-mcqifaddr yes
bridge-mcquerier yes
bridge-hashel 3
bridge-hashmax 4
bridge-mclmi 3
bridge-mcmi 200
bridge-mcqpi 200
bridge-mcqi 100
bridge-mcqri 20
bridge-mcsqi 50
bridge-portmcrouter swp13.300=0
bridge-portmcfl swp13.300=1