To configure routing options, use the following statements at the [edit routing-options] hierarchy level.
Shared JUNOS statements in the routing-options hierarchy are shown in normal font and are documented in the JUNOS Routing Protocols Configuration Guide, the JUNOS Services Interfaces Configuration Guide, and the JUNOS Multicast Protocols Configuration Guide.
- routing-options {
-
- aggregate {
-
- defaults {
-
aggregate-options
;
- }
-
- route
destination-prefix {
- policy
policy-name ;
-
aggregate-options
;
- }
- }
-
- auto-export {
- (disable | enable);
-
- family {
-
- inet {
- disable;
-
- flow {
- (disable | enable);
- rib-group rib-group
;
- }
-
- multicast {
- (disable | enable);
- rib-group rib-group
;
- }
-
- unicast {
- (disable | enable);
- rib-group rib-group
;
- }
- }
-
- inet6 {
- disable;
-
- multicast {
- (disable | enable);
- rib-group rib-group
;
- }
-
- unicast {
- (disable | enable);
- rib-group rib-group
;
- }
- }
-
- iso {
- disable;
-
- unicast {
- (disable | enable);
- rib-group rib-group
;
- }
- }
- }
-
- traceoptions {
- file
filename <files number > <no-stamp> <replace> <size
maximum-file-size >
- <world-readable | no-world-readable>;
- flag
flag < flag-modifier > <disable>;
- }
- }
- autonomous-system autonomous-system
<loops number >;
- bgp-orf-cisco-mode;
-
- confederation confederation-autonomous-systems {
- members [ autonomous-system ] ;
- }
-
- dynamic-tunnels {
-
-
tunnel-name {
- destination-networks prefix ;
- source-address address ;
- tunnel-type type-of-tunnel ;
- }
-
- traceoptions {
- file
filename <files number > <no-stamp> <replace> <size
maximum-file-size >
- <world-readable | no-world-readable>;
- flag
flag < flag-modifier > <disable>;
- }
- }
-
- fate-sharing {
-
- group
group-name {
- cost
value ;
-
- from
address {
- to
address ;
- }
- }
- }
-
- flow {
-
- route
name {
-
- match {
-
match-conditions
;
- }
-
- then {
-
actions ;
- }
- }
-
- validation {
-
- traceoptions {
- file
filename <files number
> <no-stamp> <replace>
- <size maximum-file-size
> <world-readable | no-world-readable>;
- flag
flag < flag-modifier
> <disable>;
- }
- }
- }
-
- forwarding-table {
- export [
policy-names ];
- (indirect-next-hop | no-indirect-next-hop);
- unicast-reverse-paths (active-paths
| feasible-paths);
- }
-
- generate {
-
- defaults {
-
generate-options ;
- }
-
- route
destination-prefix {
- policy
policy-name ;
-
generate-options ;
- }
- }
-
- graceful-restart {
- disable;
- restart-duration duration ;
- }
- instance-export [ policy-names ];
- instance-import [ policy-names ];
-
- interface-routes {
-
- family (inet | inet6) {
- import [
import-policies ];
-
- export {
- lan;
- point-to-point;
- }
- }
-
- rib-group {
- inet
group-name ;
- inet6
group-name ;
- }
- }
-
- martians {
-
destination-prefix match-type <allow>;
- }
- maximum-paths path-limit <log-only
| threshold value
log-interval seconds >;
- maximum-prefixes prefix-limit <log-only
| threshold value
log-interval seconds >;
-
- multicast {
-
- flow-map map-name {
-
- bandwidth value {
- adaptive;
- }
-
- forwarding-cache {
-
- timeout
minutes {
- never;
- }
- }
- policy [
policy-name ];
- redundant-sources [ source-address
];
- }
-
- forwarding-cache {
- threshold (suppress | reuse)
value value
;
- timeout
minutes ;
- }
-
- interface interface-name {
- maximum-bandwidth limit ;
- }
- rpf-check-policy [ value ];
-
- scope
scope-name {
- interface [ interface-name ];
- prefix
destination-prefix ;
- }
- scope-policy [ policy-name
];
- ssm-groups [ addresses
];
-
- ssm-map
map-name {
- policy [
policy-name ];
- source [
source-address ];
- }
-
- traceoptions {
- file
filename <files number > <no-stamp> <replace> <size
maximum-file-size >
- <world-readable | no-world-readable>;
- flag
flag < flag-modifier > <disable>;
- }
- }
-
- options {
- mark
seconds ;
- syslog (level level | upto level );
- }
-
- resolution {
-
- rib
routing-table-name {
- import [
policy-names ];
- resolution-ribs [ routing-table-names
];
- }
- tracefilter [ policy-name ];
-
- traceoptions {
- file
filename <files number > <no-stamp> <replace> <size
maximum-file-size >
- <world-readable | no-world-readable>;
- flag
flag < flag-modifier > <disable>;
- }
- }
-
- rib
routing-table-name {
-
- aggregate {
-
- defaults {
-
aggregate-options
;
- }
-
- route
destination-prefix
{
- policy
policy-name ;
-
aggregate-options
;
- }
- }
-
- generate {
-
- defaults {
-
generate-options
;
- }
-
- route
destination-prefix
{
- policy
policy-name ;
-
generate-options
;
- }
- }
-
- martians {
-
destination-prefix
match-type <allow>;
- }
- maximum-paths path-limit <log-only
| threshold value log-interval seconds >;
- maximum-prefixes prefix-limit <log-only
| threshold value log-interval
-
seconds >;
-
- static {
-
- defaults {
-
static-options
;
- }
- rib-group group-name ;
-
- route
destination-prefix
{
-
-
bfd-liveness-detection {
-
-
detection-time {
-
threshold milliseconds
;
- }
- holddown-interval milliseconds;
-
local-address
ip-address
;
-
minimum-interval
milliseconds
;
-
minimum-receive-interval
milliseconds ;
-
minimum-receive-ttl
milliseconds ;
-
multiplier
number
;
-
neighbor address ;
-
-
transmit-interval {
-
minimum-interval
milliseconds
;
-
threshold milliseconds
;
- }
-
version (0 | 1);
- }
-
- lsp-next-hop nexthop '{
- metric
metric ;
- preference preference
;
- }
-
next-hop [ next-hop ];
-
- qualified-next-hop ( address
| interface-name ) {
- interface interface-name
;
- metric
metric ;
- preference preference
;
- }
-
static-options
;
- }
- }
- }
-
- rib-groups {
-
-
group-name {
- export-rib [ group-names ];
- import-policy [ policy-names ];
- import-rib [ group-names ];
- }
- }
- route-distinguished-id address ;
- route-record;
- router-id address ;
- source-routing (ip | ipv6);
-
- static {
-
- defaults {
-
static-options ;
- }
- rib-group group-name ;
-
- route
destination-prefix {
-
-
bfd-liveness-detection {
-
-
detection-time {
-
threshold
milliseconds
;
- }
- holddown-interval milliseconds;
-
local-address
ip-address
;
-
minimum-interval
milliseconds
;
-
minimum-receive-interval
milliseconds
;
-
minimum-receive-ttl
milliseconds
;
-
multiplier number ;
-
neighbor address ;
-
-
transmit-interval {
-
minimum-interval
milliseconds ;
-
threshold
milliseconds
;
- }
-
version (0 | 1);
- }
-
- lsp-next-hop nexthop '{
- metric
metric ;
- preference preference ;
- }
-
next-hop
[
next-hop
];
-
- qualified-next-hop ( address
| interface-name ) {
- interface interface-name
;
- metric
metric ;
- preference preference ;
- }
-
static-options ;
- }
- }
-
- topologies {
-
- family (inet | inet6) {
- topology topology-name;
- }
- }
-
- traceoptions {
- file
name <files number > <no-stamp> <replace> <size
maximum-file-size >
- <world-readable | no-world-readable>;
- flag
flag < flag-modifier >
<disable>;
- }
- }