F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
195
Examples
# Bind DHCP relay interface GigabitEthernet 0/1 to IP address 10.10.1.1 and MAC address
0005-5d02-f2b3 of the client.
<Sysname> system-view
[Sysname] dhcp relay security static 10.10.1.1 0005-5d02-f2b3 interface gigabitethernet
0/1
Related commands
display dhcp relay security
dhcp relay security refresh enable
Use dhcp relay security refresh enable to enable the DHCP relay agent to periodically refresh dynamic
client entries.
Use undo dhcp relay security refresh enable to disable periodic refresh of dynamic client entries.
Syntax
dhcp relay security refresh enable
undo dhcp relay security refresh enable
Default
The DHCP relay agent is enabled to periodically refresh dynamic client entries.
Views
System view
Default command level
2: System level
Usage guidelines
If you disable the DHCP relay agent from periodically refreshing dynamic client entries, such entries do
not age automatically. Therefore, if a client relinquishes its IP address, you need to manually remove the
corresponding dynamic client entry on the DHCP relay agent.
Examples
# Disable the DHCP relay agent from periodically refreshing dynamic client entries.
<Sysname> system-view
[Sysname] undo dhcp relay security refresh enable
Related commands
dhcp relay security tracker
dhcp relay security static
dhcp relay security tracker
Use dhcp relay security tracker to set a refreshing interval at which the relay agent contacts the DHCP
server for refreshing dynamic bindings.
Use undo dhcp relay security tracker to restore the default interval.