HP PC Blade Switch CLI Reference Guide
www.hp.com
11-1
11
IP Addressing Commands
ip address
The
ip address
Interface Configuration (Ethernet, VLAN, port-channel) mode command sets an
IP address. To remove an IP address, use the
no
form of this command.
Syntax
ip address
ip-address
{
mask
|
prefix-length
}
no ip address
[
ip-address
]
Parameters
n
ip-address
—Valid IP address
n
mask
— Valid network mask of the IP address.
n
prefix-length
— Specifies the number of bits that comprise the IP address prefix. The prefix
length must be preceded by a forward slash (/). (Range: 8-30)
Default Setting
Two interfaces are configured:
n
one for VLAN 1
n
one for VLAN 2, with DHCP set by default
Command Mode
Interface Configuration (Ethernet, VLAN, port-channel) mode
Command Usage
An IP address cannot be configured for a range of interfaces (range context).
Example
The following command configures VLAN 1 with IP address 131.108.1.27 and subnet mask
255.255.255.0.
Console(config)
# interface vlan
1
Console(config-if)
# ip address
131.108.1.27 255.255.255.0
Summary of Contents for BladeSystem bc2000 - Blade PC
Page 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Page 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Page 142: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Page 152: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Page 162: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Page 178: ...1 1 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Page 194: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Page 202: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Page 208: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Page 216: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Page 272: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Page 362: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...