HP ProCurve 6200yl Multicast And Routing Manual page 180

Procurve series switch
Hide thumbs Also See for ProCurve 6200yl:
Table of Contents

Advertisement

IP Routing Features
Configuring Static IP Routes
ProCurve(config)# ip route 10.10.40.0/24 10.10.10.1
ProCurve(config)# ip route 10.10.50.128/27 10.10.10.1
ProCurve(config)# ip route 10.10.20.177/32 reject
ProCurve(config)# ip route 10.10.30.0/24 blackhole
Figure 5-1. Examples of Configuring Static Routes
5-20
Syntax: [no] ip route < dest-ip-addr >/< mask-bits >
< next-hop-ip-addr | reject | blackhole > [ distance ]
dest-ip-addr >/< mask-bits: The route destination and network mask length for
the destination IP address. Alternatively, you can enter the mask itself.
For example, you can enter either 10.0.0.0/24 or 10.0.0.0 255.255.255.0 for a
route destination of 10.0.0.0 255.255.255.0.
next-hop-ip-addr : This IP address is the gateway for reaching the destination.
The next-hop IP address is not required to be directly reachable on a local
subnet. (If the next-hop IP address is not directly reachable, the route
will be added to the routing table as soon as a route to this address is
learned.)
reject: Specifies a null route where IP traffic for the specified destination is
discarded and an ICMP errornotification isreturned to the sender.
blackhole: Specifies a null route where IP traffic for the specified destination
is discarded and no ICMP error notification is returned to the sender.
distance: Specifies the administrative distance to associate with a static route.
If not specified, this value is set to a default of 1. For more on this topic,
refer to "Administrative Distance" on page 5-6. (Range: 1 - 255)
The no form of the command deletes the specified route for the specified
destination next-hop pair.
The following example configures two static routes for traffic delivery and
identifies two other null routes for which traffic should be discarded instead
of forwarded.
Configures static routes to
two different network
destinations using the
same next-hop router IP
address.
Configures a null route to
drop traffic for the device
at 10.50.10.177 and return
an ICMP notifice to the
sender.
Configures a null route to
drop traffic for the
10.50.10.0 network without
any ICMP notifice to the
sender.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve 5400zlProcurve 3500yl

Table of Contents