Command Reference Guide

DHCP Client Commands
CLI Command Reference
September 2014 Page 401
HP Moonshot Switch Module CLI Command Reference
show dhcp l2relay vlan
This command displays DHCP vlan configuration.
clear dhcp l2relay statistics interface
Use this command to reset the DHCP L2 relay counters to zero. Specify the port with the counters to clear, or
use the
all keyword to clear the counters on all ports.
DHCP Client Commands
The HP Moonshot Switch Module can include vendor and configuration information in DHCP client requests
relayed to a DHCP server. This information is included in DHCP Option 60, Vendor Class Identifier. The
information is a string of 128 octets.
dhcp client vendor-id-option
This command enables the inclusion of DHCP Option-60, Vendor Class Identifier included in the requests
transmitted to the DHCP server by the DHCP client operating in the HP Moonshot Switch Module.
no dhcp client vendor-id-option
This command disables the inclusion of DHCP Option-60, Vendor Class Identifier included in the requests
transmitted to the DHCP server by the DHCP client operating in the HP Moonshot Switch Module.
Format
show dhcp l2relay vlan vlan-list
Mode Privileged EXEC
Parameter Description
vlan-list Enter VLAN IDs in the range 1–4093. Use a dash (–) to specify a range or a comma (,) to
separate VLAN IDs in a list. Spaces and zeros are not permitted.
Format
clear dhcp l2relay statistics interface {unit/slot/port | all}
Mode Privileged EXEC
Format
dhcp client vendor-id-option
Mode Global Config
Format
no dhcp client vendor-id-option
Mode Global Config