RIP External Routes

Revised for CPX 4.7.0.
RIP External Routes filter table

RIP External Routes filter table top

The table of RIP External Routes contains information about filtering rules for routes which are external to the RIP domain and that could be imported into the RIP domain.
This table is used only when this router is declared as ASBR (ASBR:YES).

The table of RIP External Routes is used as follow:

  1. An empty table is a "default accept" table.
  2. A table with only "ignore" records is still a "default accept" table.
  3. A table with at least one "accept" record for a protocol becomes a "default ignore" for that protocol.

In case 1) the filtering is possible only "by protocol" through the parameters LOCAL:, STATIC: and OSPF:.

In case 2) it is possible to explicitely ignore routes.

In case 3) all the routes for the protocol having at least one "accept" record are ignored, except those explicitely accepted.

The table of RIP External Routes can store up to 256 entries.

Records are kept contiguous and sorted by their external IP network (EXTERNAL:) value (i.e. kept sorted by Network address and Network mask values: longer mask first; lower Network address first) and by their Routing protocol filter (PROT:) value.

Two or more entries for the same external IP network (EXTERNAL:) cannot have the same Routing protocol filter (PROT:) value.

Commands for managing the table of RIP External Routes are described in the section Commands related to RIP External Routes. The following commands are available:

A RIP EXTERNAL:
C RIP EXTERNAL:
D RIP EXTERNAL
D RIP EXTERNAL:
S RIP EXTERNAL:

Here is an example of the D RIP EXTERNAL command execution. Displayed values are only examples.

[16:54:38] ABILIS_CPX: D RIP EXTERNAL

----------------------------------------------
EXTERNAL:            PROT:   ACTION:   METRIC:
----------------------------------------------
192.168.006.002/32   OSPF    ACCEPT          5
192.168.006.000/24   LOCAL   IGNORE          1
010.000.000.000/8    ANY     ACCEPT         10
000.000.000.000/0    ANY     ACCEPT          *
----------------------------------------------

Changes made on the table of RIP External Routes are not immediately active, they can be activated by executing the initialization command INIT PO:xxx, where "xxx" is the RIP port number.

The "Not Saved (SAVE CONF)" message is displayed every time the table is modified but not saved with the SAVE CONF command.

The "Not Refreshed (INIT)" message is displayed every time the table is modified but not refreshed by executing the initialization command.

Detail of the RIP External Routes filter parameters


EXTERNAL: External IP network
no value see below

It specifies the external IP network that can be imported (or not) into RIP port.

The "EXTERNAL:" parameter corresponds to the external route IP address and mask in Slash Notation (i.e. x.x.x.x/yy).

Valid network IP addresses must always be expressed in Dotted Decimal Notation. The allowed values are shown in the following table:

HEX: 00000000 01000000 - 7EFFFFFF 80000000 - DFFFFFFF
DDN: 0.0.0.0 1.0.0.0 - 126.255.255.255 128.0.0.0 - 223.255.255.255

IP addresses of class D and E are not currently supported.

Valid values for the network mask must contain sequence of bit set to 1, estimated leaving from the most meaningful bit towards the less meaningful one; therefore they must be in the range [0..32].

Doing the "logical AND" between network IP address and the related network mask, the result should be the network itself.

The network address "0.0.0.0" is valid only for mask value "0".


PROT: Routing protocol filter
ANY ANY, LOCAL, STATIC, OSPF

This parameter defines a routing protocol for which this filter will be applied.


ACTION: Accept/Ignore flag
ACCEPT ACCEPT, IGNORE

This parameter indicates if the selected network EXTERNAL: can be accepted or ignored by RIP port.

This means that all the routing present into IP Routings table that matches with EXTERNAL: will be imported into RIP table in case that ACTION: is set to "ACCEPT" (and then will be used also specified metric METRIC:), and will be not imported in case that it is set to "IGNORE".


METRIC: Metric used for redistribute this route.
* 0 - 16, *

This parameter sets the metric value that will be used for redistribution routes, of LOCAL:, STATIC: or OSPF: type, imported from the IP Routings table into RIP.

The value "*" stands for "use default metric", i.e. indicates to use the metric specified for the related protocol type PROT:, in RIP port configuration.

printPrint this page