DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 433
enable address_binding dhcp_snoop
The auto-learned IP-MAC binding entry will be mapped to a specific source port
based on the MAC address learning function. This entry will be created as an Auto-
mode binding entry for this specific port. Each entry is associated with a lease
time. When the lease time expired, the expired entry will be removed from this
port. The auto-learned binding entry can be moved from one port to another port if
the DHCP snooping function has learned that the MAC address is moved to a
different port.
Consider the case that a binding entry learned by DHCP snooping is conflict with the
statically configured entry. The conflict case means that the binding relation is
conflict. For example, if IP A is binded with MAC X by static configuration,
supposed that the binding entry learned by DHCP snooping is IP A binded by MAC
Y, then it is conflict. When the DHCP snooping learned entry is binded with the
static configured entry, then the DHCP snooping learned entry will not be created.
Consider the other conflict case when the DHCP snooping learned a binding entry,
and the same IP-MAC binding pair has been statically configured. Supposed that
the learned information is consitent with the static configured entry, then the auto-
learned will not be created. Supposed that the entry is statically configured in ARP
mode, then the auto learned entry will not be created. Supposed that the entry is
statically configured on one port and the entry is auto-learned on another port, then
the auto-learned entry will not be created either.
Parameters
ipv6
- Enable DHCP Snooping for IPv6.
all -
Enable IPv4 and IPv6 DHCP Snooping.
If no parameter specified, enables IPv4 Snooping.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable address_binding auto_mode on the Switch:
DGS-3700-12:5#enable address_binding dhcp_snoop
Command: enable address_binding dhcp_snoop
Success.
DGS-3700-12:5#
disable address_binding dhcp_snoop
Purpose
To disable the address binding auto mode.
Syntax
disable address_binding dhcp_snoop { [ ipv6 | all ] }
Description
When the DHCP snoop function is disabled, all of the auto-learned binding entries
will be removed.
Parameters
ipv6
- Disable IPv6 DHCP Snooping.
all -
Disable IPv4 and IPv6 DHCP Snooping.
If no parameter specified, disables IPv4 Snooping.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable the address binding auto mode: