Hello, friend!
#raio-format dhcp-option82 cid xpon "sn.vlanid"
The raio-format command is used to configure the user-defined relay agent information option (RAIO) format.
dhcp-option82: Specifies DHCP option 82 as the working object. When the MA5800 functions as a DHCPv4 relay agent, use this parameter.
cid: Configures the circuit ID. It identifies the attribute information of the device.
xpon: Configures the CID/RID format of xPON access mode.
format-string: Indicates the combination of RAIO keyword and the separator defined by the system. The total number of keywords and separators cannot exceed 64. Character string type, a string of 1-127 characters.
#raio-mode user-defined dhcp-option82
The raio-mode command is used to configure the relay agent info option (RAIO) working mode. Different carriers may use different RAIO modes. To distinguish different modes, run this command to configure the RAIO working mode before enabling the DHCP Option 82 , PITP tag, ANCP functions. After the configuration is successful, the device reports the user port information in the configured working mode.
user-defined: Indicates the user-defined mode. The RAIO format configured by the raio-format(profile-mode) command is used.
dhcp-Option82: Specifies DHCP option 82 as the working object. When the MA5800 functions as a DHCPv4 relay agent, use this parameter.
#dhcp mode layer-3 standard
The dhcp mode command is used to set the DHCP forwarding mode. To set the DHCP forwarding mode to layer-2 or layer-3, run this command. The mode of processing DHCP packets by the system varies with the forwarding mode.
layer-3: Indicates the DHCP layer 3 forwarding mode. The DHCP layer 3 forwarding mode includes three DHCP server selection modes: DHCP standard mode, DHCP option 60 mode, and MAC address segment mode.
standard: Indicates the DHCP standard mode. In this mode, a DHCP server is selected for the packet based on the VLAN layer 3 interface that forwards DHCP packets.
#dhcp option82 forward
The dhcp option82 command is used to enable or disable the DHCP option82 feature. The DHCP feature does not have any mechanism for authentication or security. Thus, the DHCP feature encounters many security problems when it is used in the network. To solve these problems, the DHCP option82 is introduced. After the DHCP option82 feature is enabled, the BRAS can authenticate IDs of access users. After the DHCP option82 feature is disabled, the device does not process packets.
#dhcp server mode backup 20 10
The dhcp server mode command is used to set the working mode of the DHCP server. When you need to set the working mode of the DHCP server for transmitting DHCP packets, run this command. After the setting succeeds, the DHCP server works in the set working mode.
backup: Indicates the active/standby mode. It refers to that the system sends the DHCP packets from users only to the current server. By default, the current server is the active server of the server group. When the link to the active server is disconnected, the link is switched to the standby server.
20: Indicates the time-out time for the server to respond the offer packet. This parameter is configurable. The timer starts after the device sends the DHCP discover packet to the active server and stops after the device receives the DHCP offer packet from the active server. If the timer times out, the nonresponse count increases with 1.
10: Indicates the time-out number for the server to respond the offer packet. This parameter is configurable. In active/standby mode, the timer starts after the device sends the DHCP discover packet to the active server and stops after the device receives the DHCP offer packet from the active server. If the nonresponse count is larger or equal to the count set by the user, the current server is switched to the standby one, the timer of the server group is stopped, the time-out count of the timer is cleared, and the current server is backed up to the standby board in the HA (command line delivery) mode.
#dhcp-server 1 ip X.X.X.X
The dhcp-server command is used to configure the IP address, description information, and priority of a DHCP server group. To identify a DHCP server group, you need to set at least one IP address for each DHCP server group. For the convenience of management, a DHCP server group needs added a description to be identified. To process packets flexibly, configure the priority of a DHCP server group.
Thanks!