Enable dhcp-snooping option 82 support – H3C Technologies H3C S3100 Series Switches User Manual

Page 540

Advertising
background image

3-8

z

Only the S3100-EI series among S3100 series switches support the DHCP-snooping Option 82

support feature.

z

Enable DHCP snooping and specify trusted ports on the switch before configuring DHCP snooping

to support Option 82.

Table 3-1 DHCP-snooping Option 82 support configuration task list

Task

Remarks

Enable DHCP-snooping Option 82 support

Required

Follow these steps to configure a handling policy for DHCP packets with
Option 82

Optional

Configure the storage format of Option 82

Optional

Configure the circuit ID sub-option

Optional

Configure the remote ID sub-option

Optional

Configure the padding format for Option 82

Optional

Enable DHCP-snooping Option 82 support

Follow these steps to enable DHCP-snooping Option 82 support:

Operation

Command

Description

Enter system view

system-view

Enable DHCP-snooping Option
82 support

dhcp-snooping information
enable

Required

By default, DHCP snooping
Option 82 support is disabled.

Configure a handling policy for DHCP packets with Option 82

Follow these steps to configure a handling policy for DHCP packets with Option 82:

Operation

Command

Description

Enter system view

system-view

Optional

Configure a global handling
policy for requests that contain
Option 82

dhcp-snooping information
strategy
{ drop | keep |
replace
}

Optional

The default handling policy is
replace.

Enter Ethernet port view

interface interface-type
interface-number

Configure a handling policy for
requests that contain Option 82
received on the specified
interface

dhcp-snooping information
strategy
{ drop | keep |
replace
}

Optional

The default policy is replace.

Advertising