HP Procurve 2650 Management And Configuration Manual page 136

Hide thumbs Also See for Procurve 2650:
Table of Contents

Advertisement

Configuring IP Addressing
IP Configuration
A Switch 4108GL with
IP Addressing and
VLANs Configured
Figure 5-3. Example of Show IP Listing with Non-Default IP Addressing Configured
N o t e
7-8
Configure an IP Address and Subnet Mask. The following command
includes both the IP address and the subnet mask. You must either include the
ID of the VLAN for which you are configuring IP addressing or go to the
context configuration level for that VLAN. (If you are not using VLANs on the
switch—that is, if the only VLAN is the default VLAN—then the VLAN ID is
always "1".)
The default IP address setting for the DEFAULT_VLAN is DHCP/Bootp. On
additional VLANs you create, the default IP address setting is Disabled.
vlan <vlan-id> ip address <ip-address/mask-length>
Syntax:
or
vlan <vlan-id> ip address <ip-address> <mask-bits>
or
vlan <vlan-id> ip address dhcp-bootp
This example configures IP addressing on the default VLAN with the subnet
mask specified in mask bits.
This example configures the same IP addressing as the preceding example,
but specifies the subnet mask by mask length.
HPswitch(config)# vlan 1 ip address 10.28.227.103/24
Configure the Optional Default Gateway. Using the Global configura-
tion level, you can assign one default gateway to the switch.
Syntax: ip default-gateway <ip-address>
For example:
HPswitch(config)# ip default-gateway 10.28.227.115

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve 6108

Table of Contents