Configure DHCP snooping interface settings

You can display and configure each port as a trusted or untrusted port. Any DHCP responses received on a trusted port are forwarded. If a port is configured as untrusted, any DHCP (or BootP) responses received on that port are discarded.

To configure DHCP snooping interface settings:

  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 Security > Control > DHCP Snooping > Interface Configuration.

    The Interface Configuration page 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 port, or type the port 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 Trust Mode menu, select the trust mode:
    • Disabled: The interface is considered to be untrusted and could potentially be used to launch a network attack. DHCP server messages are checked against the bindings database. On untrusted ports, DHCP snooping enforces the following security rules:

      • DHCP packets from a DHCP server are dropped.

      • DHCP messages are dropped if the MAC address is in the snooping database but the binding’s interface is other than the interface where the message was received.

      • DHCP packets are dropped if the source MAC address does not match the client hardware address and if MAC address validation is globally enabled.

    • Enabled: The interface is considered to be trusted and forwards DHCP server messages without validation.

  6. From the Invalid Packets menu, select the packet logging mode.

    When enabled, the DHCP snooping feature generates a log message when an invalid packet is received and dropped by the interface.

  7. In the Rate Limit (pps) field, specify the rate limit value for DHCP snooping purposes.

    If the incoming rate of DHCP packets per second exceeds the configured burst interval per second, the port shuts down. If the rate limit is None (which is the default), the burst interval is also not applicable, and rate limiting is disabled.

  8. In the Burst Interval (secs) field, specify the burst interval in seconds for rate limiting on the interface.

    If the rate limit is N/A, the burst interval is not applicable.

  9. Click the Apply button.

    Your settings are saved.

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