User`s guide
6211-I1 ADSL2+ Router Command Line Interface User’s Guide
20
setbridgeprio <bridge> <priority>
Sets the bridge's priority to <priority>. The priority value is an unsigned 16-bit quantity (a number between
0 and 65535), and has no dimension. Lower priority values are better than higher priority values. The
bridge with the lowest priority is elected as the "root bridge."
setfd <bridge> <time>
Sets the bridge's "bridge forward delay" to <time> seconds.
setgcint <bridge> <time>
Sets the garbage collection interval for the bridge <bridge> to <time> seconds. This means that the
bridge checks the forwarding database for timed out entries every <time> seconds.
sethello <bridge> <time>
Sets the bridge's "bridge hello time" to <time> seconds.
setigmpsnoop <bridge> <state>
Turns IGMP snooping on and off.
setmaxage <bridge> <time>
Sets the bridge's "maximum message age" to <time> seconds.
setpathcost <bridge> <port> <cost>
Sets the port cost of the port <port> to <cost>. This is a dimensionless metric.
setportprio <bridge> <port> <prio>
Sets the port's <port> priority to <priority>. The priority value is an unsigned 8-bit quantity (a number
between 0 and 255), and has no dimension. This metric is used in the designated port and root port
selection algorithms.
show
Shows all current instances of the bridge.
showmacs <bridge>
Shows a list of learned MAC addresses for this bridge.
showstp <bridge>
Shows the Spanning Tree Protocol (STP) status of this bridge.
showigmpsnooping <bridge>
Displays the current contents of the igmp snooping table.
stp <bridge> <state>
Controls this bridge's instance participation in the spanning tree protocol. If <state> is "on" or "yes" the
STP will be turned on; otherwise, it will be turned off. When turned off, the bridge will not send or receive
BPDUs, and thus will not participate in the spanning tree protocol. If the bridge is not the only bridge on
the LAN, or if there are loops in the LAN's topology, do not turn this option off. Prior to turning this option
off, be aware the implications of doing so.
Options
None.
Examples
Display all the learned MAC addresses on br0.
brctl showmacs br0
Set the aging timer value to be 400 seconds on br0.
brctl setageing br0 400