The set protocols dhcp relay option82 trust-all command is used to enable or disable Option 82 trust-all function for DHCP relay.
set protocols dhcp relay option82 trust-all <true | false>
<true | false>
Enables or disables Option 82 trust-all function, the value could be true or false:
By default, Option 82 trust-all function is disabled.
DHCP Discover/Request/Release/Decline/Inform packets received on the switch without giaddr but containing Option 82 are dropped by default. To allow these packets on the switch, PICOS supports Option 82 trust all function:
- If trust all is enabled, such packets will be processed according to the configuration of the Option 82 policy.
- If trust all is disabled, then drop the packets.
This command is useful if there is a switch in between the client and the relay agent that may insert Option 82. Use this command to ensure that these packets do not get dropped.
- Enable Option 82 trust-all function.
admin@Xorplus# set protocols dhcp relay option82 trust-all true