Command Reference Guide
Network Interface Commands
CLI Command Reference
September 2014 Page 44
HP Moonshot Switch Module CLI Command Reference
network parms
This command sets the IP address, subnet mask and gateway of the device. The IP address and the gateway
must be on the same subnet. When you specify the
none option, the IP address and subnet mask are set to the
factory defaults.
network protocol
This command specifies the network configuration protocol to be used. If you modify this value, change is
effective immediately. If you use the
bootp parameter, the switch periodically sends requests to a BootP server
until a response is received. If you use the
dhcp parameter, the switch periodically sends requests to a DHCP
server until a response is received. If you use the
none parameter, you must configure the network information
for the switch manually.
network protocol dhcp
This command enables the DHCPv4 client on a Network port. If the client-id optional parameter is given, the
DHCP client messages are sent with the client identifier option.
There is no support for the no form of the command network protocol dhcp client-id. To remove the
client-
id
option from the DHCP client messages, issue the command network protocol dhcp without the client-id
option. The command network protocol none can be used to disable the DHCP client and client-id option on
the interface.
Example: The following shows an example of the command.
(Routing) # network protocol dhcp client-id
Format
network parms {ipaddr netmask [gateway]| none}
Mode Privileged EXEC
Default none
Format
network protocol {none | bootp | dhcp}
Mode Privileged EXEC
Default none
Format
network protocol dhcp [client-id]
Mode Global Config