- generate {
-
- defaults {
- generate-options;
- }
-
- route destination-prefix {
- policy policy-name;
- generate-options;
- }
- }
Statement introduced before JUNOS Release 7.4.
Configure generated routes, which are used as routes of last resort.
generate-options—Additional information about generated routes, which is included with the route when it is installed in the routing table. Specify zero or more of the following options in generate-options. Each option is explained separately.
defaults—Specify global generated route options. These options only set default attributes inherited by all newly created generated routes. These are treated as global defaults and apply to all the generated routes you configure in the generate statement. This part of the generate statement is optional.
route destination-prefix—Configure a non-default generated route:
The policy statement is explained separately.
See Configuring Generated Routes.
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.