2014-10-09 16:02:46 -07:00
|
|
|
==========================
|
|
|
|
ifupdown-addons-interfaces
|
|
|
|
==========================
|
|
|
|
---------------------------------------------------------
|
|
|
|
ifupdown2 addon modules interface configuration
|
|
|
|
---------------------------------------------------------
|
|
|
|
:Author: roopa@cumulusnetworks.com
|
|
|
|
:Date: 2013-09-25
|
|
|
|
:Copyright: Copyright 2013 Cumulus Networks, Inc. All rights reserved.
|
|
|
|
:Version: 0.1
|
|
|
|
:Manual section: 5
|
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
===========
|
|
|
|
ifupdown2 addon modules add incremental functionality to
|
|
|
|
core ifupdown2 tool.
|
|
|
|
|
|
|
|
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
|
|
|
|
========
|
|
|
|
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
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
link-duplex full
|
|
|
|
|
|
|
|
|
|
|
|
**link-autoneg**
|
|
|
|
|
|
|
|
**help**: set autonegotiation
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: off
|
|
|
|
|
|
|
|
**validvals**: on,off
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
link-autoneg on
|
|
|
|
|
|
|
|
|
|
|
|
**link-speed**
|
|
|
|
|
|
|
|
**help**: set link speed
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
link-speed 1000
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**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.
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-vlan-aware**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: vlan aware bridge. Setting this attribute to yes ena
|
|
|
|
bles vlan filtering on the bridge
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-vlan-aware yes/no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-pathcosts**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bridge set port path costs
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 100
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-pathcosts swp1=100 swp2=100
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-portprios**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bridge port prios
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 32
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-portprios swp1=32 swp2=32
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-fd**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bridge forward delay
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 15
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-fd 15
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-ageing**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bridge ageing
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 300
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-ageing 300
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-hello**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bridge set hello time
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 2
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-hello 2
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-gcint**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bridge garbage collection interval in secs
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 4
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-gcint 4
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-mcquerier**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: set multicast querier
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 0
|
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-mcquerier 0
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-mclmc**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: set multicast last member count
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 2
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-mclmc 2
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-mcsqc**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: set multicast startup query count
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 2
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-mcsqc 2
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-mcrouter**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: set multicast router
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 1
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-mcrouter 1
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-stp**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bridge-stp yes/no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: no
|
|
|
|
|
|
|
|
**validvals**: yes,on,off,no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-stp no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-pvid**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bridge port pvid. Must be specified under the bridge
|
|
|
|
port
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-pvid 1
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-mcsqi**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: set multicast startup query interval (in secs)
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 31
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-mcsqi 31
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-mcmi**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: set multicast membership interval (in secs)
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 260
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-mcmi 260
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-mclmi**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: set multicast last member interval (in secs)
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 1
|
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-mclmi 1
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-vids**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**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
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-vids 4000
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-vids 2000 2200-3000
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-ports**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bridge ports
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**required**: True
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-ports swp1.100 swp2.100 swp3.100
|
|
|
|
|
|
|
|
bridge-ports glob swp1-3.100
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-06-16 20:58:15 -04:00
|
|
|
bridge-ports glob swp[1-3]s[0-4].100
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-ports regex (swp[1|2|3].100)
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-mcqifaddr**
|
|
|
|
|
|
|
|
**help**: set multicast query to use ifaddr
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 0
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-mcqifaddr 0
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**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
|
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bridge-waitport 4 swp1 swp2
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**bridge-mcqri**
|
|
|
|
|
|
|
|
**help**: set multicast query response interval (in secs)
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 10
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
bridge-mcqri 10
|
|
|
|
|
|
|
|
|
|
|
|
**bridge-hashel**
|
|
|
|
|
|
|
|
**help**: set hash elasticity
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 4096
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
bridge-hashel 4096
|
|
|
|
|
|
|
|
|
|
|
|
**bridge-mcqpi**
|
|
|
|
|
|
|
|
**help**: set multicast querier interval (in secs)
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 255
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
bridge-mcqpi 255
|
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-hashmax**
|
|
|
|
|
|
|
|
**help**: set hash max
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 4096
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
bridge-hashmax 4096
|
|
|
|
|
|
|
|
|
2014-10-09 16:02:46 -07:00
|
|
|
**bridge-bridgeprio**
|
|
|
|
|
|
|
|
**help**: bridge priority
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 32768
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
bridge-bridgeprio 32768
|
|
|
|
|
|
|
|
|
|
|
|
**bridge-maxage**
|
|
|
|
|
|
|
|
**help**: bridge set maxage
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 20
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
bridge-maxage 20
|
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-mcsnoop**
|
|
|
|
|
|
|
|
**help**: set multicast snooping
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 1
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
bridge-mcsnoop 1
|
|
|
|
|
|
|
|
|
|
|
|
**bridge-access**
|
|
|
|
|
|
|
|
**help**: bridge port access vlan. Must be specified under the
|
|
|
|
bridge port
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
bridge-access 300
|
|
|
|
|
|
|
|
|
|
|
|
**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
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
bridge-maxwait 3
|
|
|
|
|
|
|
|
|
|
|
|
**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
|
|
|
|
|
|
|
|
|
2014-10-09 16:02:46 -07:00
|
|
|
**bridge-portmcfl**
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: port multicast fast leave.
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 0
|
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
under the bridge: bridge-portmcfl swp1=0 swp2=0
|
|
|
|
|
|
|
|
under the port: bridge-portmcfl 0
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**bridge-mcqi**
|
|
|
|
|
|
|
|
**help**: set multicast query interval (in secs)
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 125
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
bridge-mcqi 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
|
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**mstpctl-portadminedge**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: enable/disable initial edge state of the port
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: no
|
|
|
|
|
|
|
|
**validvals**: yes,no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
mstpctl-portadminedge swp1=no swp2=no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**mstpctl-portbpdufilter**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: enable/disable bpdu filter on a port. syntax varies
|
|
|
|
when defined under a bridge vs under a port
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: no
|
|
|
|
|
|
|
|
**validvals**: yes,no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
under a bridge: mstpctl-portbpdufilter swp1=no swp2=no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
under a port: mstpctl-portbpdufilter yes
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**mstpctl-fdelay**
|
|
|
|
|
|
|
|
**help**: set forwarding delay
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 15
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
mstpctl-fdelay 15
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**mstpctl-portnetwork**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: enable/disable bridge assurance capability for a por
|
|
|
|
t
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: no
|
|
|
|
|
|
|
|
**validvals**: yes,no
|
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
mstpctl-portnetwork swp1=no swp2=no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**mstpctl-txholdcount**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bridge transmit holdcount
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 6
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**example**:
|
|
|
|
mstpctl-txholdcount 6
|
|
|
|
|
|
|
|
|
|
|
|
**mstpctl-forcevers**
|
|
|
|
|
|
|
|
**help**: bridge force stp version
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: rstp
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
mstpctl-forcevers rstp
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**mstpctl-portautoedge**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: enable/disable auto transition to/from edge state of
|
|
|
|
the port
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: yes
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**validvals**: yes,no
|
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
mstpctl-portautoedge swp1=yes swp2=yes
|
|
|
|
|
|
|
|
|
|
|
|
**mstpctl-maxhops**
|
|
|
|
|
|
|
|
**help**: bridge max hops
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 15
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
mstpctl-maxhops 15
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**mstpctl-treeprio**
|
|
|
|
|
|
|
|
**help**: tree priority
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 32768
|
|
|
|
|
|
|
|
validrange: 0-65535
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
mstpctl-treeprio 32768
|
|
|
|
|
|
|
|
|
|
|
|
**mstpctl-treeportprio**
|
|
|
|
|
|
|
|
**help**: port priority for MSTI instance
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 128
|
|
|
|
|
|
|
|
validrange: 0-240
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
mstpctl-treeportprio swp1=128 swp2=128
|
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**mstpctl-portpathcost**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bridge port path cost
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 0
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
mstpctl-portpathcost swp1=0 swp2=1
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**mstpctl-portrestrtcn**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: enable/disable port ability to propagate received to
|
|
|
|
pology change notification of the port
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: no
|
|
|
|
|
|
|
|
**validvals**: yes,no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
mstpctl-portrestrtcn swp1=no swp2=no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**mstpctl-maxage**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: max message age
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 20
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
mstpctl-maxage 20
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**mstpctl-hello**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: set hello time
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 2
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
mstpctl-hello 2
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**mstpctl-portrestrrole**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: enable/disable port ability to take root role of the
|
|
|
|
port
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: no
|
|
|
|
|
|
|
|
**validvals**: yes,no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
mstpctl-portrestrrole swp1=no swp2=no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**mstpctl-bpduguard**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: enable/disable bpduguard
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: no
|
|
|
|
|
|
|
|
**validvals**: yes,no
|
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
mstpctl-bpduguard swp1=no swp2=no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**mstpctl-ageing**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: ageing time
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 300
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
mstpctl-ageing 300
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**mstpctl-treeportcost**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: port tree cost
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**mstpctl-portp2p**
|
|
|
|
|
|
|
|
**help**: bridge port p2p detection mode
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: auto
|
|
|
|
|
|
|
|
**validvals**: yes,no,auto
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
mstpctl-portp2p swp1=no swp2=no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**clagd**: This module generates the clagd defaults file.
|
|
|
|
|
|
|
|
|
|
|
|
**clagd-priority**
|
|
|
|
|
|
|
|
**help**: The priority of this clagd switch
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**example**:
|
|
|
|
clagd-priority 30000
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
|
|
|
|
**clagd-backup-ip**
|
|
|
|
|
|
|
|
**help**: Backup IP address of the clagd peer
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
clagd-backup-ip 192.1.1.1
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**clagd-enable**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: enable clagd
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**validvals**: yes,no
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
clagd-enable yes
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**clag-id**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: multi-chassis lag id
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 0
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
validrange: 0-65535
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**example**:
|
|
|
|
clag-id 1
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**clagd-peer-ip**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: The IP address of the clagd peer
|
|
|
|
|
|
|
|
|
|
|
|
**required**: True
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
clagd-peer 10.10.10.2
|
|
|
|
|
|
|
|
|
|
|
|
**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
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
**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
|
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridgevlan**: bridgevlan module configures vlan attributes on a
|
|
|
|
vlan aware bridge. This module only understands vlan interface nam
|
|
|
|
e with dot notations. eg br0.100. where br0 is the vlan aware brid
|
|
|
|
ge this config is for
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bridge-igmp-querier-src**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bridge igmp querier src. Must be specified under the
|
|
|
|
vlan interface
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**example**:
|
|
|
|
bridge-igmp-querier-src 172.16.101.1
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
2015-07-22 18:38:07 -04:00
|
|
|
**bond**: bond configuration module
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bond-use-carrier**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bond use carrier
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**required**: False
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 1
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**validvals**: 0,1
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**example**:
|
|
|
|
bond-use-carrier 1
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bond-lacp-bypass-period**
|
|
|
|
|
|
|
|
**help**: grace period (seconds) for lacp bypass
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 0
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
validrange: 0-900
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bond-lacp-bypass-period 100
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bond-miimon**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bond miimon
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 0
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
validrange: 0-255
|
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bond-miimon 0
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bond-lacp-rate**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bond lacp rate
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: 0
|
|
|
|
|
|
|
|
**validvals**: 0,1
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bond-lacp-rate 0
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bond-lacp-bypass-priority**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: slave priority for lacp bypass
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**example**:
|
|
|
|
bond-lacp-bypass-priority swp1=1 swp2=1 swp3=2
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
|
|
|
|
**bond-min-links**
|
|
|
|
|
|
|
|
**help**: bond min links
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 0
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bond-min-links 0
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bond-slaves**
|
|
|
|
|
|
|
|
**help**: bond slaves
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
|
|
|
|
**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
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 0
|
|
|
|
|
|
|
|
**validvals**: 0,1
|
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bond-lacp-bypass-allow 0
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
2015-05-16 11:06:10 -07:00
|
|
|
**bond-lacp-bypass-allow-all-active**
|
|
|
|
|
|
|
|
**help**: allow all slaves to be active in lacp bypass irrespective of priority
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 0
|
|
|
|
|
|
|
|
**validvals**: 0,1
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
bond-lacp-bypass-all-active 1
|
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bond-mode**
|
2014-10-09 16:02:46 -07:00
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**help**: bond mode
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**default**: balance-rr
|
|
|
|
|
|
|
|
**validvals**: balance-rr,active-backup,balance-xor,broadcast,802.3ad,balance-tlb,balance-alb
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**example**:
|
2015-04-27 15:38:07 -07:00
|
|
|
bond-mode 802.3ad
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
|
|
|
|
**bond-num-unsol-na**
|
|
|
|
|
|
|
|
**help**: bond slave devices
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 1
|
|
|
|
|
|
|
|
validrange: 0-255
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
bond-num-unsol-na 1
|
|
|
|
|
|
|
|
|
|
|
|
**bond-ad-sys-priority**
|
|
|
|
|
|
|
|
**help**: 802.3ad system priority
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 65535
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
bond-ad-sys-priority 65535
|
|
|
|
|
|
|
|
|
|
|
|
**bond-xmit-hash-policy**
|
|
|
|
|
|
|
|
**help**: bond slave devices
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: layer2
|
|
|
|
|
|
|
|
**validvals**: layer2,layer3+4,layer2+3
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
bond-xmit-hash-policy layer2
|
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**bond-num-grat-arp**
|
|
|
|
|
|
|
|
**help**: bond use carrier
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 1
|
|
|
|
|
|
|
|
validrange: 0-255
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
bond-num-grat-arp 1
|
|
|
|
|
|
|
|
|
|
|
|
**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
|
|
|
|
|
|
|
|
|
2014-10-09 16:02:46 -07:00
|
|
|
|
|
|
|
**address**: address configuration module for interfaces
|
|
|
|
|
|
|
|
|
|
|
|
**broadcast**
|
|
|
|
|
|
|
|
**help**: broadcast address
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
broadcast 10.0.1.255
|
|
|
|
|
|
|
|
|
|
|
|
**hwaddress**
|
|
|
|
|
|
|
|
**help**: hw address
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
hwaddress 44:38:39:00:27:b8
|
|
|
|
|
|
|
|
|
|
|
|
**alias**
|
|
|
|
|
|
|
|
**help**: description/alias
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
alias testnetwork
|
|
|
|
|
|
|
|
|
|
|
|
**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
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
scope host
|
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**address-purge**
|
|
|
|
|
|
|
|
**help**: purge existing addresses. By default any existing ip
|
|
|
|
addresses on an interface are purged to match persistant addre
|
|
|
|
sses in the interfaces file. Set this attribute to 'no'if you
|
|
|
|
want to preserve existing addresses
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: yes
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
address-purge yes/no
|
|
|
|
|
|
|
|
|
2014-10-09 16:02:46 -07:00
|
|
|
**preferred-lifetime**
|
|
|
|
|
|
|
|
**help**: preferred lifetime
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
preferred-lifetime forever
|
|
|
|
|
|
|
|
preferred-lifetime 10
|
|
|
|
|
|
|
|
|
|
|
|
**gateway**
|
|
|
|
|
|
|
|
**help**: default gateway
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
gateway 255.255.255.0
|
|
|
|
|
|
|
|
|
|
|
|
**mtu**
|
|
|
|
|
|
|
|
**help**: interface mtu
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: 1500
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
mtu 1600
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-27 15:38:07 -07:00
|
|
|
**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 on/off
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**default**: on
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
vxlan-learning off
|
|
|
|
|
|
|
|
|
|
|
|
**vxlan-id**
|
|
|
|
|
|
|
|
**help**: vxlan id
|
|
|
|
|
|
|
|
|
|
|
|
**required**: True
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
vxlan-id 100
|
|
|
|
|
|
|
|
|
|
|
|
**vxlan-remoteip**
|
|
|
|
|
|
|
|
**help**: vxlan remote ip
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
vxlan-remoteip 172.16.22.127
|
|
|
|
|
|
|
|
|
|
|
|
**vxlan-svcnodeip**
|
|
|
|
|
|
|
|
**help**: vxlan id
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
vxlan-svcnodeip 172.16.22.125
|
|
|
|
|
|
|
|
|
|
|
|
**vxlan-local-tunnelip**
|
|
|
|
|
|
|
|
**help**: vxlan local tunnel ip
|
|
|
|
|
|
|
|
|
|
|
|
**required**: False
|
|
|
|
|
|
|
|
**example**:
|
|
|
|
vxlan-local-tunnelip 172.16.20.103
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-10-09 16:02:46 -07:00
|
|
|
SEE ALSO
|
|
|
|
========
|
|
|
|
interfaces(5),
|
|
|
|
ifup(8),
|
|
|
|
ip(8),
|
|
|
|
mstpctl(8),
|
|
|
|
brctl(8),
|
2015-04-27 15:38:07 -07:00
|
|
|
ethtool(8),
|
|
|
|
clagctl(8)
|