5-5
z
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.
z
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.
z
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.
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.
Note that:
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...