Distribute-list - OSPF/EIGRP
Magic Johnson
Member Posts: 414
in CCNA & CCENT
Hi guys,
Can't really fathom this in layman's terms as I seem to be delving in to stuff that's beyond my comprehension. As I understand it for the exam it's really just a case of 'make sure no silly ACL is preventing neighbour relations'.
But WHY would you want to apply an ACL on a routing protocol? If your network/passive commands dictate advertisements, why would you need to filter anything?
I did lab it up, and I can't seem to prevent anything, the only way I could was to apply the ACL on the physical interface itself.
Maybe I'm being dumb, it is late here after all!
Cheers!
EDIT: OH is it to filter out routes received from a neighbour?
EDIT 2: Ah, I see the distribute-list ACLs are specifically for the routing table, and nothing to do with neighbours!
Can't really fathom this in layman's terms as I seem to be delving in to stuff that's beyond my comprehension. As I understand it for the exam it's really just a case of 'make sure no silly ACL is preventing neighbour relations'.
But WHY would you want to apply an ACL on a routing protocol? If your network/passive commands dictate advertisements, why would you need to filter anything?
I did lab it up, and I can't seem to prevent anything, the only way I could was to apply the ACL on the physical interface itself.
Maybe I'm being dumb, it is late here after all!
Cheers!
EDIT: OH is it to filter out routes received from a neighbour?
EDIT 2: Ah, I see the distribute-list ACLs are specifically for the routing table, and nothing to do with neighbours!
Comments
-
Magic Johnson Member Posts: 414Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/2] via 192.168.1.2, 00:01:01, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/2] via 192.168.1.3, 00:01:01, FastEthernet0/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
R1(config-router)#distribute-list 99 in
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/2] via 192.168.1.3, 00:00:05, FastEthernet0/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
Standard IP access list 99
10 deny 2.2.2.2 (1 match)
20 permit any (1 match)
Bingo. Only took me half an hour to suss that one LOL. Hopefully it helps anyone else confused by this!