Confused about "Import" and "Export".

ChuYinsu yst.cyan at gmail.com
Tue May 12 07:52:37 CEST 2009


Hi,

In Section 3.3 - Protocol options in the User's Guide, I noticed this:

import all | none | filter name | filter { filter commands } | where
filter expression
  Specify a filter to be used for filtering routes coming from the
PROTOCOL to the ROUTING TABLE. all is shorthand for where true and
none is shorthand for where false. Default: all.

export filter
  This is similar to the import keyword, except that it works in the
direction from the ROUTING TABLE to the PROTOCOL. Default: none.

I'm a little confused what the capitalized words "PROTOCOL" and
"ROUTING TABLE" exactly mean.

For exmaple, if I wrote "import all;" in the OSPF protocol, it will
import all the routes that OSPF protocol detects to the BIRD's routing
table, right?
But when I wrote "export all;" in the OSPF protocol, the routes will
be exported from the BIRD's routing table to where?

Also, if I wrote "import all;" and "export all;" in the Kernel
protocol, the routes will be imported and exported from where to
where? Is it importing from the kernel table to the BIRD's routing
table and exporting routes from the BIRD's routing table to the kernel
table?

Thanks.



More information about the Bird-users mailing list