425
MFF working mechanism
An MFF-enabled device implements Layer 3 communication between hosts by intercepting ARP
requests from the hosts and replies with the MAC address of a gateway. This mechanism helps
reduce the number of broadcast messages.
The MFF device processes ARP packets as follows:
•
After receiving an ARP request from a host, the MFF device sends the MAC address of the
corresponding gateway to the host. In this way, hosts in the network have to communicate at
Layer 3 through a gateway.
•
After receiving an ARP request from a gateway, the MFF device sends the requested host's
MAC address to the gateway if the corresponding entry is available. If the entry is not available,
the MFF device forwards the ARP request.
•
The MFF device forwards ARP replies between hosts and gateways.
•
If the source MAC addresses of ARP requests from gateways are different from those recorded,
the MFF device updates and broadcasts the IP and MAC addresses of the gateways.
Protocols and standards
RFC 4562,
MAC-Forced Forwarding
Configuring MFF
Enabling MFF
For MFF to take effect in manual mode, make sure ARP snooping is enabled on the device.
To enable MFF:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN view.
vlan vlan-id
N/A
3.
Enable MFF in manual
mode
mac-forced-forwarding
default-gateway gateway-ip
By default, MFF is disabled.
Configuring a network port
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view or Layer 2
aggregate interface view.
•
Layer 2 Ethernet interface
view:
interface interface-type
interface-number
•
Layer 2 aggregate interface
view:
interface
bridge-aggregation
interface-number
N/A
3.
Configure the port as a
network port.
mac-forced-forwarding
By default, the port is a user port.