Soluções de TI inteligentes completas

dw@donewin.com.hk |

HowdoIredistributeconnectedroutesintoanOSPFinstanceonaNexus7010withadefinedmetric?

Perguntas frequentes sobre switches CiscoPerguntas frequentes

How do I redistribute connected routes into an OSPF instance on a Nexus 7010 with a defined metric?

In NX-OS, a route-mapis always required when redistributing routes into an OSPF instance, and you will also use this route-map to set the metric. Further, subnet redistribution is by default, so you do not have to add the subnetskeyword.

Por exemplo:

trocar(configuração)#access-list 101 permit ip <connected network> <wildcard> any
trocar(configuração)#access-list 101 permit ip <connected network> <wildcard> any
trocar(configuração)#access-list 101 permit ip <connected network> <wildcard> any
trocar(configuração)#access-list 101 deny any
!
Roteador(configuração)# route-map direct2ospf permit 10
Roteador(config-route-map)# match ip address 101
Roteador(config-route-map)# set metric <100>

Roteador(config-route-map)# set metric-type type-1
!
trocar(configuração)#router ospf 1
trocar(config-router)#redistribute direct route-map direct2ospf

anterior:

Próximo:

Deixe uma resposta

Bate-papo ao vivo
Deixe um recado

    9 + 1 =