[an error occurred while processing this directive][an error occurred while processing this directive]

rib (General)

Syntax

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

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.

Statement introduced in JUNOS Release 9.0 for EX Series switches.

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]

  • protocol is the protocol family. It can be inet6 for the IPv6 family, inet for the IPv4 family, iso for the ISO protocol family, or instance-name.iso.0 for an ISO routing instance.
  • identifier is a positive integer that specifies the instance of the routing table.
Default: inet.0

Required Privilege Level

routing—To view this statement in the configuration.

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


Published: 2010-04-14

[an error occurred while processing this directive]