Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

NX-OS: Redistribute static to OSPF

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'. 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!

Cisco Employee

Re: NX-OS: Redistribute static to OSPF

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.



CreatePlease to create content