R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
69
dynamic: Specifies dynamic client entries to be removed.
static: Specifies manual client entries to be removed.
Usage guidelines
Use the undo dhcp relay security command to remove specified client entries from the relay agent.
When using the dhcp relay security static command to bind an interface to a static client entry, make sure
that the interface is configured as a DHCP relay agent. Otherwise, entry conflicts might occur.
The undo dhcp relay security interface command is used to remove all dynamic client entries from the
interface.
Examples
# Bind DHCP relay interface GigabitEthernet 3/1/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
3/1/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