Configuring dhcp snooping basic functions, Configuring dhcp snooping to support option 82, Prerequisites – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 397

Advertising
background image

38-4

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 port view

interface interface-type
interface-number

Specify the port as trusted

dhcp-snooping trust

[ no-user-binding ]

Required
Untrusted by default.

z

You need to specify the ports connected to the valid DHCP servers as trusted to ensure that DHCP
clients can obtain valid IP addresses. The trusted port and the port connected to the DHCP client
must be in the same VLAN.

z

You are not recommended to configure both the DHCP snooping and selective Q-in-Q function on
the switch, which may result in the DHCP snooping to function abnormally.

Configuring DHCP Snooping to Support Option 82

Prerequisites

You need to enable the DHCP Snooping function before configuring DHCP Snooping to support Option
82.

Configuring DHCP Snooping to Support Option 82

Follow these steps to configure DHCP snooping to support Option 82:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Ethernet port view

interface

interface-type

interface-number

Enable DHCP Snooping to support
Option 82

dhcp-snooping information
enable

Required
Disabled by default.

Advertising