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” (sometimes called “null0”) 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.x, enter the following commands:
HPswitch(config)# ip route 209.157.22.0 255.255.255.0 reject
HPswitch(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.
16-17
Summary of Contents for ProCurve 6108
Page 2: ......
Page 18: ... This page is intentionally blank xvi ...
Page 50: ...Using the Menu Interface Where To Go From Here This page is intentionally unused 3 16 ...
Page 300: ...Port Based Virtual LANs VLANs and GVRP GVRP This page is intentionally unused 12 48 ...
Page 432: ...IP Routing Features Configuring DHCP Relay This page is intentionally unused 16 24 ...
Page 522: ...Troubleshooting Restoring a Flash Image This page is intentionally unused C 44 ...
Page 528: ...MAC Address Management Determining MAC Addresses This page is intentionally unused D 6 ...
Page 532: ...Daylight Savings Time on HP ProCurve Switches This page is intentionally unused E 4 ...
Page 546: ... This page is intentionally unused 14 Index ...