80
Syntax
dhcp relay check mac-address aging-time time
undo dhcp relay check mac-address aging-time
Default
The aging time is 30 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
time: Specifies the aging time for MAC address check entries, in the range of 30 to 600 seconds.
Usage guidelines
This command takes effect only after you execute the dhcp relay check mac-address command.
Examples
# Set the aging time to 60 seconds for MAC address check entries on the DHCP relay agent.
<Sysname> system-view
[Sysname] dhcp relay check mac-address aging-time 60
dhcp relay client-information record
Use dhcp relay client-information record to enable recording client information in relay entries.
Use undo dhcp relay client-information record to disable the feature.
Syntax
dhcp relay client-information record
undo dhcp relay client-information record
Default
The DHCP relay agent does not record client information in relay entries.
Views
System view
Predefined user roles
network-admin
Usage guidelines
Client information is recorded only when the DHCP relay agent is configured on the gateway of
DHCP clients. A relay entry contains information about a client such as the client's IP and MAC
addresses.
Disabling the recording of client information deletes all recorded relay entries.
Examples
# Enable the recording of relay entries on the relay agent.
<Sysname> system-view
[Sysname] dhcp relay client-information record