Default action associated w/ distribute-list
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?
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... 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
Thank for the clarification - much appreciated. From: Nigel Kukard [mailto:nkukard+frr@lbsd.net] Sent: Sunday, October 01, 2017 8:08 AM To: frog@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
participants (2)
-
Jim Carroll -
Nigel Kukard