Prerequisites – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 387

Advertising
background image

36-7

With this feature enabled, upon receiving a DHCP request, the DHCP relay agent will record the IP
address of the DHCP server which assigned an IP address to the DHCP client and the receiving
interface. The administrator can use this information to check out any DHCP unauthorized servers.

Follow these steps to enable unauthorized DHCP server detection:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable unauthorized DHCP server
detection

dhcp relay server-detect

Required
Disabled by default.

With the unauthorized DHCP server detection enabled, the device puts a record once for each DHCP
server. The administrator needs to find unauthorized DHCP servers from the log information. After the
recorded information of a DHCP server is cleared, a new record will be put for the DHCP server.

Configuring the DHCP Relay Agent to Support Option 82

Prerequisites

You need to complete the following tasks before configuring the DHCP relay agent to support Option 82.

z

Enabling DHCP

z

Enabling the DHCP relay agent on the specified interface

z

Correlating a DHCP server group with relay agent interfaces

Configuring the DHCP relay agent to support Option 82

Follow these steps to configure the DHCP relay agent to support Option 82:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter interface view

interface

interface-type

interface-number

Enable the relay agent to support
Option 82

dhcp relay information enable

Required
Disabled by default.

Configure the handling strategy for
requesting messages containing
Option 82

dhcp relay information strategy

{ drop | keep | replace }

Optional

replace

by default.

Configure the padding format for
Option 82

dhcp relay information format

{ normal | verbose
[ node-identifier { mac | sysname
| user-defined node-identifier } ] }

Optional

normal

by default.

Advertising