427
Displaying and maintaining MFF
Execute
display
commands in any view.
Task Command
Display MFF port configuration information.
display mac-forced-forwarding interface
Display the MFF configuration information for a VLAN.
display mac-forced-forwarding vlan vlan-id
MFF configuration examples
Manual-mode MFF configuration example in a tree network
Network requirements
As shown in
, all the devices are in VLAN 100. Hosts A, B, and C are assigned IP
addresses manually.
Configure MFF to isolate the hosts at Layer 2 and allow them to communicate with each other
through Gateway at Layer 3.
Figure 131 Network diagram
Configuration procedure
1.
Configure the IP addresses of the hosts and Gateway as shown in
.
2.
Configure Switch A:
# Configure manual-mode MFF on VLAN 100.
[SwitchA] vlan 100
[SwitchA-vlan100] mac-forced-forwarding default-gateway 10.1.1.100
# Specify the IP address of the server.
[SwitchA-vlan100] mac-forced-forwarding server 10.1.1.200
# Enable ARP snooping on VLAN 100.
[SwitchA-vlan100] arp snooping enable
[SwitchA-vlan100] quit
# Configure FortyGigE 1/1/2 as a network port.
[SwitchA] interface fortygige 1/1/2
Switch A
Switch C
Host C
10.1.1.3/24
Host B
10.1.1.2/24
Host A
10.1.1.1/24
Gateway
Switch B
FGE1/1/1
FGE1/1/2
FGE1/1/4
FGE1/1/3
FGE1/1/2
FGE1/1/4
FGE1/1/3
FGE1/1/1
Server
10.1.1.100/24
10.1.1.200/24