H3C Technologies H3C S12500 Series Switches User Manual

Page 93

Advertising
background image

79

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type interface-number

N/A

3.

Enable DHCP

snooping to support
Option 82.

dhcp-snooping information enable

Disabled by default.

4.

Configure the

handling strategy for
requesting messages

containing Option 82.

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

Optional.
replace by default.

5.

Configure Option 82
in the

non-user-defined.

Configure the padding format for
Option 82:

dhcp-snooping information format

{ normal | private <1-1> | standard |

verbose [ node-identifier { mac |
sysname | user-defined

node-identifier } ] }

Configure the code type for the circuit

ID sub-option:

dhcp-snooping information circuit-id

format-type { ascii | hex }

Configure the code type for the remote

ID sub-option:

dhcp-snooping information remote-id
format-type { ascii | hex }

Enable sub-option 9:

dhcp-snooping information [ vlan

vlan-id ] sub-option sub-option-code

Optional.
By default:

The padding format for Option

82 is normal.

The code type for the circuit ID

sub-option depends on the

padding format of Option 82.

Each field has its own code
type.

The code type for the remote ID

sub-option is hex.

Sub-option 9 is not enabled.

The code type configuration for the

circuit ID sub-option and the remote

ID sub-option apply to
non-user-defined Option 82 only.
The private padding format
supports only the hex code type.
For sub-option 9, when append

strategy is adopted, the sysname
and the primary IP address of the

Loopback0 interface are padded.

When some other strategy is
adopted, only the sysname is

padded.

Advertising