[FROG] Default action associated w/ distribute-list

Jim Carroll jim at carroll.com
Sun Oct 1 08:48:42 EDT 2017


Thank for the clarification - much appreciated.

 

 

From: Nigel Kukard [mailto:nkukard+frr at lbsd.net] 
Sent: Sunday, October 01, 2017 8:08 AM
To: frog at lists.frrouting.org
Subject: Re: [FROG] Default action associated w/ distribute-list

 

Hi there Jim,

On 01/10/17 11:42, Jim Carroll wrote:



I've scrutinized the docs
 
https://frrouting.org/user-guide/Filtering-RIP-Routes.html#Filtering-RIP-Rou
tes
 
but cannot determine default announcement behavior.  
 
So I have a basic question about 'distribute-list prefix' applied outbound
to an interface in RIP. Is the default action to permit or deny? 
 
For example, say we have
 
     router rip
           distribute-list prefix mylist out eth0
     ip prefix-list mylist seq 10 permit 10.0.0.0/8
 
What would the RIP process do with an announcement for 192.168.0.0/24 -
would it default to deny (because it doesn't match the permit list) or would
it default to permit?

 


You're right, prefix lists default to deny. The above would result in
192.168.0.0/24 not being distributed.

-N

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20171001/27c47042/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4722 bytes
Desc: not available
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20171001/27c47042/attachment-0001.bin>


More information about the frog mailing list