
2-4
# Configure the DHCP relay agent handling strategy for messages containing Option 82 sent by the
DHCP client as
drop
.
[Sysname] dhcp relay information strategy drop
dhcp-security static
Syntax
dhcp-security static ip-address
mac
-
address
undo dhcp-security
{
ip-address |
all
|
dynamic
|
static
}
View
System view
Parameters
ip-address
: User IP address.
mac-address
: User MAC address.
all
: Removes all user address entries.
dynamic
: Removes dynamic user address entries.
static
: Removes static user address entries.
Description
Use the
dhcp-security static
command to configure a static DHCP address binding entry.
Use the
undo dhcp-security
command to remove one or all address binding entries, or all address
binding entries of a specified type.
Note that among S3600 series switches, only S3600-EI series switches support the two commands.
Related commands:
display dhcp-security
.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z
# Configure a static address binding entry, with the IP address being 1.1.1.1 and the MAC address
being 0005-5D02-F2B3.
[Sysname] dhcp-security static 1.1.1.1 0005-5D02-F2B3
dhcp-security tracker
Syntax
dhcp-security tracker
{
interval
|
auto
}
undo dhcp-security tracker
[
interval
]
View
System view