Configuring L2 and L3 Relay Features 937Configuring L2 and L3 Relay Features (CLI)This section provides information about the commands you use to configureL2 and L3 relay features on the switch. For more information about thecommands, see thePowerConnect M6220/M6348/M8024/M8024-k CLIReference Guide at support.dell.com/manuals.Configuring L2 DHCP RelayBeginning in Privileged EXEC mode, use the following commands toconfigure switch and interface L2 DHCP relay settings.Command Purposeconfigure Enter global configuration mode.dhcp l2relay Globally enable L2 DHCP relay on the switchinterfaceinterface Enter interface configuration mode for the specified portor LAG. Theinterface variable includes the interface typeand number, for example gigabitethernet 1/0/3. For aLAG, the interface type is port-channel.You can also specify a range of ports with the interfacerange command, for example, interface rangegigabitethernet 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 onreceiving DHCP packets.exit Exit to Global Configuration mode.dhcp l2relay vlanvlan-rangeEnable the L2 DHCP Relay agent for a set of VLANs. AllDHCP packets which arrive on interfaces in the configuredVLAN are subject to L2 Relay processing.dhcp l2relay circuit-idvlanvlan-rangeEnable setting the DHCP Option 82 Circuit ID for aVLAN. When enabled, the interface number is added asthe Circuit ID in DHCP option 82.