365
address to the server. As a result, packets from a host to a server are forwarded by the gateway, but
packets from a server to a host are not forwarded by the gateway.
Follow these steps to specify the IP addresses of servers:
To do… Use the command…
Remarks
Enter system view system-view —
Enter VLAN view vlan vlan-id —
Specify the IP addresses of servers
mac-forced-forwarding server
server-ip&<1-10>
Required
No server IP address is specified by
default.
Displaying and maintaining MFF
To do… Use the command…
Remarks
Display MFF port configuration
information
display mac-forced-forwarding interface [ |
{ begin | exclude | include }
regular-expression ]
Available in any view
Display the MFF configuration
information of a specified VLAN
display mac-forced-forwarding vlan vlan-id
[ | { begin | exclude | include }
regular-expression ]
Available in any view
MFF configuration examples
Auto-mode MFF configuration example in a tree network
Network requirements
As shown in Figure 140, all the devices are in VLAN 100. Host A, Host B, and Host C obtain IP addresses
from the DHCP server. They are isolated at Layer 2, and can communicate with each other through
Gateway. MFF automatic mode is enabled on Switch A and Switch B.
Figure 140 Network diagram