HP BladeSystem bc2800 Command Line Interface Reference Guide HP BladeSystem PC - Page 163
IP Addressing Commands, ip address
View all HP BladeSystem bc2800 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 163 highlights
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 HP PC Blade Switch CLI Reference Guide www.hp.com 11-1