Configuring Option 82
Follow these guidelines when you configure Option 82:
•
To support Option 82, you must perform related configuration on both the DHCP server and
relay agent. For DHCP server Option 82 configuration, see
•
If the handling strategy is replace, configure a padding mode and padding format for Option 82.
If the handling strategy is keep or drop, you do not need to configure any padding mode or
padding format for Option 82. The settings do not take effect even if you configure them.
•
The device name (sysname) must not include spaces if it is configured as the padding content
for sub-option 1. Otherwise, the DHCP relay agent will fail to add or replace Option 82.
To configure Option 82:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Enable the relay agent to handle
Option 82.
4.
(Optional.) Configure the strategy
for handling DHCP requests that
contain Option 82.
5.
(Optional.) Configure the padding
mode and padding format for the
Circuit ID sub-option.
6.
(Optional.) Configure the padding
mode and padding format for the
Remote ID sub-option.
Setting the DSCP value for DHCP packets sent by
the DHCP relay agent
The DSCP value of a packet specifies the priority level of the packet and affects the transmission
priority of the packet.
To set the DSCP value for DHCP packets sent by the DHCP relay agent:
Step
1.
Enter system view.
2.
Set the DSCP value for DHCP
packets sent by the DHCP
relay agent.
Command
system-view
interface interface-type
interface-number
dhcp relay information enable
dhcp relay information strategy
{ drop | keep | replace }
dhcp relay information circuit-id
{ { normal | verbose
[ node-identifier { mac | sysname
| user-defined node-identifier } ]
[ interface ] } [ format { ascii |
hex } ] }
dhcp relay information remote-id
{ normal [ format { ascii | hex } ] |
string remote-id | sysname }
Command
system-view
dhcp dscp dscp-value
78
"Enabling handling of Option
Remarks
N/A
N/A
By default, handling of
Option 82 is disabled.
By default, the handling
strategy is replace.
By default, the padding
mode for Circuit ID
sub-option is normal, and
the padding format is hex.
By default, the padding
mode for the Remote ID
sub-option is normal, and
the padding format is hex.
Remarks
N/A
By default, the DSCP value in DHCP
packets sent by the DHCP relay agent is
56.
82."
Need help?
Do you have a question about the FlexNetwork MSR Series and is the answer not in the manual?