System information

Command Line Reference
Ethernet Interface Commands
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
ip dhcp command. Valid IP addresses consist of four numbers, 0 to
255, separated by periods. Anything other than this format will not be
accepted by the configuration program.
Example
HP420(config)#interface ethernet
Enter Ethernet configuration commands, one per line.
HP420(if-ethernet)#ip address 192.168.1.2 255.255.255.0
192.168.1.253
HP420(if-ethernet)#
Related Commands
ip dhcp (page 8-89)
8-88