Installation and Getting Started Guide
Configuring IP Parameters – Routing Switches
The following sections describe how to configure IP parameters. Some parameters can be configured globally while others can be configured on individual interfaces. Some parameters can be configured globally and overridden for individual interfaces.
NOTE: This section describes how to configure IP parameters for routing switches. For IP configuration information for the HP
Configuring IP Addresses
You can configure an IP address on the following types of routing switch interfaces:
•Ethernet port
•Virtual routing interface (also called a Virtual Ethernet or “VE”)
•Loopback interface
By default, you can configure up to 24 IP addresses on each interface. On the HP
HP ProCurve devices support both classical IP network masks (Class A, B, and C
•To enter a classical network mask, enter the mask in IP address format. For example, enter “209.157.22.99 255.255.255.0” for an IP address with a
•To enter a prefix network mask, enter a forward slash ( / ) and the number of bits in the mask immediately after the IP address. For example, enter “209.157.22.99/24” for an IP address that has a network mask with 24 significant bits (ones).
By default, the CLI displays network masks in classical IP address format (example: 255.255.255.0). You can change the display to prefix format. See “Changing the Network Mask Display to Prefix Format” on page
Assigning an IP Address to an Ethernet Port
To assign an IP address to an Ethernet port, use either of the following methods.
USING THE CLI
To assign an IP address to port 1/1, enter the following commands:
HP9300(config)# interface ethernet 1/1
Syntax: ip address
or
Syntax: ip address
Use the secondary parameter if you have already configured an IP address within the same
NOTE: You also can enter the IP address and mask in CIDR format, as follows:
6 - 18