Modifying stp bridge and port parameters, Disabling the automatic learning of mac addresses – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 290

Advertising
background image

256

Brocade TurboIron 24X Series Configuration Guide

53-1003053-01

Changing the MAC age time and disabling MAC address learning

STP must be enabled at the system level to allow assignment of this capability on the VLAN level.
On devices running Layer 2 code, STP is enabled by default. On devices running Layer 3 code, STP
is disabled by default.

To enable STP for all ports on a device, enter the following command.

TurboIron(config)#spanning tree

Syntax: [no] spanning-tree

You can also enable and disable spanning tree on a port-based VLAN and on an individual port
basis, and enable advanced STP features. Refer to

Chapter 21, “Configuring Spanning Tree

Protocol (STP) Related Features”

.

Modifying STP bridge and port parameters

You can modify the following STP Parameters:

Bridge parameters – forward delay, maximum age, hello time, and priority

Port parameters – priority and path cost

For configuration details, refer to

“Changing STP bridge and port parameters”

on page 514.

Changing the MAC age time and disabling MAC address learning

To change the MAC address age timer, enter a command such as the following.

TurboIron(config)#mac-age-time 60

Syntax: [no] mac-age-time <secs>

<secs> specifies the number of seconds. Possible values differ depending on the version of
software running on your device, as follows:

You can configure 0 or a value from 10 – 86,400 (seconds), in 1-second intervals. If you set
the MAC age time to 0, aging is disabled.

NOTES:

Usually, the actual MAC age time is from one to two times the configured value. For

example, if you set the MAC age timer to 60 seconds, learned MAC entries age out after remaining
unused for between 60 – 120 seconds. However, if all of the following conditions are met, then the
MAC entries age out after a longer than expected duration:

The MAC age timer is greater than 630 seconds.

The number of MAC entries is over 6000.

All MAC entries are learned from the same packet processor.

All MAC entries age out at the same time.

Disabling the automatic learning of MAC addresses

By default, when a packet with an unknown Source MAC address is received on a port, the device
learns this MAC address on the port.

You can prevent a physical port from learning MAC addresses by entering the following command.

TurboIron(config)#interface ethernet 1

TurboIron(config-if-e10000-1)#mac-learn-disable

Advertising