HP (Hewlett-Packard) 2520 Switch User Manual


 
Configuring IP Addressing
IP Configuration
3. If the switch needs to access a router, for example, to reach off-subnet
destinations, select the Default Gateway field and enter the IP address of
the gateway router.
4. If you need to change the packet Time-To-Live (TTL) setting, select Default
TTL and type in a value between 2 and 255.
5. To configure IP addressing, select IP Config and do one of the following:
If you want to have the switch retrieve its IP configuration from a
DHCP or Bootp server, at the IP Config field, keep the value as DHCP/
Bootp and go to step 8.
If you want to manually configure the IP information, use the Space
bar to select Manual and use the
[Tab] key to move to the other IP
configuration fields.
6. Select the IP Address field and enter the IP address for the switch.
7. Select the Subnet Mask field and enter the subnet mask for the IP address.
8. Press
[Enter], then [S] (for Save).
CLI: Configuring IP Address, Gateway, and Time-To-
Live (TTL)
IP Commands Used in This Section
Page
show ip 8-6
ip address < mask-length > 8-7, 8-8
ip address /< mask-bits > 8-7, 8-8
ip default-gateway 8-10
ip ttl 8-10
Viewing the Current IP Configuration.
Syntax: show ip
This command displays the IP addressing for each VLAN
configured in the switch. If only the DEFAULT_VLAN exists,
then its IP configuration applies to all ports in the switch.
Where multiple VLANs are configured, the IP addressing is
listed per VLAN. The display includes switch-wide packet
time-to-live, and (if configured) the switch’s default gateway
and Timep configuration.
8-6