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). The maximum number of routers (hops)

 

 

through which a packet can pass before being discarded. Each router

 

decreases a packet’s TTL by 1 before forwarding the packet. If decreasing the

 

TTL causes the TTL to be 0, the router drops the packet instead of forwarding

 

it.

 

 

 

 

Syntax:

ip ttl <number-of-hops>

 

HPswitch(config)# ip ttl 60

 

In the CLI, you can execute this command only from the global configuration

 

level. The TTL default is 64, and the range is 2 - 255.

 

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 ������������������

.

 

3.

If you need further information on using the web browser interface, click

 

 

on ���

to access the web-based help available for the Series 5300XL

 

 

switches.

 

7-11