Description
Related command:
Example
dhcp relay security tracker
Syntax
View
Parameter
Description
interface interface-type interface-number: Specifies a Layer 3 interface
connecting to the DHCP client. interface-type interface-number specifies the
interface type and interface number.
all: Specifies all entries of client IP-to-MAC bindings to be removed.
dynamic: Specifies entries of dynamic client IP-to-MAC bindings to be removed.
static: Specifies entries of manual client IP-to-MAC bindings to be removed.
Use the
dhcp relay security static
binding, that is, the binding between IP address, MAC address, and Layer 3
interface on the relay agent.
Use the
undo dhcp relay security
entries from the relay agent.
No manual IP-to-MAC binding is configured on the DHCP relay agent by default.
Note that:
When using the dhcp relay security static command to bind an interface to a
static binding entry, make sure that the interface is configured as a DHCP relay
agent; otherwise, address entry conflicts may occur.
display dhcp relay security.
# Bind DHCP relay interface Ethernet 1/0 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 interf
ace ethernet 1/0
dhcp relay security tracker { interval | auto }
undo dhcp relay security tracker [ interval ]
System view
interval: Refreshing interval in seconds, in the range of 1 to 120.
auto: Specifies the auto refreshing interval, which is the value of 60 seconds
divided by the number of binding entries. Thus, the more entries are, the shorter
interval is, but the shortest interval is no less than 500 ms.
Use the
dhcp relay security tracker
which the relay agent contacts the DHCP server for refreshing dynamic bindings.
command to configure a static addressing
command to remove specified binding
command to set a refreshing interval at
733