Specifying the Next Hop of the Static Route
When you configure an individual static route in the
routepart of thestaticstatement, specify how to reach the destination (innext-hop) in one of the following ways:
- IPv4 or IPv6 address of the next hop
- Interface name (for point-to-point interfaces only)
addressorinterface-nameto specify an IP address of a multipoint interface or an interface name of a point-to-point interface.
NOTE: If an interface becomes unavailable, all configured static routes on that interface are withdrawn from the routing table.
next-tablerouting-table-name—Name of the next routing table to the destination.reject—Do not forward packets addressed to this destination. Instead, drop the packets, send ICMP (or ICMPv6) unreachable messages to the packets' originators, and install a reject route for this destination into the routing table.discard—Do not forward packets addressed to this destination. Instead, drop the packets, do not send ICMP (or ICMPv6) unreachable messages to the packets' originators, and install a reject route for this destination into the routing table.receive—Cause packets to the destination to be received by the local router.