cancel
Showing results for 
Search instead for 
Did you mean: 

Exclude single direct VLAN from RIP routes

Exclude single direct VLAN from RIP routes

Piotr_L_
New Contributor II
Hi,
Sorry if I copy something that was already discussed but I haven't found answer for my issue in the archives.
I have a case in which I need to have one switch propagate its' direct routes to other. This works fine but now I need to exclude one of the directly connected VLANs from this list. Is there any simple solution for that?
1 REPLY 1

Gabriel_G
Extreme Employee

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!

GTM-P2G8KFN