Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch
Rev 2.10
Mellanox Technologies
425
Mellanox Technologies Confidential
mac-address-table static
mac-address-table static <mac address> vlan <vlan> interface <if-type> <if-
number>
no mac-address-table static <mac address> vlan <vlan> interface <if-type> <if-
number>
Configures a static MAC address in the forwarding database.
The no form of the command deletes a configured static MAC address from the for-
warding database.
Syntax Description
mac address
Destination MAC address.
vlan VLAN ID or VLAN range.
if-type Ethernet or port-channel interface type.
if-number The interface number (i.e. 1/1, 3).
Default No static MAC addresses available in default.
Configuration Mode Config
History 3.1.0600
Role admin
Example
switch (config) # mac-address-table static aa:aa:aa:aa:aa:aa vlan 1
interface ethernet 1/7
switch (config) # show mac-address-table
Switch ethernet-default
Vlan Mac Address Type Interface
---- ----------- ---- ------------
1 aa:aa:aa:aa:aa:aa static Eth1/7
Number of unicast: 1
Number of multicast: 0
switch (config) #
Related Commands show mac-address-table
mac-address-table aging time
Note The no form of the command will not clear a dynamic MAC address. Dynamic MAC
addresses are cleared using the “clear mac-address-table dynamic” command.










