(Optional) Configuring MFF Security
Context
In MFF networking, the Switch may dynamically learn user information using ARP snooping. If these users forge ARP request packets, the Switch learns incorrect user information. This wastes device resources, and the Switch fails to learn information about authorized users and to process their legitimate services.
You can disable dynamic user learning of ARP snooping so that the Switch does not learn information about unauthorized users, or set the maximum number of users in a VLAN because the number of DHCP users or static users is often fixed.
- MFF supports the following users: users dynamically learned by the Switch using DHCP snooping, users matching static binding entries, and users learned by the Switch using ARP snooping
- Before disabling dynamic user learning, the Switch has dynamically learned users using DHCP snooping or users matching static binding entries.
Procedure
Disabling dynamic user learning
Run system-view
The system view is displayed.
Run vlan vlan-id
The VLAN view is displayed.
Run mac-forced-forwarding learning dynamic-user disable
Dynamic user learning is disabled in the VLAN.
By default, dynamic user learning is enabled.
Run commit
The configuration is committed.
Setting the maximum number of users
Run system-view
The system view is displayed.
Run vlan vlan-id
The VLAN view is displayed.
Run mac-forced-forwarding max-user max-user-number
The maximum number of users in the VLAN is set.
By default, the maximum number of users is not set.
Run commit
The configuration is committed.