By default, when generated routes are installed in the routing table, the next hop is chosen from the primary contributing route.
When you configure an individual route in the route part of the generate statement, or when you configure the defaults for generated routes, you can specify a discard next hop. This means that if a more specific packet does not match a more specific route, the packet is rejected and a reject route for this destination is installed in the routing table, but ICMP unreachable messages are not sent. The discard next-hop feature allows you to originate a summary route, which is advertisable through dynamic routing protocols, and allows you to discard received traffic that does not match a more specific route than the summary route.
- [edit routing-options generate route 22.214.171.124/8]
- user@host# set discard