01-26-2002 02:13 AM - edited 03-01-2019 08:13 PM
Hi,
If I have a distribute-list:
CASE1:
distribute-list 1 in
access-list 1 permit 10.1.0.0 0.0.255.255
Am I right to say that this will allow 10.1.0.0/16, 10.1.1.0/24, 10.1.2.0/24, and so on. As long as the network prefix matches 10.1.x.x.
CASE2:
distribute-list 1 in
access-list 1 permit host 10.1.0.0
Am i right to say that will allow 10.1.0.0/16, 10.1.0.0/17, 10.1.0.0/18, and so on. As long as the network prefix matches 10.1.0.0
My question is if I want to allow 10.1.0.0/16 only, what should I configure?
Thanks for the help
Fujin
02-01-2002 05:26 PM
Often times complex troubleshooting issues are best addressed in an interactive session with one of our trained technical assistance engineers. While other forum users may be able to help, its often difficult to do so for this type of issue.
To utilize the resources at our Technical Assistance Center, please visit http://www.cisco.com/tac and to open a case with one of our TAC engineers, visit http://www.cisco.com/tac/caseopen
If anyone else in the forum has some advice, please reply to this thread.
Thank you for posting.
02-01-2002 08:11 PM
If you want to match exact prefix route,try to use prefix-list,like the below.And before deploying it,make sure whether the IOS support.
ip prefix-list test permit 10.1.0.0/16
router eigrp/rip/igrp [as-num]
distribute-list prefix test in
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide