[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

rib

See the following sections:

rib (General)

Syntax

rib routing-table-name {
static {
defaults {
static-options;
}
rib-group group-name;
route destination-prefix {
next-hop;
static-options;
}
}
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>;
}
}
}

Hierarchy Level

[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options],
[edit logical-systems logical-system-name routing-options],
[edit routing-instances routing-instance-name routing-options],
[edit routing-options]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Create a routing table.

Explicitly creating a routing table with the routing-table-name statement is optional if you are not adding any static, martian, aggregate, or generated routes to the routing table and if you also are creating a routing table group. Simply including the passive statement to indicate that a routing table is part of a routing table group is sufficient to create it.

Note: The IPv4 multicast routing table (inet.1) and the IPv6 multicast routing table (inet6.1) are not supported for this statement.

Default

If you do not specify a routing table name with the routing-table-name statement, the software uses the default routing tables, which are inet.0 for unicast routes and inet.1 for the multicast cache.

Options

routing-table-name—Name of the routing table, in the following format:
protocol
[.identifier]

Default: inet.0

Usage Guidelines

See Creating Routing Tables.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Related Topics

passive

rib (Route Resolution)

Syntax

rib routing-table-name {
import [ policy-names ];
resolution-ribs [ routing-table-names ];
}

Hierarchy Level

[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options resolution],
[edit logical-systems logical-system-name routing-options resolution],
[edit routing-instances routing-instance-name routing-options resolution],
[edit routing-options resolution]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Specify routing table name for route resolution.

Options

The statements are explained separately.

Usage Guidelines

See Configuring Route Resolution.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]