Basic Operation Guide 2014/02

Example 76 The switch’s default IP addressing
HP Switch> show ip
Internet (IP) Service
IP Routing : Disabled
Default Gateway :
Default TTL : 64
Arp Age : 20
Domain Suffix :
DNS server :
| Proxy ARP
VLAN | IP Config IP Address Subnet Mask Std Local
--------------------- + ---------- --------------- -------------- ----------
DEFAULT_VLAN | DHCP/Bootp
With multiple VLANs and some other features configured, show ip provides additional information:
Example 77 Show IP listing with non-default IP addressing configured
HP Switch(config)# show ip
Internet (IP) Service
IP Routing : Disabled
Default Gateway : 10.20.227.1
Default TTL : 64
Arp Age : 20
Domain Suffix :
DNS server :
| Proxy ARP
VLAN | IP Config IP Address Subnet Mask Std Local
--------------------- + ---------- --------------- -------------- ----------
DEFAULT_VLAN | Manual 10.28.227.101 255.255.248.0 No No
VLAN22 | Disabled
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".)
NOTE: The default IP address setting for the DEFAULT_VLAN is DHCP/Bootp. On additional
VLANs you create, the default IP address setting is disabled.
Syntax:
[no] vlan <vlan-id>
ip address <ip-address/mask-length>
or
[no] vlan <vlan-id>
ip address <ip-address> <mask-bits>
or
vlan <vlan-id>
ip address dhcp-bootp
IP configuration 105