cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
755
Views
0
Helpful
2
Replies

stop advertising 192.168.3.0/24 route using a distribute list and ACL.

husqvarna1990
Level 1
Level 1

Hello i am struggling to figure out how i can implement a distribute-list and ACL on a router to stop advertising a route 192.168.3.0/24, the issue is i am using OSPFv3 address-family and EIGRP named instance. 

 

In what mode must i apply the distribution-list as all the Cisco examples i have read use OSPFv1 to which my OSPFv3 and named EIGRP has no distribute list that i can find and i am using 15.2 ISO image as required?

2 Replies 2

Hello,

 

in EIGRP, you have to get into address family mode and then into topology base mode to use the distribute list,e.g.:

 

R1#conf t
R1(config)#router eigrp HOME
R1(config-router)#address-family ipv4 unicast autonomous-system 1
R1(config-router-af)#topology base
R1(config-router-af-topology)#distribute-list

 

In OSPFv3 you also need to be in address family mode, although I think you need version 16.5:

 

R1(config)#router ospfv3 1
R1(config-router)#address-family ipv4 unicast
R1(config-router-af)#distribute-list route-map rmap-name in

 

Check the links below for reference:

 

https://www.cisco.com/c/en/us/support/docs/ip/enhanced-interior-gateway-routing-protocol-eigrp/200156-Configure-EIGRP-Named-Mode.html

 

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_ospf/configuration/xe-16-5/iro-xe-16-5-book/OSPFv3-Route-Filter-Using-Dist-List.html

Alan Ng'ethe
Level 3
Level 3

If I understood you correctly, the following would be the way to accomplish this:

dlist.PNG   

 

Hope this helps.

Remember to rate helpful posts and/or mark as a solution if your issue is resolved.
Review Cisco Networking for a $25 gift card