410
[SwitchB-vlan-100] quit
# Configure Ethernet 1/0/4 as a network port.
[SwitchB] interface ethernet 1/0/4
[SwitchB-Ethernet1/0/4] mac-forced-forwarding network-port
# Configure Ethernet 1/0/4 as a DHCP snooping trusted port.
[SwitchB-Ethernet1/0/4] dhcp-snooping trust no-user-binding
[SwitchB-Ethernet1/0/4] quit
# Configure Ethernet 1/0/6 as a network port.
[SwitchB] interface ethernet 1/0/6
[SwitchB-Ethernet1/0/6] mac-forced-forwarding network-port
# Configure Ethernet 1/0/6 as a DHCP snooping trusted port.
[SwitchB-Ethernet1/0/6] dhcp-snooping trust
5. Enable STP on Switch C.
<SwitchC> system-view
[SwitchC] stp enable
Manual-mode MFF configuration example in a tree network
Network requirements
As shown in Figure 132, all the devices are in VLAN 100. Host A, Host B, and Host C are configured with
IP addresses manually. They are isolated at Layer 2, and can communicate with each other through the
gateway. To ensure communication between hosts and the server, the IP address of the server is specified
on the MFF devices manually.
Figure 132 Network diagram
Configuration procedure
1. Configure IP addresses of the hosts, as shown in Figure 132.
2. Configure the IP address of VLAN-interface 1 on the gateway.
<Gateway> system-view
[Gateway] interface Vlan-interface 1
[Gateway-Vlan-interface1] ip address 10.1.1.100 24
3. Configure Switch A: