MAC Address Settings
Fixed Switch Configuration Guide 4-25
Aging time: 600 seconds
Limiting MAC Addresses to Specific VLANs
Use the set mac multicast command to define on what ports within a VLAN a multicast address
can be dynamically learned on, or on what ports a frame with the specified MAC address can be
flooded. Also, use this command to append ports to or clear ports from the egress ports list.
This example configures multicast MAC address 01-01-22-33-44-55 for VLAN 24, enabling this
MAC address to be learned on or flooded out on this VLAN’s ports, with the exception of ports
ge.1.1 through ge.1.3.
C5(su)->set mac multicast 01-01-22-33-44-55 24 clear ge.1.1-3
Setting the MAC Algorithm Mode
You can set the MAC algorithm mode, which determines the hash mechanism used by the device
when performing Layer 2 lookups on received frames. Four modes are available:
• MAC CRC 16 lower bits algorithm
• MAC CRC 16 upper bits algorithm (default value)
• MAC CRC 32 lower bits algorithm
• MAC CRC 32 upper bits algorithm
Each algorithm is optimized for a different spread of MAC addresses. When changing this mode,
the switch will display a warning message and prompt you to restart the device.
Use the set mac algorithm command to change the algorithm from the default, and the clear mac
algorithm command to return to the default value. The show mac algorithm command displays
the currently selected algorithm.
New MAC Address Detection
You can configure the fixed switches to enable SNMP trap messaging globally or per port to send
notifications when a new MAC address is first detected. The default is disabled globally and per
port.
Use the set newaddrtrap command to enable SNMP trap messaging to report the detection of a
new MAC address either globally on the device or on a specified port basis. The new MAC
address trap feature is disabled by default. If a port is a CDP port, however, traps for new source
MAC addresses will not be sent.
The following example enables trap notification globally, then configures SNMP trap messaging to
send a notification when a new MAC address is detected on port ge.1.1:
C5(rw)->set newaddrtrap enable
C5(rw)->set newaddrtrap ge.1.1 enable
Procedure 4-10 describes how to configure MAC address settings. All commands for this feature
can be set in any command mode.