Prerequisites, Configuring the, Dhcp relay agent to support option 82 – H3C Technologies H3C S7500E Series Switches User Manual

Page 73

Advertising
background image

6-8

To do…

Use the command…

Remarks

Configure the DHCP relay agent to send a

DHCP-RELEASE request

dhcp relay release ip client-ip

Required

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.

Configure

non-user-defined

Option 82

Configure the code

type for the circuit

ID sub-option

dhcp relay information

circuit-id format-type { ascii |

hex }

Optional

By default, the code type

depends on the padding format

of Option 82. Each field has its

own code type.

The code type configuration

applies to non-user-defined

Option 82 only.

Advertising