To allow a DHCPv6 server to detect client locations on a DHCPv6 network, configure the lightweight DHCPv6 relay agent (LDRA) on the client-side access device.
After the LDRA is configured on a DHCPv6 network with a large number of trusted clients, disable the device from generating DHCP snooping binding entries. Without this function enabled, new users cannot go online if the number of DHCP snooping binding entries reaches the upper limit. In addition, the LDRA-enabled device inserts the interface-ID or remote-ID option into the Relay-Forward message to record client location information. Configure the formats of interface-ID and remote-ID depending on the actual location of users on the network.
The system view is displayed.
The VLAN view is displayed.
The LDRA is enabled for DHCPv6 snooping.
By default, the LDRA is disabled for DHCPv6 snooping.
Return to the system view.
The format of the interface-id option in the DHCPv6 packets is configured.
By default, the interface-id option is in the default format.
The format of the remote-id option in the DHCPv6 packets is configured.
By default, the remote-id option is in the default format.
When this configuration is performed in the VLAN view, the configuration takes effect for all DHCP users belonging to this VLAN on all interfaces. When this configuration is performed in the interface view, the configuration takes effect for all DHCP users connecting to this interface.
By default, an interface generates DHCP snooping binding entries after DHCP snooping is enabled.
Configuration Dimension |
Step |
---|---|
VLAN-based configuration |
For a batch of VLANs in the system view
For a single VLAN in the VLAN view
|
Interface-based configuration |
|