Assign A Permanent Ip Address - HP ProCurve 9304M Installation And Configuration Manual

Routing switches
Hide thumbs Also See for ProCurve 9304M:
Table of Contents

Advertisement

Installation and Basic Configuration Guide
5. Enter boot system flash primary.
6. After the console prompt reappears, assign a new password.

Assign a Permanent IP Address

Before attaching an HP Routing Switch to your network, you must assign an interface IP address to the sub-net on
which the Routing Switch will be located. For subsequent addresses, you also can use the CLI through Telnet or
use the Web management interface.
Using a serial connection is the recommended method for assigning the first IP address on a Routing Switch.
(You also can use Telnet with a direct, terminal-to-device LAN connection if necessary—see "Attaching a PC or
Terminal Using a Direct LAN Connection" on page 2-14.)
On the HP 9300 series, you can configure up to 24 IP interfaces on each port, virtual interface, and loopback
interface. See "Displaying and Modifying System Parameter Default Settings" on page 6-44.
The following procedure shows how to add an IP address and mask to a Routing Switch port.
1. At the opening CLI prompt, enter enable.
HP9300> enable
2. If you are prompted for the password you created in "Assigning a Permanent Password" on page 2-16, enter
the password.
CAUTION: Use Step 3 only for new systems. If you enter this command on a system you have already
configured, the command erases the configuration. If you accidentally do erase the configuration on a
configured system, enter the write memory command to save the running configuration to the startup-config
file.
3. For new systems only, enter the following command at the Privileged EXEC level
HP9300#), then press Enter. This command erases the factory test configuration
HP9300# erase startup-config
4. Access the configuration level of the CLI by entering the following command:
HP9300# configure terminal
HP9300(config)#
5. Set the IP and mask addresses.
HP9300(config)# int e 1/5
HP9300(config-if-1/5)# ip address 192.22.3.44 255.255.255.0
NOTE: You can use the syntax, ip address <ip-addr> /<mask-bits> if you know the sub-net mask length. In
the above example, you could enter ip address 192.22.3.44/24.
Syntax: enable [<password>]
Syntax: configure terminal
Syntax: [no] ip address <ip-addr> <ip-mask> [secondary]
or
Syntax: [no] ip address <ip-addr>/<mask-bits> [secondary]
Use the secondary parameter if you have already configured an IP address within the same sub-net on the
interface.
2 - 18
Privileged EXEC Level
Global CONFIG Level
prompt (for example,
if still present:

Advertisement

Table of Contents
loading

Table of Contents