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


rib

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 routing-options],
[edit routing-instances routing-instance-name routing-options]

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 rib-groups statement to declare that a routing table is part of a routing table group is sufficient to create it.

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, or iso for the ISO protocol family.

identifier is a positive integer that specifies the instance of the routing table.

Default: inet.0

The remaining statements are explained separately in this chapter.

Usage Guidelines

See Create Routing Tables.

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]