Configuring basic DHCP snooping features in a VXLAN network
About basic DHCP snooping features in a VXLAN network
In a VXLAN network, you can configure the following interfaces as DHCP snooping trusted interfaces:
ACs that are mapped to a VSI.
VXLAN tunnel interfaces that are assigned to a VSI.
When the VTEP with DHCP snooping configured receives a DHCP request, the VTEP forwards this request through the trusted ACs or VXLAN tunnel interfaces.
Restrictions and guidelines
If the DHCP server is in the local site, configure the AC that connects to the DHCP server as trusted. If the DHCP server is in a remote site, configure the VXLAN tunnel interface as trusted.
Configuring basic DHCP snooping features in a VXLAN network (DHCP server at the local site)
Enter system view.
system-view
Enable DHCP snooping globally.
dhcp snooping enable
By default, DHCP snooping is disabled globally.
Enter interface view.
interface interface-type interface-number
Enter Ethernet service instance view.
service-instance instance-id
Configure the AC as the DHCP snooping trusted interface.
dhcp snooping trust
By default, all ports are untrusted after DHCP snooping is enabled.
(Optional.) Enable recording of client information in DHCP snooping entries on the ACs mapped to the VSI and VXLAN tunnel interfaces assigned to the VSI.
Exit to interface view.
quit
Exit to the system view.
quit
Enter VSI view.
vsi vsi-name
Enable recording of client information in DHCP snooping entries on the ACs mapped to the VSI and VXLAN tunnel interfaces assigned to the VSI.
dhcp snooping binding record
By default, the recording of DHCP snooping entries is disabled.
Configuring basic DHCP snooping features in a VXLAN network (DHCP server at a remote site)
Enter system view.
system-view
Enable DHCP snooping globally.
dhcp snooping enable
By default, DHCP snooping is disabled globally.
Enter VSI view.
vsi vsi-name
Configure the VXLAN tunnel interfaces as the DHCP snooping trusted interface.
dhcp snooping trust tunnel
By default, all ports are untrusted after DHCP snooping is enabled.
This command sets all VXLAN tunnel interfaces in the VSI as DHCP snooping trusted interfaces.
(Optional.) Enable recording of client information in DHCP snooping entries on the ACs mapped to the VSI and VXLAN tunnel interfaces assigned to the VSI.
dhcp snooping binding record
By default, the recording of DHCP snooping entries is disabled.