We help IT Professionals succeed at work.

Access-list for a redistribution

ccie13026
ccie13026 asked
on
Medium Priority
393 Views
Last Modified: 2012-05-11
just wondering if the following access-list for a route-map to be used for ospf redistribution will work?  
I am trying to deny just a host within a network and redistribute all IPs on that network.  The access-list and route-map
is below:

!
router ospf 10
 redistribute static metric 1 metric-type 1 subnets route-map REDISTRIBUTE-STATIC

!
route-map REDISTRIBUTE-STATIC permit 10
 match ip address 30
 set metric 1
!
access-list 30 deny host 192.168.5.80
access-list 30 permit 192.168.5.0 0.0.0.255
access-list 30 permit 172.1.1.0 0.0.0.255
access-list 30 deny any log

 Thanks much,
Paula
Comment
Watch Question

Network Architect
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
This was something to try and not a complete solution.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.