set protocols dhcp relay option82 trust-all


The set protocols dhcp relay option82 trust-all command is used to enable or disable Option 82 trust-all function for DHCP relay.


Command Syntax

set protocols dhcp relay option82 trust-all <true | false>


Parameters

Parameter

Description

<true | false>

Enables or disables Option 82 trust-all function, the value could be true or false:

  • true: Enables Option 82 trust-all function.
  • false: Disables Option 82 trust-all function.

By default, Option 82 trust-all function is disabled.


Usage Guidelines

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.


Example

  • Enable Option 82 trust-all function.
admin@Xorplus# set protocols dhcp relay option82 trust-all true

Copyright © 2024 Pica8 Inc. All Rights Reserved.