Assign A Permanent Ip Address - HP ProCurve 9315M Quick Start Manual

Routing switches software release 7.5.x or greater
Table of Contents

Advertisement

Quick Start 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-12.)
On the HP 9304M, HP 9308M, or HP 9315M, 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 4-
40.
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-14, enter
the password.
3.
Enter the following command at the Privileged EXEC level prompt (for example, HP9300#), then press Enter.
This command erases the factory test configuration if still present:
HP9300# erase startup-config
CAUTION:Use this step 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.
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 - 16
Privileged EXEC Level
Global CONFIG Level

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurv e9315m

Table of Contents