User Type | Command | Solution |
---|---|---|
Dynamic user | display dhcp snooping user-bind vlan vlan-id |
|
Static user | display dhcp static user-bind vlan vlan-id |
|
User Type | Item | Method | Solution |
---|---|---|---|
Dynamic user | DHCP snooping is enabled on the user interface. | Run the display this command in the user interface view to check whether the dhcp snooping enable command is configured. | If not, run this command. You can also run the dhcp snooping enable command in the VLAN view if the user interface has been added to the VLAN. |
Check that the network interface is configured as the trusted interface. | Run the display this command in the network interface view to check whether the dhcp snooping trusted command is configured. | If not, run this command. You can also run the dhcp snooping trusted command in the VLAN view if the network interface has been added to the VLAN. | |
Check that users can go online. | Run the display dhcp snooping user-bind vlan vlan-id command to check whether DHCP snooping entries exist. | If the user IP address does not match any of the DHCP snooping entries, the user cannot get online. Rectify the fault according to Some Users Cannot Obtain IP Addresses after DHCP Snooping Is Enabled or All Users Cannot Obtain IP Address after DHCP Snooping Is Enabled. | |
Static user | Check that a correct static gateway address is configured. | Run the display this command in the MFF-enabled VLAN view to check whether the mac-forced-forwarding static-gateway ip-address &<1-16> command is configured and whether the static user address is on the same network segment as the static gateway address. | If the mac-forced-forwarding static-gateway ip-address command is not configured or the static gateway address is on a different network segment than the static user address, run the mac-forced-forwarding static-gateway ip-address &<1-16> command to configure a static gateway that resides on the same network segment as the static user. |
Check whether the static user is correctly configured. | Run the display dhcp static user-bind vlan vlan-id command in the system view to check whether a binding entry maps the specified static user. | If no such binding entry exists, run the user-bind static command to configure a binding entry mapping the static user. |
If the fault persists, go to step c.
Run the debugging ethernet packet arp interface interface-type interface-number command in the user view to check whether the device receives the ARP reply packet from the gateway.
Run the display this command in the interface view, VLAN view, and system view to check whether a rate limit is set for ARP packets.
If the display this command output contains "arp anti-attack rate-limit", the rate limit is too small, which means ARP reply packets may be discarded. Run the arp anti-attack rate-limit command to increase the rate limit.