SROS Command Line Interface Reference Guide
Ethernet Interface Configuration Command Set
5991-2114
© Copyright 2007 Hewlett-Packard Development Company, L.P.
633
Default Values
<administrative distance>
By default, the administrative distance value is 1.
client-id
Optional. By default, the client identifier is populated using the following
formula:
TYPE: INTERFACE SPECIFIC INFO : MAC ADDRESS
Where TYPE specifies the media type in the form of one hexadecimal byte
(refer to
hardware-address <hardware-address> <type>
on page 1414 for
a detailed listing of media types) and the MAC ADDRESS is the Media
Access Control (MAC) address assigned to the first Ethernet interface in the
unit in the form of six hexadecimal bytes. (For units with a single Ethernet
interface, the MAC ADDRESS assigned to Ethernet 0/1 is used in this field).
hostname
<“string”>
By default, the hostname is the name configured using the Global Configuration
hostname
command.
Functional Notes
Dynamic Host Configuration Protocol (DHCP) allows interfaces to acquire a dynamically assigned IP
address from a configured DHCP server on the network. Many Internet Service Providers (ISPs) require
the use of DHCP when connecting to their services. Using DHCP reduces the number of dedicated IP
addresses the ISP must obtain. Consult your ISP to determine the proper values for the
client-id
and
hostname
fields.
Usage Examples
The following example enables DHCP operation on Ethernet interface 0/1:
ProCurve(config)#
interface eth 0/1
ProCurve(config-eth 0/1)#
ip address dhcp
The following example enables DHCP operation on the Ethernet interface 0/1 utilizing hostname
procurve
and does not allow obtaining a default route, domain name, or nameservers. It also sets the administrative
distance as
5
:
ProCurve(config)#
interface ethernet 0/1
ProCurve(config-eth 0/1)#
ip address dhcp hostname “procurve” no-default-route no-domain-name
no-nameservers 5