5-9
z
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.
z
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 tracker
Syntax
dhcp relay security tracker
{
interval
|
auto
}
undo dhcp relay security tracker
[
interval
]
View
System view
Default Level
2: System level
Parameters
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.
Description
Use the
dhcp relay security tracker
command to set a refreshing interval at which the relay agent
contacts the DHCP server for refreshing dynamic bindings.
Use the
undo dhcp relay security tracker
command to restore the default interval.
The default refreshing interval is
auto
, the value of 60 seconds divided by the number of binding
entries.
Examples
# Set the refreshing interval as 100 seconds.
<Sysname> system-view
[Sysname] dhcp relay security tracker 100
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...