11-01-2021 07:39 PM
11-02-2021 10:21 AM
Hey Piotr,
You can accomplish this with a RIP routing policy.
Routing Policies, Page 818:
https://documentation.extremenetworks.com/exos_31.4/downloads/EXOS_User_Guide_31.4.pdf
You could use either:
A) An outbound policy on the advertising router to tell that router to not advertise a specific route.
configure rip vlan [ <VLAN> | all ] route-policy out <PolicyFile.pol>
B) An inbound policy on the receiving router(s) to tell them to not accept in a specific route.
configure rip vlan [ <VLAN> | all ] route-policy in <PolicyFile.pol>
These are configured on a per-VLAN basis, or you can specify VLAN 'all'.
The policy file would look something like this, using permit/deny to either allow or block the specified routes from being advertised out/accepted in. Note that the default routing policy action is 'deny', so you'll need to specify routes to allow at some point. Also note that you can use 0.0.0.0/0 as a 'match all' type of match.
#Permit a subnet to be advertised (outbound) or accepted (inbound)
entry one {
if {nlri <Subnet/Mask>;}
then {permit;}
}
#Deny a route to be advertised (outbound) or accepted (inbound)
entry two {
if {nlri <Subnet/Mask>;}
then {deny;}
}
#Can add more entries
#Default action is deny
More examples are in the User Guide I linked. I hope that helps!