generate
Syntax
generate {
defaults {
generate-options;
}
route destination-prefix {
policy
policy-name;
generate-options;
}
}
Hierarchy Level
[edit logical-systems logical-system-name routing-instances routing-instance-name
routing-options],
[edit logical-systems logical-system-name routing-instances routing-instance-name
routing-options
rib
routing-table-name],
[edit routing-options],
[edit routing-options
rib
routing-table-name]
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Description
Configure generated routes, which are used as routes of last resort.
Options
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.
•
(
active
| passive);
•
as-path
<as-path> <origin (egp | igp | incomplete)> <atomic-aggregate> <aggregator
as-number in-address>;
•
community
[ community-ids ];
•
discard;
•
(
brief
| full);
•
(
metric
| metric2 | metric3 | metric4) value <type type>;
•
(
preference
| preference2 | color | color2) preference <type type>;
•
tag
string;
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:
•
default
—For the default route to the destination. This is equivalent to specifying an IP
address of
0.0.0.0/0
.
1793
Copyright © 2010, Juniper Networks, Inc.
Chapter 73: Configuration Statements for Layer 3 Protocols
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...