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
18.104.22.168, enter the following commands:
ProCurve(config)# ip route 22.214.171.124 255.255.255.0 reject
ProCurve(config)# write memory
Syntax: ip route < ip-addr > < ip-mask > reject
— or —
ip route < ip-addr >/< mask-bits > reject
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.
Displays all static IP routing entries configured on the
Displays the network destinations directly connected to
the switch. Includes the default loopback destination.
< dest-ip-addr >
Lists the route data for the network destination specified
by < dest-ip-addr > .
IP Routing Features
Configuring Static IP Routes