Displaying the mac address table, Configuring static mac entries – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 291

Advertising
background image

Brocade TurboIron 24X Series Configuration Guide

257

53-1003053-01

Configuring static MAC entries

Syntax: [no] mac-learn disable

Use the no form of the command to allow a physical port to learn MAC addresses.

Configuration notes and feature limitations

This command is not available on virtual routing interfaces. Also, if this command is configured
on the primary port of a trunk, MAC address learning will be disabled on all the ports in the
trunk.

Entering the mac-learn-disable command on tagged ports disables MAC learning for that port
in all VLANs to which that port is a member. For example, if tagged port 1 is a member of VLAN
10, 20, and 30 and you issue the mac-learn-disable command on port 1, port 1 will not learn
MAC addresses, even if it is a member of VLAN 10, 20, and 30.

Displaying the MAC address table

To display the MAC table, enter the following command.

In the output of the show mac-address command, the Type column indicates whether the MAC
entry is static or dynamic. A static entry is one you create using the static-mac-address command.
A dynamic entry is one that is learned by the software from network traffic.

The output of the show mac-address command include an Index column which indicates the index
where the entry exists in the hardware MAC table.

NOTE

The show mac-address command output does not include MAC addresses for management ports,
since these ports do not support typical MAC learning and MAC-based forwarding.

Configuring static MAC entries

Static MAC addresses can be assigned to devices.

NOTE

Devices running Layer 3 code also support the assignment of static IP Routes, static ARP, and static
RARP entries. For details on configuring these types of static entries, refer to

“Configuring static

routes”

on page 465 and

“Creating static ARP entries”

on page 461.

NOTE

Devices support static MAC entries with unicast addresses only.

TurboIron#show mac-address

Total active entries from all ports = 3

Total static entries from all ports = 1

MAC-Address Port Type VLAN

0000.0034.1234 15 Static 1

0000.0038.2f24 14 Dynamic 1

0000.0038.2f00 13 Dynamic 1

0000.0086.b159 10 Dynamic 1

Advertising