HP (Hewlett-Packard) 2848 Switch User Manual


 
Configuring IP Addressing
IP Configuration
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
Note The switch uses the IP default gateway only while operating as a Layer 2
device. While routing is enabled on the switch, the IP default gateway is not
used. Thus, to avoid loss of Telnet access to off-subnet management stations,
you should use the ip route command to configure a static (default) route
before enabling routing. Refer to chapter 16, “IP Routing Features”, for more
information.
Configure Time-To-Live (TTL). Use this command at the Global config
prompt to set the time that a packet outbound from the switch can exist on
the network. The default setting is 64 seconds.
Syntax: ip ttl <number-of-seconds>
HPswitch(config)# ip ttl 60
In the CLI, you can execute this command only from the global configuration
level. The TTL range is 2 - 255 seconds.
Web: Configuring IP Addressing
You can use the web browser interface to access IP addressing only if the
switch already has an IP address that is reachable through your network.
1. Click on the Configuration tab.
2. Click on [
IP Configuration].
3. If you need further information on using the web browser interface, click
on
[?] to access the web-based help available for the Switch 2512/2524.
How IP Addressing Affects Switch Operation
Without an IP address and subnet mask compatible with your network, the
switch can be managed only through a direct terminal device connection to
the Console RS-232 port. You can use direct-connect console access to take
advantage of features that do not depend on IP addressing. However, to realize
the full performance capabilities HP proactive networking offers through the
8-11