Intelligente IT-Lösungen aus einer Hand

dw@donewin.com.hk |

HowdoIredistributeconnectedroutesintoanOSPFinstanceonaNexus7010withadefinedmetric?

Häufig gestellte Fragen zu Cisco-SwitchesHäufig gestellte Fragen

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.

For example:

schalten(config)#Zugangsliste 101 permit ip <connected network> <wildcard> beliebig
schalten(config)#Zugangsliste 101 permit ip <connected network> <wildcard> beliebig
schalten(config)#Zugangsliste 101 permit ip <connected network> <wildcard> beliebig
schalten(config)#Zugangsliste 101 deny any
!
Router(config)# route-map direct2ospf permit 10
Router(config-route-map)# match ip address 101
Router(config-route-map)# set metric <100>

Router(config-route-map)# set metric-type type-1
!
schalten(config)#router ospf 1
schalten(config-router)#redistribute direct route-map direct2ospf

Vorher:

Nächste:

Hinterlasse eine Antwort

Live-Chat
Eine Nachricht hinterlassen

    10 + = 13