Fortinet white logo
Fortinet white logo

CLI Reference

system mac-address-table

system mac-address-table

Use this command to create a static MAC table. The table can hold up to 200 entries.

This command is available in Transparent mode only

.

config system mac-address-table
    edit {mac}
    # Configure MAC address tables.
        set mac {mac address}   MAC address.
        set interface {string}   Interface name. size[35] - datasource(s): system.interface.name
        set reply-substitute {mac address}   New MAC for reply traffic.
    next
end

Additional information

The following section is for those options that require additional explanation.

mac {mac address}

Specify the MAC address as six pairs of hexadecimal digits separated by colons, e.g., 11:22:33:00:ff:aa

reply-substite {mac address}

Optionally, define a substitute MAC address to use in reply. Then define a MAC address table entry for the reply-substitute MAC address, specifying the interface to which it applies.

system mac-address-table

system mac-address-table

Use this command to create a static MAC table. The table can hold up to 200 entries.

This command is available in Transparent mode only

.

config system mac-address-table
    edit {mac}
    # Configure MAC address tables.
        set mac {mac address}   MAC address.
        set interface {string}   Interface name. size[35] - datasource(s): system.interface.name
        set reply-substitute {mac address}   New MAC for reply traffic.
    next
end

Additional information

The following section is for those options that require additional explanation.

mac {mac address}

Specify the MAC address as six pairs of hexadecimal digits separated by colons, e.g., 11:22:33:00:ff:aa

reply-substite {mac address}

Optionally, define a substitute MAC address to use in reply. Then define a MAC address table entry for the reply-substitute MAC address, specifying the interface to which it applies.