Got it

DHCPoption82

Created: Jul 15, 2021 06:52:30Latest reply: Jul 15, 2021 09:32:09 393 3 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

I must put commands for DHCP+comand for security. Can someone explain me these commands?
#raio-format dhcp-option82 cid xpon "sn.vlanid"
#raio-mode user-defined dhcp-option82
#dhcp mode layer-3 standard
#dhcp option82 forward
#dhcp server mode backup 20 10
#dhcp-server 1 ip X.X.X.X
And every service VLAN has command: #dhcp-server 1.  

Featured Answers

Best answer

Recommended answer

Chenxintao
Admin Created Jul 15, 2021 09:32:09

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.


  • forward: Enables the DHCP option82 transparent transmission feature. DHCP option 82 is an option with the code 82 and is used to identify the physical location information of a user.


#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.


  • 1: group-number

    Indicates the number of the DHCP server group. It identifies a DHCP server group. The value is set based on the current DHCP server groups that can be configured in the system. In general, a server group corresponds to a DHCP server group number.



Thanks!

View more
  • x
  • convention:

Vlada85
Vlada85 Created Jul 15, 2021 09:44:37 (0) (0)
Thank you very much!  
All Answers
Hello, friend!
It's nice to meet you in the community.
We're working on getting the right answer for you.
View more
  • x
  • convention:

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.


  • forward: Enables the DHCP option82 transparent transmission feature. DHCP option 82 is an option with the code 82 and is used to identify the physical location information of a user.


#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.


  • 1: group-number

    Indicates the number of the DHCP server group. It identifies a DHCP server group. The value is set based on the current DHCP server groups that can be configured in the system. In general, a server group corresponds to a DHCP server group number.



Thanks!

View more
  • x
  • convention:

Vlada85
Vlada85 Created Jul 15, 2021 09:44:37 (0) (0)
Thank you very much!  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.