-- only select routes from the given range of destinations.
consists of an optional modifier (
and a prefix.
root PREFIX selects routes with prefixes not shorter
root 0/0 selects the entire routing table.
match PREFIX selects routes with prefixes not longer than
match 10.0/16 selects
0/0, but it does not select
exact PREFIX (or just
selects routes with this exact prefix. If neither of these options
root 0/0 i.e. it lists the entire table.
-- only select routes with the given TOS.
-- show the routes from this table(s). The default setting is to show
TABLEID may either be the ID of a real table
or one of the special values:
all-- list all of the tables.
cache-- dump the routing cache.
cacheis emulated by the
-- list cloned routes i.e. routes which were dynamically forked from
other routes because some route attribute (f.e. MTU) was updated.
Actually, it is equivalent to
-- the same syntax as for
to, but it binds the source address range
rather than destinations. Note that the
from option only works with
-- only list routes of this protocol.
-- only list routes with this scope.
-- only list routes of this type.
-- only list routes going via this device.
-- only list routes going via the nexthop routers selected by
-- only list routes with preferred source addresses selected
-- only list routes with these realms.