Configuring A "Null" Route; Displaying Static Route Information - HP PROCURVE 2610 Advanced Traffic Management Manual

Hide thumbs Also See for PROCURVE 2610:
Table of Contents

Advertisement

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 < 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.
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.
< dest-ip-addr >
Lists the route data for the network destination specified
by < dest-ip-addr > .
IP Routing Features
Configuring Static IP Routes
7-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents