Configure Bridge’s Routing Function 299
Perform the following configuration in system view.
Tabl e 324 Enable/Disable forwarding by using dynamic address table
By default, the dynamic address table is used to forward frames.
cConfigure the aging time of dynamic address table
The aging time of dynamic address table refers to the time that an entry can
remain in the address table before it is deleted. The aging time is controlled by
the aging timer. Upon the expiration of the timer, the entry will be deleted from
the bridge address table.
Perform the following configuration in system view.
Tabl e 325 Configure the aging time of dynamic address table
By default, the aging time of dynamic address table is 300 seconds. The aging
time is in the range of 10 to 1000000 seconds.
5Configure Parameters Related to STP
aDisable/Enable STP on ports
Only when STP is enabled on the ports can all the configured parameters
related to STP take effect.
Perform the following configuration in interface view.
Tabl e 326 Disable/Enable STP on ports
By default, STP is enabled on all ports.
bConfigure the bridge priority
Bridge Identifier is comprised of the bridge priority and the MAC address of the
bridge. The bridge with smallest Bridge Identifier will be elected as the root
bridge of the whole spanning tree. If the priorities of all the bridges in the
network are the same, the bridge with the smallest MAC address will be
elected as the root bridge. In the case that the STP is enabled, changing the
priority of a bridge will cause the recompilation of the spanning tree.
Perform the following configuration in system view.
Operation Command
Enable forwarding using the dynamic address table bridge bridge-set learning
Disable forwarding using the dynamic address table undo bridge bridge-set
learning
Operation Command
Configure the aging time of dynamic address table bridge aging-time seconds
Restore the aging time of dynamic address table to
the default value undo bridge aging-time
Operation Command
Disable STP on ports bridge-set bridge-set stp
disable
Enable STP on ports undo bridge-set bridge-set stp
disable