Configure a DHCP L2 relay interface

You can configure a DHCP L2 relay on an interface.

To configure DHCP L2 relay interface:

  1. Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
    The System Information page displays.
  2. Select System > Services > DHCP L2 Relay > DHCP L2 Relay Interface Configuration.

    The DHCP L2 Relay Interface Configuration displays.

  3. Select whether to display physical interfaces, LAGs, or both by clicking one of the following links above the table heading:
    • 1 or Unit ID for a stacked switch:

      • 1: If no switch stack is configured, the physical interfaces for the switch are displayed.
      • Unit ID for a stacked switch: If a switch stack is configured, the physical interfaces for the switch with the selected stack unit ID are displayed.
    • LAG: Only LAGs are displayed.

    • All: Both physical interfaces and LAGs are displayed, or for a switch stack, both physical interfaces on all switches in the stack and LAGs are displayed.

  4. Select one or more interfaces by taking one of the following actions:
    • To configure a single interface, select the check box associated with the interface, or type the interface number in the Go To Interface field and click the Go button.

    • To configure multiple interfaces with the same settings, select the check box associated with each interface.

    • To configure all interfaces with the same settings, select the check box in the heading row.

  5. From the Admin mode menu, select to enable or disable the DHCP L2 relay on the interface.

    The default is Disable.

  6. From the 82 Option Trust Mode menu, select to enable or disable the interface as a trusted interface for Relay Agent Information option (Option 82).
  7. From the No 82 Option Trust Mode menu, select how the interface treats packets that are received without Option 82:
    • Drop: The interface drops packets that are received without Option 82.

    • Update: The interface adds Option 82 to packets that are received without Option 82.

    The settings of this menu can be in effect only if you select Enable from the 82 Option Trust Mode menu.

  8. Click the Apply button.

    Your settings are saved.

  9. To save the settings to the running configuration, click the Save icon.