The dhcp snooping nni server enable command enables NNIs to send DHCP reply messages to the host in a VSI scenario.
The undo dhcp snooping nni server enable command disables NNIs from sending DHCP reply messages to the host in a VSI scenario.
By default, NNIs are not enabled to send DHCP reply messages to the host in a VSI scenario.
Usage Scenario
In a VSI scenario, if DHCP snooping needs to be configured for an AC interface when the DHCP server is deployed on the network side, you can run the dhcp snooping nni server enable command to enable NNIs to send DHCP reply messages to the host. After the command is run, binding entries can be generated, and users can go online.
Prerequisites
DHCP snooping has been enabled globally using the dhcp snooping enable command.
Follow-up Procedure
Enable DHCP snooping on an AC interface using the dhcp snooping enable command.
Precautions
In a VSI scenario, if dhcp snooping enable and dhcp snooping trusted commands are run on an NNI, and the dhcp snooping nni server enable command is run in the VSI view, the configurations on the NNI take effect. If multiple VSIs share the same NNI, the dhcp snooping nni server enable command takes effect on all VSIs, which may provoke the following problems: