Table 3-15
Default settings related to DHCP option82
Parameter
Default Setting
Status of the DHCP option82 function
Global status: disabled
VLAN-level status: enabled
Status of the DHCP sub-option 7
function
Disabled
Status of the DHCP sub-option 90
function
Disabled
Procedure
Step 1
Configure the relay agent information option (RAIO). Before using the DHCP function, you
must configure the RAIO.
Run the
raio-mode
command to set the RAIO mode.
l
Select
dhcp-option82
as the corresponding mode.
l
In the user-defined mode, you need to run the
raio-format
command to configure the RAIO
format, and select
dhcp-option82
as the corresponding mode. To configure the user-defined
format, mainly configure the RID in the CID. If the access mode is not selected, the
configured format is valid to all access modes. If the access mode is selected, the configured
format is valid to only this access mode. For details about the RAIO format, see the
raio-
format
command.
–
CID identifies the attribute information of the device.
–
RID identifies the access information of the user.
l
In other modes, the RID format is fixed and therefore it need not be configured manually.
Step 2
(Optional) Set the service port to allow or prohibit the user-side DHCP packets that carry the
option82 information.
l
Run the
dhcp-option82 permit-forwarding service-port
command to set the service port
to allow or prohibit the DHCP packets that carry the option82 information.
The system adds the device name, shelf ID, slot ID, and port ID to the option82 field of
DHCP packets to generate new packets. If the service port is set to allow the packets carrying
the option82 information, tagged packets are forwarded. If the service port is set to prohibit
the packets carrying the option82 information, tagged packets are dropped.
Step 3
Enable or disable the DHCP option82 function.
Run the
dhcp option82
command to enable the DHCP option82 function on the port. By default,
the DHCP option82 function is disabled globally.
The DHCP option82 function can be enabled or disabled at two levels. The DHCP option82
function takes effect only when it is enabled at both levels.
1.
Global DHCP option82 function: Run the
dhcp option82
command to enable the DHCP
option82 function globally. By default, the DHCP option82 function is disabled globally.
2.
VLAN-level DHCP option82 function:
SmartAX MA5616 Multi-service Access Module
Configuration Guide
3 Basic Configuration
Issue 04 (2011-10-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
84