Dhcp Relay Information Remote-Id Format-Type - HP A5120 EI Series Command Reference Manual

Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

NOTE:
Using the undo dhcp relay information format command without the keyword verbose node-identifier restores
the default normal padding format, or with the keyword verbose node-identifier restores the mac mode of the
verbose padding format.
If configuring the handling strategy of the DHCP relay agent as replace, you need to configure a padding
format of 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.
Related commands: display dhcp relay information.
Examples
# Specify the verbose padding format for Option 82.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] dhcp relay information enable
[Sysname-Vlan-interface1] dhcp relay information strategy replace
[Sysname-Vlan-interface1] dhcp relay information format verbose

dhcp relay information remote-id format-type

Syntax
dhcp relay information remote-id format-type { ascii | hex }
undo dhcp relay information remote-id format-type
View
Interface view
Default level
2: System view
Parameters
ascii: Specifies the code type for the remote ID sub-option as ascii.
hex: Specifies the code type for the remote ID sub-option as hex.
Description
Use the dhcp relay information remote-id format-type command to configure the code type for the non-
user-defined remote ID sub-option.
Use the undo dhcp relay information remote-id format-type command to restore the default.
By default, the code type for the remote ID sub-option is HEX.
This command applies only to configuring the non-user-defined remote ID sub-option. After you configure
the padding content for the remote ID sub-option using the dhcp relay information remote-id string
command, ASCII is adopted as the code type.
Related commands: display dhcp relay information.
Examples
# Configure the code type for the non-user-defined remote ID sub-option as ascii.
<Sysname> system-view
56

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents