Administrator Guide

Layer-2 and Layer-3 Relay Features 1175
Configuring L2 and L3 Relay Features (CLI)
This section provides information about the commands used for configuring
L2 and L3 relay features on the switch. For more information about the
commands, see the
Dell Networking N1500, N2000, N3000, and N4000 Series
Switches CLI Reference Guide
at www.dell.com/support.
Configuring L2 DHCP Relay
Beginning in Privileged EXEC mode, use the following commands to
configure switch and interface L2 DHCP relay settings.
Command Purpose
configure Enter global configuration mode.
dhcp l2relay Globally enable L2 DHCP relay on the switch
interface
interface
Enter interface configuration mode for the specified port
or LAG. The
interface
variable includes the interface type
and number, for example tengigabitethernet 1/0/3. For a
LAG, the interface type is port-channel.
A range of ports can be specified using the interface range
command. For example, interface range
tengigabitethernet 1/0/8-12 configures interfaces 8, 9, 10,
11, and 12.
dhcp l2relay Enable L2 DHCP relay on the port(s) or LAG(s).
dhcp l2relay trust Configure the interface(s) to mandate Option-82 on
receiving DHCP packets.
exit Exit to Global Configuration mode.
dhcp l2relay vlan
vlan-
range
Enable the L2 DHCP Relay agent for a set of VLANs. All
DHCP packets which arrive on interfaces in the configured
VLAN are subject to L2 Relay processing.
dhcp l2relay circuit-id
vlan
vlan-range
Enable setting the DHCP Option 82 Circuit ID for a
VLAN. When enabled, the interface number is added as
the Circuit ID in DHCP option 82.