Command Line Reference
Interface Commands
6-54
Command Usage
The primary and secondary name servers are queried in sequence.
Example
This example specifies two domain-name servers.
HP420(if-ethernet)#dns primary-server 192.168.1.55
HP420(if-ethernet)#dns secondary-server 10.1.0.55
HP420(if-ethernet)#
Related Commands
show interface ethernet (page 6-57)
ip address
This command sets the IP address for the (10/100Base-TX) Ethernet interface.
Use the no form to restore the default IP address.
Syntax
ip address <ip-address> <netmask> <gateway>
no ip address
•
ip-address - IP address
netmask - Network mask for the associated IP subnet. This mask
•
identifies the host address bits used for routing to specific subnets.
gateway - IP address of the default gateway
•
Default Setting
IP address: 192.168.1.1
Netmask: 255.255.255.0
Command Mode
Interface Configuration (Ethernet)
Command Usage
•
DHCP is enabled by default. To manually configure a new IP address,
you must first disable the DHCP client with the no ip dhcp command.
•
You must assign an IP address to this device to gain management
access over the network or to connect to existing IP subnets. You can
manually configure a specific IP address using this command, or
direct the device to obtain an address from a DHCP server using the