Configuring IP
HP9300(config)# ip route 192.128.2.69 255.255.255.0 ethernet 4/1
The command in the example above configures a static IP route for destination network 192.128.2.69/24. Since an Ethernet port is specified instead of a gateway IP address as the next hop, the routing switch always forwards traffic for the 192.128.2.69/24 network to port 4/1. The command in the following example configures an IP static route that uses virtual interface 3 as its next hop.
HP9300(config)# ip route 192.128.2.71 255.255.255.0 ve 3
Syntax: ip route
ethernet <portnum> ve <num> [<metric>] [distance <num>]
or
Syntax: ip route
ethernet <portnum> ve <num> [<metric>] [distance <num>]
The
The
If you do not want to specify a
NOTE: The port or virtual interface you use for the static route’s next hop must have at least one IP address configured on it. The address does not need to be in the same
The <metric> parameter can be a number from 1 – 16. The default is 1.
NOTE: If you specify 16, RIP considers the metric to be infinite and thus also considers the route to be unreachable.
The distance <num> parameter specifies the administrative distance of the route. When comparing otherwise equal routes to a destination, the routing switch prefers lower administrative distances over higher ones, so make sure you use a low value for your default route. The default is 1.
NOTE: The routing switch will replace the static route if the routing switch receives a route with a lower administrative distance. See “Changing Administrative Distances” on page
NOTE: You can also assign the default router as the destination by entering 0.0.0.0 0.0.0.0.
USING THE WEB MANAGEMENT INTERFACE
1.Log on to the device using a valid user name and password for
2.Click on the plus sign next to Configure in the tree view to expand the list of configuration options.
3.Click on the plus sign next to IP in the tree view to expand the list of IP option links.
6 - 39