Dynamic routing protocols: BGP, OSPF, RIP
The command:
set rip neighbor a.b.c.d
can send RIP announcements directly to a.b.c.d host, instead of a group of addresses.
To make authentication between two RIP neighbors you can use:
set rip interface <ifname> ip rip authentication ...
The command
set rip route a.b.c.d/N
put the a.b.c.d/N route into the periodic RIP announcement
It is possible to redistribute the static routes present on the router using:
set rip redistribute static
for the routes acquired through other protocols, you can use the variants
set rip redistribute bgp
set rip redistribute ospf
for the directly connected routes:
set rip redistribute connected
You can associate a route-map to the redistribute command. The route-map can filter or apply
various actions to the received routes, or the ones to be announced.
set rip redistribute connected route-map subnet-out
subnet-out is the name associated to the route-map.
subnet-out can be of two different types: permit and deny. You can also specify filters or actions
to be execute. Here are some examples:
set rip route-map subnet-out permit 10 set metric 10
set rip route-map subnet-out permit 10 set tag 10
to add the value 10 to the meter of the announced route o to associate a tag to it:
set rip route-map subnet-out permit 10 match tag 10
tag 10 means that only the routes with that tag are considered.
See the main command list below:
set rip network network
set rip network ifname
set rip neighbor a.b.c.d
set rip timers-basic update timeout garbage
set rip passive-interface (IFNAME|default)
set rip version version
set rip redistribute static
set rip redistribute static metric <0-16>
set rip redistribute static route-map <rm-name>