Dhcp Relay Information Format - HP 6125G Command Reference Manual

Layer 3 - ip services command reference
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Examples
# Enable Option 82 support on the relay agent.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] dhcp relay information enable

dhcp relay information format

Syntax
dhcp relay information format { normal | verbose [ node-identifier { mac | sysname | user-defined
node-identifier } ] }
undo dhcp relay information format
View
Interface view
Default level
2: System level
Parameters
normal: Specifies the normal padding format.
verbose: Specifies the verbose padding format.
node-identifier { mac | sysname | user-defined node-identifier }: Specifies the access node identifier. By
default, the node MAC address is used as the node identifier.
mac indicates using the MAC address as the node identifier.
sysname indicates using the device name of a node as the node identifier.
user-defined node-identifier indicates using a specified character string as the node identifier, in
which node-identifier is a string with 1 to 50 characters.
Description
Use dhcp relay information format to specify a padding format for Option 82.
Use undo dhcp relay information format to restore the default padding format.
The Option 82 padding format defaults to normal.
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
28

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents