Displaying and maintaining the dhcp relay agent – H3C Technologies H3C SecPath F1000-E User Manual

Page 225

Advertising
background image

200

Step Command

Remarks

5.

Configure

non-user-defined
Option 82.

Configure the padding format for Option

82
dhcp relay information format { normal |

verbose [ node-identifier { mac |

sysname | user-defined
node-identifier } ] }

Configure the code type for the circuit ID

sub-option
dhcp relay information circuit-id

format-type { ascii | hex }

Configure the code type for the remote ID

sub-option

dhcp relay information remote-id

format-type { ascii | hex }

Optional.
By default,

The padding format for

Option 82 is normal.

The code type 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.

The remote ID sub-option
configuration and the circuit ID

sub-option configuration apply
to non-user-defined Option 82

only.

6.

Configure user-defined
Option 82.

Configure the padding content for the

circuit ID sub-option

dhcp relay information circuit-id string
circuit-id

Configure the padding content for the

remote ID sub-option
dhcp relay information remote-id string

{ remote-id | sysname }

Optional.
By default, the padding content
depends on the padding format

of Option 82.

NOTE:

To support Option 82, perform related configuration on both the DHCP server and relay agent. See
"Configuring DHCP server " for DHCP server configuration of this kind.

If the handling strategy of the DHCP relay agent is configured as replace, you need to configure a
padding format for Option 82. If the handling strategy is keep or drop, you need not configure any
padding format.

If sub-option 1 (node identifier) of Option 82 is padded with the device name (sysname) of a node, the
device name must contain no spaces. Otherwise, the DHCP relay agent will drop the message.

Displaying and maintaining the DHCP relay agent

Task Command

Remarks

Display information about DHCP server
groups correlated to a specified or all
interfaces.

display dhcp relay { all | interface
interface-type interface-number } [ | { begin
| exclude | include } regular-expression ]

Available in any
view

Display Option 82 configuration
information on the DHCP relay agent.

display dhcp relay information { all |
interface interface-type interface-number }

[ | { begin | exclude | include }

regular-expression ]

Available in any
view

Display information about bindings of
DHCP relay agents.

display dhcp relay security [ ip-address |
dynamic | static ] [ | { begin | exclude |

include } regular-expression ]

Available in any
view

Advertising