Command Reference Guide
Network Interface Commands
CLI Command Reference
September 2014 Page 43
HP Moonshot Switch Module CLI Command Reference
Network Interface Commands
This section describes the commands you use to configure a logical interface for management access. To
configure the management VLAN, see “network mgmt_vlan” on page 298.
serviceport ip
This command sets the IP address, the netmask and the gateway of the network management port. You can
specify the
none option to clear the IPv4 address and mask and the default gateway (i.e., reset each of these
values to 0.0.0.0).
serviceport protocol
This command specifies the network management port configuration protocol. If you modify this value, the
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.
serviceport protocol dhcp
This command enables the DHCPv4 client on a Service 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 serviceport protocol dhcp client-id. To remove the
client-id option from the DHCP client messages, issue the command serviceport protocol dhcp without the
client-id option. The command serviceport 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) # serviceport protocol dhcp client-id
Format
serviceport ip {ipaddr netmask [gateway] | none}
Mode Privileged EXEC
Format
serviceport protocol {none | bootp | dhcp}
Mode Privileged EXEC
Default DHCP
Format
serviceport protocol dhcp [client-id]
Mode Privileged EXEC