NX-OS: Redistribute static to OSPF

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2009 08:05 AM - edited 03-06-2019 06:51 AM
Hi all,
I'm a bit new to the Nexus switches and I'm trying to do something which I've done in the past without problems.
I want to restrict what static routes are redistributed into OSPF. Now looking at the commands under the OSPF instance they look the same. Also creating the route-map is pretty much the same. However, I seem to run into a problem creating the ACL! All I want is a standard ACL listing the subnets that I want to redistribute but when I don't have the option of Standard or Extended. Infact when I create an ACL it is an Extended one with requiring a source AND destination. When looking online I can find documentation which shows a command of 'access-list route aclist 10 permit 10.1.2.4/24'. If I try to reproduce this command I fail and it appears to be because of the limited commands I have for access-list. If I type 'access-list ?' I get only one subcommand 'cleanup-unused-policies'.
Please tell me what I'm missing!
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2009 08:29 AM
Hi Craig,
With NX-OS, you cannot use ACL in route-map for redistribution.
You can use ACLs in a route map for policy-based routing only
You can try prefix list.
HTH,
jerry
