405
Configuring MFF
Configuration prerequisites
• In MFF automatic mode, enable DHCP snooping on the device and configure DHCP snooping
trusted ports.
• In MFF manual mode, enable ARP snooping on the device.
Enabling MFF
To enable MFF and specify an MFF operating mode:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter VLAN view.
vlan vlan-id N/A
3. Enable MFF and specify an
MFF operating mode.
mac-forced-forwarding { auto |
default-gateway gateway-ip }
Disabled by default.
Configuring a network port
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter port view.
interface interface-type
interface-number
N/A
3. Configure the port as a
network port.
mac-forced-forwarding
network-port
By default, the port is a user port.
Enabling periodic gateway probe
You can configure the MFF device to detect gateways periodically for the change of MAC addresses.
This feature is supported by MFF manual mode and MFF automatic mode.
The time interval for sending gateway probes is 30 seconds. To get a gateway's MAC address, MFF in
automatic mode uses the IP and MAC addresses of the first DHCP snooping entry corresponding to the
gateway as the sender IP and MAC addresses of an ARP request, and sends the ARP request to the
gateway. (In manual mode, MFF uses the IP and MAC addresses of the ARP snooping entry
corresponding to the gateway.) After that, MFF will always use this entry to detect the gateway's MAC
address, unless the entry is removed. If the entry is removed, MFF will look for another entry; if no other
entry is found for the gateway, information about the gateway is removed.
To enable periodic gateway probe: