DHCP extension on S series switches

You can use extended DHCP functions on S series switches as follows:

# How can authorized users with static IP addresses go online?
After DHCP snooping and IPSG functions are enabled (using the ip source check user-bind enable command) on the switch, if an authorized user connects to the switch using a static IP address, the switch will discard packets of the user because there is no matching dynamic binding entry. As a result, the user cannot go online. In this case, you can run a command to configure a static binding entry for the user:
In the system view, run user-bind static { { { ip-address | ipv6-address } { start-ip [ to end-ip ] } &<1-10> | ipv6-prefix prefix/prefix-length } | mac-address mac-address } * [ interface interface-type interface-number ] [ vlan vlan-id [ ce-vlan ce-vlan-id ] ].
When configuring a static binding entry, select at least two of the four elements: IP address, MAC address, interface, and VLAN. The switch allows you to bind all the four elements.
After the static binding entry is created for the user, the user can go online. If the user changes the IP address, the original static binding entry will become invalid. As there is no matching dynamic or static binding entry for this user, the user cannot go online.

Scroll to top