Listed below are addon modules and their supported
attributes. The attributes if applicable go under the iface section in the
interfaces(5) file.
ethtool: ethtool configuration module for interfaces
link-duplex
help: set link duplex
required: False
default: half
validvals: half,full
link-autoneg
help: set autonegotiation
required: False
default: no
validvals: yes,no
link-speed
help: set link speed
required: False
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.
bridge-vlan-aware
help: vlan aware bridge. Setting this attribute to
yes ena bles vlan filtering on the bridge
required: False
bridge-pathcosts
help: bridge set port path costs
required: False
default: 100
- example:
- bridge-pathcosts swp1=100 swp2=100
bridge-portprios
help: bridge port prios
required: False
default: 32
- example:
- bridge-portprios swp1=32 swp2=32
bridge-fd
help: bridge forward delay
required: False
default: 15
bridge-ageing
help: bridge ageing
required: False
default: 300
bridge-hello
help: bridge set hello time
required: False
default: 2
bridge-gcint
help: bridge garbage collection interval in secs
required: False
default: 4
bridge-mcquerier
help: set multicast querier
required: False
default: no
validvals: yes,no
bridge-mclmc
help: set multicast last member count
required: False
default: 2
bridge-mcsqc
help: set multicast startup query count
required: False
default: 2
bridge-mcrouter
help: set multicast router
required: False
default: yes
validvals: yes,no
bridge-stp
help: bridge-stp yes/no
required: False
default: no
validvals: yes,on,off,no
bridge-pvid
help: bridge port pvid. Must be specified under
the bridge port
required: False
bridge-mcsqi
help: set multicast startup query interval (in
secs)
required: False
default: 31
bridge-mcmi
help: set multicast membership interval (in secs)
required: False
default: 260
bridge-mclmi
help: set multicast last member interval (in secs)
required: False
default: 1
bridge-vids
help: bridge port vids. Can be specified under the
bridge or under the port. If specified under the bridge the ports inh erit it
unless overridden by a bridge-vids attribuet under the port
required: False
- example:
- bridge-vids 4000
bridge-vids 2000 2200-3000
bridge-ports
help: 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
help: set multicast query to use ifaddr
required: False
default: no
validvals: yes,no
bridge-waitport
help: wait for a max of time secs for the
specified ports to become available,if no ports are specified then those speci
fied on bridge-ports will be used here. Specifying no ports he re should not
be used if we are using regex or "all" on bridge _ports,as it
wouldnt work.
required: False
default: 0
bridge-mcqri
help: set multicast query response interval (in
secs)
required: False
default: 10
bridge-hashel
help: set hash elasticity
required: False
default: 4096
bridge-mcqpi
help: set multicast querier interval (in secs)
required: False
default: 255
bridge-hashmax
help: set hash max
required: False
default: 4096
bridge-bridgeprio
help: bridge priority
required: False
default: 32768
bridge-maxage
help: bridge set maxage
required: False
default: 20
bridge-mcsnoop
help: set multicast snooping
required: False
default: yes
validvals: yes,no
bridge-access
help: bridge port access vlan. Must be specified
under the bridge port
required: False
bridge-maxwait
help: forces to time seconds the maximum time that
the Deb ian bridge setup scripts will wait for the bridge ports to ge t to the
forwarding status, doesn't allow factional part. If i t is equal to 0 then no
waiting is done
required: False
default: 0
bridge-portmcrouter
help: set port multicast routers
required: False
default: 1
- example:
- under the bridge: bridge-portmcrouter swp1=1 swp2=1
under the port: bridge-portmcrouter 1
bridge-portmcfl
help: port multicast fast leave.
required: False
default: 0
- example:
- under the bridge: bridge-portmcfl swp1=0 swp2=0
under the port: bridge-portmcfl 0
bridge-mcqi
help: set multicast query interval (in secs)
required: False
default: 125
usercmds: user commands for interfaces
down
help: run command at interface down
required: False
post-up
help: run command after interface bring up
required: False
up
help: run command at interface bring up
required: False
pre-down
help: run command before bringing the interface
down
required: False
pre-up
help: run command before bringing the interface up
required: False
post-down
help: run command after bringing interface down
required: False
mstpctl: mstp configuration module for bridges
mstpctl-portadminedge
help: enable/disable initial edge state of the
port
required: False
default: no
validvals: yes,no
- example:
- mstpctl-portadminedge swp1=no swp2=no
mstpctl-portbpdufilter
help: enable/disable bpdu filter on a port. syntax
varies when defined under a bridge vs under a port
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
help: set forwarding delay
required: False
default: 15
mstpctl-portnetwork
help: enable/disable bridge assurance capability
for a por t
required: False
default: no
validvals: yes,no
- example:
- mstpctl-portnetwork swp1=no swp2=no
mstpctl-txholdcount
help: bridge transmit holdcount
required: False
default: 6
mstpctl-forcevers
help: bridge force stp version
required: False
default: rstp
mstpctl-portautoedge
help: enable/disable auto transition to/from edge
state of the port
required: False
default: yes
validvals: yes,no
- example:
- mstpctl-portautoedge swp1=yes swp2=yes
mstpctl-maxhops
help: bridge max hops
required: False
default: 15
mstpctl-treeprio
help: tree priority
required: False
default: 32768
validrange: 0-65535
mstpctl-treeportprio
help: port priority for MSTI instance
required: False
default: 128
validrange: 0-240
- example:
- mstpctl-treeportprio swp1=128 swp2=128
mstpctl-portpathcost
help: bridge port path cost
required: False
default: 0
- example:
- mstpctl-portpathcost swp1=0 swp2=1
mstpctl-portrestrtcn
help: enable/disable port ability to propagate
received to pology change notification of the port
required: False
default: no
validvals: yes,no
- example:
- mstpctl-portrestrtcn swp1=no swp2=no
mstpctl-maxage
help: max message age
required: False
default: 20
mstpctl-hello
help: set hello time
required: False
default: 2
mstpctl-portrestrrole
help: enable/disable port ability to take root
role of the port
required: False
default: no
validvals: yes,no
- example:
- mstpctl-portrestrrole swp1=no swp2=no
mstpctl-bpduguard
help: enable/disable bpduguard
required: False
default: no
validvals: yes,no
- example:
- mstpctl-bpduguard swp1=no swp2=no
mstpctl-ageing
help: ageing time
required: False
default: 300
mstpctl-treeportcost
help: port tree cost
required: False
mstpctl-portp2p
help: bridge port p2p detection mode
required: False
default: auto
validvals: yes,no,auto
- example:
- mstpctl-portp2p swp1=no swp2=no
clagd: This module generates the clagd defaults file.
clagd-priority
help: The priority of this clagd switch
required: False
clagd-backup-ip
help: Backup IP address of the clagd peer
required: False
clagd-enable
help: enable clagd
required: False
validvals: yes,no
clag-id
help: multi-chassis lag id
required: False
default: 0
validrange: 0-65535
clagd-peer-ip
help: The IP address of the clagd peer
required: True
clagd-sys-mac
help: The system ID of the CLAG pair
required: True
- example:
- clagd-sys-mac 44:38:39:ff:00:00
clagd-args
help: Additional command line arguments for clagd
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
vlan-id
help: vlan id
required: False
vlan-raw-device
help: 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.
bridge-igmp-querier-src
help: bridge igmp querier src. Must be specified
under the vlan interface
required: False
- example:
- bridge-igmp-querier-src 172.16.101.1
bond: bond configuration module
bond-use-carrier
help: bond use carrier
required: False
default: yes
validvals: yes,no
bond-lacp-bypass-period
help: grace period (seconds) for lacp bypass
required: False
default: 0
validrange: 0-900
bond-miimon
help: bond miimon
required: False
default: 0
validrange: 0-255
bond-lacp-rate
help: bond lacp rate
required: False
default: 0
validvals: 0,1
bond-lacp-bypass-priority
help: slave priority for lacp bypass
required: False
- example:
- bond-lacp-bypass-priority swp1=1 swp2=1 swp3=2
bond-min-links
help: bond min links
required: False
default: 0
bond-slaves
help: bond slaves
required: True
- example:
- bond-slaves swp1 swp2
bond-slaves glob swp1-2
bond-slaves regex (swp[1|2)
bond-lacp-bypass-allow
help: allow lacp bypass
required: False
default: no
validvals: yes,no
bond-mode
help: bond mode
required: False
default: balance-rr
validvals:
balance-rr,active-backup,balance-xor,broadcast,802.3ad,balance-tlb,balance-alb
bond-num-unsol-na
help: bond slave devices
required: False
default: 1
validrange: 0-255
bond-ad-sys-priority
help: 802.3ad system priority
required: False
default: 65535
bond-xmit-hash-policy
help: bond slave devices
required: False
default: layer2
validvals: layer2,layer3+4,layer2+3
bond-num-grat-arp
help: bond use carrier
required: False
default: 1
validrange: 0-255
bond-ad-sys-mac-addr
help: 802.3ad system mac address
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
broadcast
help: broadcast address
required: False
hwaddress
help: hw address
required: False
alias
help: description/alias
required: False
address
help: ipv4 or ipv6 addresses
required: False
- example:
- address 10.0.12.3/24
address 2000:1000:1000:1000:3::5/128
scope
help: scope
required: False
address-purge
help: purge existing addresses. By default any
existing ip addresses on an interface are purged to match persistent addre
sses in the interfaces file. Set this attribute to 'no'if you want to preserve
existing addresses
required: False
default: yes
preferred-lifetime
help: preferred lifetime
required: False
- example:
- preferred-lifetime forever
preferred-lifetime 10
gateway
help: default gateway
required: False
mtu
help: interface mtu
required: False
default: 1500
addressvirtual: address module configures virtual addresses
fo r interfaces. It creates a macvlan interface for every mac ip addr
ess-virtual line
address-virtual
help: bridge router virtual mac and ip
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.
vxlan-learning
help: vxlan learning yes/no
required: False
default: yes
validvals: yes,no
vxlan-id
help: vxlan id
required: True
vxlan-remoteip
help: vxlan remote ip
required: False
vxlan-svcnodeip
help: vxlan id
required: False
vxlan-local-tunnelip
help: vxlan local tunnel ip
required: False
- example:
- vxlan-local-tunnelip 172.16.20.103