Dell FCX624-E Laptop User Manual


  Open as PDF
of 1494
 
308 PowerConnect B-Series FCX Configuration Guide
53-1002266-01
Configuring static MAC entries
9
Disabling the automatic learning of MAC addresses
By default, when a packet with an unknown Source MAC address is received on a port, the Dell
PowerConnect device learns this MAC address on the port.
You can prevent a physical port from learning MAC addresses by entering the following command.
PowerConnect(config)#interface ethernet 3/1
PowerConnect(config-if-e1000-3/1)#mac-learn-disable
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 3/1 is a member of
VLAN 10, 20, and 30 and you issue the mac-learn-disable command on port 3/1, port 3/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.
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 Dell PowerConnect devices.
PowerConnect#show mac-address
Total active entries from all ports = 3
Total static entries from all ports = 1
MAC-Address Port Type VLAN
1234.1234.1234 15 Static 1
0004.8038.2f24 14 Dynamic 1
0004.8038.2f00 13 Dynamic 1
0010.5a86.b159 10 Dynamic 1