beautypg.com

Configuring dhcp snooping basic functions – H3C Technologies H3C S5120 Series Switches User Manual

Page 257

background image

3-4

If a client’s
requesting

message has…

Handling

strategy

Padding

format

The DHCP snooping device will…

normal

Forward the message after replacing the
original Option 82 with the Option 82
padded in normal format.

verbose

Forward the message after replacing the
original Option 82 with the Option 82
padded in verbose format.

Replace

user-defined

Forward the message after replacing the
original Option 82 with the user-defined
Option 82.

— normal

Forward the message after adding the
Option 82 padded in normal format.

— verbose

Forward the message after adding the
Option 82 padded in verbose format.

no Option 82

— user-defined

Forward the message after adding the
user-defined Option 82.

The handling strategy and padding format for Option 82 on the DHCP snooping device are the same as

those on the relay agent.

Configuring DHCP Snooping Basic Functions

Follow these steps to configure DHCP snooping basic functions:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable DHCP snooping

dhcp-snooping

Required

Disabled by default.

Enter Ethernet interface view

interface interface-type
interface-number

Specify the port as trusted

dhcp-snooping trust
[ no-user-binding ]

Required

Untrusted by default.