59
dhcp relay security static
Syntax
dhcp relay security static
ip-address
mac
-
address
[
interface
interface-type interface-number
]
undo dhcp relay security
{
ip-address
|
all
|
dynamic
|
interface
interface-type interface-number
|
static
}
View
System view
Default level
2: System level
Parameters
ip-address
: Specifies the client IP address for creating a static binding.
mac-address
: Specifies the client MAC address for creating a static binding, in the format H-H-H.
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 that all client entries are to be removed.
dynamic
: Specifies that dynamic client entries are to be removed.
static
: Specifies that manual client entries are to be removed.
Description
Use the
dhcp relay security static
command to configure a static client entry, which is the binding
between IP address, MAC address, and Layer 3 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.
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.
The
undo dhcp relay security interface
command is used to remove all the dynamic client entries from the
interface.
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 10.10.1.1 0005-5d02-f2b3 interface vlan-interface 2
dhcp relay security refresh enable
Syntax
dhcp relay security refresh enable
undo dhcp relay security refresh enable
Содержание A5120 EI Series
Страница 26: ...18 Sysname Vlan interface1 ip address 202 38 160 1 255 255 255 0 sub ...
Страница 83: ...75 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 189: ...181 Sysname tcp ipv6 window 4 ...