| Create a RIP propagate destination. Set it to match exact, source local,
set rip state to send only, filter action to pass, metric to whatever you
want to announce the route at and enable it.
By the way this is all in the documenatation - did you check the docs first?
|
| Jitu,
Yes I have read the manual many, many times. The NCL script I used
until now for Level 2 routers is the following. The lines starting
with > are of interest now. All "routed" routes are propagated by RIP,
however no default route is announced (has never be from this source).
As I understand the documentation, the propagation destination is a
FILTER (address match) which allows to forward all routes known in a table
(source) provided these are described by the set of domains. My
understanding is that the LOCAL routing table does not contain a
default route, and the propagate destination is not able to announce
this default route.
Kind regards,
Dominique.
create routing network protocol IP
!
>create routing network protocol IP domain DEFAULT_ROUTE_DOMAIN
>set routing network protocol IP domain DEFAULT_ROUTE_DOMAIN -
> ip address {{ addr=0.0.0.0 , mask=0.0.0.0 }}
!
create routing network protocol IP domain STATIC_ROUTES_DOMAIN
!
>create routing control protocol RIP type IP RIP
>set routing control protocol RIP RIP state send only
!
!
create routing control protocol RIP receive destination RIP_all_routes -
filter action BLOCK
set routing control protocol RIP receive destination RIP_all_routes -
address match type PREFIX, -
domain {{ routing network protocol IP domain DEFAULT_ROUTE_DOMAIN }}
!
>create routing control protocol RIP propagate destin DEFAULT_ROUTE_to_RIP -
> filter action PASS
>set routing control protocol RIP propagate destin DEFAULT_ROUTE_to_RIP -
> address match type EXACT, -
> domain {{ routing network protocol IP dom DEFAULT_ROUTE_DOMAIN }}, -
> sources {{ routing control protocol LOCAL }}
!
create routing control protocol RIP propagate destin ISLevel1_to_RIP -
filter action PASS
set routing control protocol RIP propagate destination ISLevel1_to_RIP -
address match type PREFIX, -
domain {{ routing network protocol IP dom DEFAULT_ROUTE_DOMAIN }}, -
sources {{ routing control protocol IS-ISLevel1 }}
!
!
create routing control prot IS-ISlevel2 prop destin STATIC_to_ISLevel2I -
filter action PASS
set routing control protocol IS-ISlevel2 prop destin STATIC_to_ISLevel2I -
address match type PREFIX, -
domain {{ routing network protocol IP domain
STATIC_ROUTES_DOMAIN }}, -
sources {{ routing control protocol STATIC }}, -
announce route attributes { ISIS Internal }
!
create routing control prot IS-ISlevel2 prop destin STATIC_to_ISLevel2E -
filter action PASS
set routing control protocol IS-ISlevel2 prop destin STATIC_to_ISLevel2E -
address match type PREFIX, -
domain {{ routing network protocol IP dom STATIC_ROUTES_DOMAIN }}, -
sources {{ routing control protocol STATIC }}, -
announce route attributes { ISIS External }
!
create routing control protocol RIP propagate destin ISLevel2I_to_RIP -
filter action PASS, -
source route attributes { ISIS Internal }
set routing control protocol RIP propagate destination ISLevel2I_to_RIP -
address match type PREFIX, -
domain {{ routing network protocol IP domain
DEFAULT_ROUTE_DOMAIN }}, -
sources {{ routing control protocol IS-ISLevel2 }}
!
create routing control protocol RIP propagate destin ISLevel2E_to_RIP -
filter action PASS, -
source route attributes { ISIS External }
set routing control protocol RIP propagate destination ISLevel2E_to_RIP -
address match type PREFIX, -
domain {{ routing network protocol IP dom DEFAULT_ROUTE_DOMAIN }}, -
sources {{ routing control protocol IS-ISLevel2 }}
!
create routing control protocol RIP propagate destination STATIC_to_RIP -
filter action PASS
set routing control protocol RIP propagate destination STATIC_to_RIP -
address match type PREFIX, -
domain {{ routing network protocol IP dom STATIC_ROUTES_DOMAIN }}, -
sources {{ routing control protocol STATIC }}
!
enable routing network protocol IP
enable routing control protocol RIP
enable routing control protocol RIP receive destination RIP_all_routes
enable routing control protocol RIP propagate destin DEFAULT_ROUTE_to_RIP
enable routing control protocol RIP propagate destination ISLevel1_to_RIP
enable routing control protocol IS-ISlevel2 prop destin STATIC_to_ISLevel2I
enable routing control protocol IS-ISlevel2 prop destin STATIC_to_ISLevel2E
enable routing control protocol RIP propagate destination ISLevel2I_to_RIP
enable routing control protocol RIP propagate destination ISLevel2E_to_RIP
enable routing control protocol RIP propagate destination STATIC_to_RIP
|