rib
Syntax
ribrouting-table-name{static{defaults {static-options;
}
rib-groupgroup-name;
routedestination-prefix{next-hop;
static-options;
}
}
aggregate{
defaults {
aggregate-options;
}
routedestination-prefix{policypolicy-name;aggregate-options;}
generate{
defaults {
generate-options;
}
routedestination-prefix{
policypolicy-name;
generate-options;
}
}
martians{
destination-prefixmatch-type<allow>;
}
}Hierarchy Level
[edit routing-options],[edit routing-instancesrouting-instance-namerouting-options]Description
Explicitly creating a routing table with the
routing-table-namestatement 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 therib-groupsstatement 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-namestatement, the software uses the default routing tables, which areinet.0 for unicast routes andinet.1for the multicast cache.Options
routing-table-name—Name of the routing table, in the following format:protocol[.identifier]
protocolis the protocol family. It can beinet6for the IPv6 family,inetfor the IPv4 family, orisofor the ISO protocol family.
identifieris a positive integer that specifies the instance of the routing table.The remaining statements are explained separately in this chapter.
Usage Guidelines
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.