Command Manual – DHCP
H3C S7500E Series Ethernet Switches
Chapter 2 DHCP Relay Agent Configuration
Commands
2-6
undo dhcp relay security
{
ip-address |
all
|
dynamic
|
static
}
View
System view
Parameters
ip-address
: Client IP address for creating a static binding.
mac-address
: Client MAC address for creating a static binding, in the format H-H-H.
interface interface-type interface-number
: Specifies an interface connecting to the
DHCP client.
interface-type interface-number
specifies the interface type and interface
number.
all
: Specifies all client entries to be removed.
dynamic
: Specifies dynamic client entries to be removed.
static
: Specifies manual client entries to be removed.
Description
Use the
dhcp relay security static
command to configure a static client entry, that is,
the binding between IP address, MAC address, and VLAN interface on the relay agent.
Use the
undo dhcp relay security
command to remove specified client entries from
the relay agent.
No manual client entry 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
client entry, make sure that the interface is configured as a DHCP relay agent;
otherwise, entry conflicts may occur.
Related commands:
display dhcp relay security
.
Examples
# Bind DHCP relay interface VLAN-interface 2 to IP address 10.10.1.1 and MAC
address 0005-5d02-f2b3 of the client.
<Sysname> system-view
[Sysname] dhcp relay security static 1.1.1.1 0005-5d02-f2b3 interface
vlan-interface 2
2.1.8 dhcp relay security tracker
Syntax
dhcp relay security tracker
{
interval
|
auto
}
undo dhcp relay security tracker
[
interval
]