IFUPDOWN-ADDONS-INTERFACES(5) | File Formats Manual | IFUPDOWN-ADDONS-INTERFACES(5) |
NAME¶
ifupdown-addons-interfaces - ifupdown2 addon modules interface configuration
DESCRIPTION¶
All installed addon modules are executed on every interface listed in the interfaces file. Addon modules are installed under /usr/share/ifupdownaddons. To see the list of active addon modules, see ifaddon(8).
Addon modules add new attributes to the interfaces(5) file. Below is a list of attribute options provided by each module. These can be listed under each iface section in the interfaces(5) file.
EXAMPLES¶
ethtool: ethtool configuration module for interfaces
link-autoneg
link-speed
bridge: Bridge configuration module. Supports both vlan aware and non vlan aware bridges. For the vlan aware bridge, the port sp ecific attributes must be specified under the port. And for vlan u naware bridge port specific attributes must be specified under the bridge.
required: False
- example:
- bridge-vlan-aware yes/no
bridge-pathcosts
required: False
default: 100
- example:
- bridge-pathcosts swp1=100 swp2=100
bridge-portprios
bridge-fd
bridge-ageing
bridge-hello
bridge-gcint
bridge-mcquerier
required: False
default: no
validvals: yes,no
- example:
- bridge-mcquerier no
bridge-mclmc
bridge-mcsqc
bridge-mcrouter
required: False
default: yes
validvals: yes,no
- example:
- bridge-mcrouter yes
bridge-stp
bridge-pvid
required: False
- example:
- bridge-pvid 1
bridge-mcsqi
required: False
default: 31
- example:
- bridge-mcsqi 31
bridge-mcmi
required: False
default: 260
- example:
- bridge-mcmi 260
bridge-mclmi
required: False
default: 1
- example:
- bridge-mclmi 1
bridge-vids
required: False
- example:
- bridge-vids 4000
bridge-vids 2000 2200-3000
bridge-ports
required: True
- example:
- bridge-ports swp1.100 swp2.100 swp3.100
bridge-ports glob swp1-3.100
bridge-ports glob swp[1-3]s[0-4].100
bridge-ports regex (swp[1|2|3].100)
bridge-mcqifaddr
required: False
default: no
validvals: yes,no
- example:
- bridge-mcqifaddr no
bridge-waitport
required: False
default: 0
- example:
- bridge-waitport 4 swp1 swp2
bridge-mcqri
required: False
default: 10
- example:
- bridge-mcqri 10
bridge-hashel
bridge-mcqpi
required: False
default: 255
- example:
- bridge-mcqpi 255
bridge-hashmax
bridge-bridgeprio
bridge-maxage
bridge-mcsnoop
required: False
default: yes
validvals: yes,no
- example:
- bridge-mcsnoop yes
bridge-access
required: False
- example:
- bridge-access 300
bridge-maxwait
required: False
default: 0
- example:
- bridge-maxwait 3
bridge-portmcrouter
required: False
default: 1
- example:
- under the bridge: bridge-portmcrouter swp1=1 swp2=1
under the port: bridge-portmcrouter 1
bridge-portmcfl
required: False
default: 0
- example:
- under the bridge: bridge-portmcfl swp1=0 swp2=0
under the port: bridge-portmcfl 0
bridge-mcqi
usercmds: user commands for interfaces
required: False
post-up
required: False
up
required: False
pre-down
required: False
pre-up
required: False
post-down
required: False
mstpctl: mstp configuration module for bridges
required: False
default: no
validvals: yes,no
- example:
- mstpctl-portadminedge swp1=no swp2=no
mstpctl-portbpdufilter
required: False
default: no
validvals: yes,no
- example:
- under a bridge: mstpctl-portbpdufilter swp1=no swp2=no
under a port: mstpctl-portbpdufilter yes
mstpctl-fdelay
mstpctl-portnetwork
required: False
default: no
validvals: yes,no
- example:
- mstpctl-portnetwork swp1=no swp2=no
mstpctl-txholdcount
mstpctl-forcevers
mstpctl-portautoedge
required: False
default: yes
validvals: yes,no
- example:
- mstpctl-portautoedge swp1=yes swp2=yes
mstpctl-maxhops
mstpctl-treeprio
required: False
default: 32768
validrange: 0-65535
- example:
- mstpctl-treeprio 32768
mstpctl-treeportprio
required: False
default: 128
validrange: 0-240
- example:
- mstpctl-treeportprio swp1=128 swp2=128
mstpctl-portpathcost
mstpctl-portrestrtcn
required: False
default: no
validvals: yes,no
- example:
- mstpctl-portrestrtcn swp1=no swp2=no
mstpctl-maxage
mstpctl-hello
mstpctl-portrestrrole
required: False
default: no
validvals: yes,no
- example:
- mstpctl-portrestrrole swp1=no swp2=no
mstpctl-bpduguard
required: False
default: no
validvals: yes,no
- example:
- mstpctl-bpduguard swp1=no swp2=no
mstpctl-ageing
mstpctl-treeportcost
required: False
mstpctl-portp2p
required: False
default: auto
validvals: yes,no,auto
- example:
- mstpctl-portp2p swp1=no swp2=no
clagd: This module generates the clagd defaults file.
clagd-backup-ip
clagd-enable
clag-id
clagd-peer-ip
clagd-sys-mac
clagd-args
required: False
- example:
- clagd-args --log /var/log/clagd.log
clagd-args --verbose --lacpPoll 10
clagd-args --debug 0x4
vlan: vlan module configures vlan interfaces.This module under stands vlan interfaces with dot notations. eg swp1.100. Vlan inter faces with any other names need to have raw device and vlan id att ributes
required: False
vlan-raw-device
required: False
bridgevlan: bridgevlan module configures vlan attributes on a vlan aware bridge. This module only understands vlan interface name with dot notations. eg br0.100. where br0 is the vlan aware bridge this config is for.
required: False
- example:
- bridge-igmp-querier-src 172.16.101.1
bond: bond configuration module
bond-lacp-bypass-period
required: False
default: 0
validrange: 0-900
- example:
- bond-lacp-bypass-period 100
bond-miimon
bond-lacp-rate
bond-lacp-bypass-priority
required: False
- example:
- bond-lacp-bypass-priority swp1=1 swp2=1 swp3=2
bond-min-links
bond-slaves
required: True
- example:
- bond-slaves swp1 swp2
bond-slaves glob swp1-2
bond-slaves regex (swp[1|2)
bond-lacp-bypass-allow
required: False
default: no
validvals: yes,no
- example:
- bond-lacp-bypass-allow no
bond-mode
required: False
default: balance-rr
validvals: balance-rr,active-backup,balance-xor,broadcast,802.3ad,balance-tlb,balance-alb
- example:
- bond-mode 802.3ad
bond-num-unsol-na
bond-ad-sys-priority
bond-xmit-hash-policy
required: False
default: layer2
validvals: layer2,layer3+4,layer2+3
- example:
- bond-xmit-hash-policy layer2
bond-num-grat-arp
bond-ad-sys-mac-addr
required: False
default: 00:00:00:00:00:00
- example:
- bond-ad-sys-mac-addr 00:00:00:00:00:00
address: address configuration module for interfaces
hwaddress
alias
address
required: False
- example:
- address 10.0.12.3/24
address 2000:1000:1000:1000:3::5/128
scope
address-purge
required: False
default: yes
- example:
- address-purge yes/no
preferred-lifetime
gateway
mtu
addressvirtual: address module configures virtual addresses fo r interfaces. It creates a macvlan interface for every mac ip addr ess-virtual line
required: False
- example:
- address-virtual 00:11:22:33:44:01 11.0.1.254/24 11.0.1.254/24
vxlan: vxlan module configures vxlan interfaces.
required: False
default: yes
validvals: yes,no
- example:
- vxlan-learning no
vxlan-id
vxlan-remoteip
vxlan-svcnodeip
vxlan-local-tunnelip
SEE ALSO¶
AUTHOR¶
roopa@cumulusnetworks.com
COPYRIGHT¶
Copyright 2013 Cumulus Networks, Inc. All rights reserved.
2013-09-25 | 0.1 |