Enabling the DHCPv6 relay agent to record relay entries
About enabling the DHCPv6 relay agent to record relay entries
This feature enables the DHCPv6 relay agent to automatically record DHCPv6 relay entries after DHCPv6 clients obtain IPv6 addresses or prefixes through DHCPv6. A DHCPv6 relay entry contains the binding between a client's hardware address and IPv6 address or prefix.
Some security features, such as IP source guard, use DHCPv6 relay entries to check incoming packets and block packets that do not match any entry. Hosts using manually configured IPv6 addresses are denied to access external networks through the relay agent. For more information about IP source guard, see Security Configuration Guide.
Procedure
Enter system view.
system-view
Enter interface view.
interface interface-type interface-number
Enable the recording of DHCPv6 relay entries.
ipv6 dhcp relay client-information record
By default, the DHCPv6 relay agent does not record relay entries.