]> git.proxmox.com Git - mirror_ifupdown2.git/blame - ifupdown2/docs/examples/interfaces_bridge_igmp_mstp
Merge 'vlan filtering bridge + vxlan + mlag + vrr' support from internal
[mirror_ifupdown2.git] / ifupdown2 / docs / examples / interfaces_bridge_igmp_mstp
CommitLineData
2c8c4ce7
RP
1
2#
3# This example lists all attributes for bridge configuration.
4# The attributes with mstpctl- prefix indicate mstp settings on a bridge.
5# The attributes with bridge- prefix indicate bridge stp and igmp attributes.
6# Except bridge-ports, none of the other attributes are required. Default
7# values are documented in the ifupdown-addons-interfaces(5) man page.
8#
f82758bf
RP
9# The bridge in the example below is a vlan unaware bridge (classic linux
10# bridge)
11#
2c8c4ce7
RP
12auto br-300
13iface br-300 inet static
14 address 12.0.0.3/24
15 bridge-ports swp13.300 swp14.300
16 bridge-stp on
17 mstpctl-maxage 20
18 mstpctl-fdelay 15
19 mstpctl-maxhops 20
20 mstpctl-txholdcount 6
21 mstpctl-forcevers rstp
22 mstpctl-portpathcost swp13.300=0 swp14.300=0
23 mstpctl-portadminedge swp13.300=no swp14.300=no
24 mstpctl-portautoedge swp13.300=yes swp14.300=yes
25 mstpctl-portp2p swp13.300=no swp13.300=no
26 mstpctl-portrestrrole swp13.300=no swp14.300=no
27 mstpctl-bpduguard swp13.300=no swp14.300=no
28 mstpctl-portrestrtcn swp13.300=no swp14.300=no
29 mstpctl-treeprio 32768
30 mstpctl-treeportprio swp13.300=128
31 mstpctl-hello 2
32 mstpctl-portnetwork swp13.300=no
33 bridge-mclmc 3
34 bridge-mcrouter 0
35 bridge-mcsnoop 1
36 bridge-mcsqc 3
37 bridge-mcqifaddr 1
38 bridge-mcquerier 1
39 bridge-hashel 3
40 bridge-hashmax 4
41 bridge-mclmi 3
42 bridge-mcmi 200
43 bridge-mcqpi 200
44 bridge-mcqi 100
45 bridge-mcqri 20
46 bridge-mcsqi 50
47 bridge-portmcrouter swp13.300=0
48 bridge-portmcfl swp13.300=1