![](/images/backgrounds/285762/hp-procurve-2610-pwr-users-manual-550041277x1.png)
IP Routing Features
Configuring Static IP Routes
Configuring a “Null” Route
You can configure the routing switch to drop IP packets to a specific network or host address by configuring a “null” static route for the address. When the routing switch receives a packet destined for the address, the routing switch drops the packet instead of forwarding it.
To configure a null static route to drop packets destined for network 209.157.22.0, enter the following commands:
ProCurve(config)# ip route 209.157.22.0 255.255.255.0 reject
ProCurve(config)# write memory
Syntax: ip route <
— or —
ip route <
Using this command, the routing switch will drop packets that contain the specified IP address in the destination field instead of forwarding them. The reject parameter indicates that this is a null route. You must specify this parameter to make this a null route.
Displaying Static Route Information
The show ip route command provides several options for displaying route data.
Syntax: show ip route
Displays all IP routing entries configured on the switch.
static
Displays all static IP routing entries configured on the switch.
connected
Displays the network destinations directly connected to the switch. Includes the default loopback destination.
<
Lists the route data for the network destination specified by <