Can I use access-list to produce the same effect as prefix-list ? Any
thoughts on which is a better way to use in redistribution over other. I am
just trying to find which one I should stick with.
Thanks

router rip
 redistribute ospf 1
  network 135.11.0.0
  default-metric 5
 distribute-list prefix test out ospf 1

ip prefix-list test seq 5 deny 199.172.4.0/24
ip prefix-list test seq 10 deny 199.172.6.0/24
ip prefix-list test seq 15 deny 199.172.8.0/24
ip prefix-list test 20 permit 0.0.0.0/0 le 32

or

router rip
 redistribute ospf 1
  network 135.11.0.0
  default-metric 5
 distribute-list 10 out ospf 1

access-list  10  deny 199.172.4.0/24
access-list 10 deny 199.172.6.0/24
access-list 10 deny 199.172.8.0/24
access-list 10 permit any




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=53582&t=53582
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to