733

interface interface-typeinterface-number: Specifies a Layer 3 interface connecting to the DHCP client. interface-typeinterface-numberspecifies 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.

Description Use the dhcp relay security static command to configure a static addressing binding, that 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 binding 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.

Related command: display dhcp relay security.

Example # 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

Syntax dhcp relay security tracker { interval auto }

undo dhcp relay security tracker [ interval ]

View System view

Parameter 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.

Page 733
Image 733
3Com MSR 50, MSR 30 manual Dhcp relay security tracker, Related command display dhcp relay security, 733