원스톱 지능형 IT 솔루션

dw@donewin.com.hk |

HowdoIredistributeconnectedroutesintoanOSPFinstanceonaNexus7010withadefinedmetric?

시스코 스위치 FAQFAQ

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.

예를 들어:

스위치(구성)#액세스 목록 101 permit ip <connected network> <wildcard> any
스위치(구성)#액세스 목록 101 permit ip <connected network> <wildcard> any
스위치(구성)#액세스 목록 101 permit ip <connected network> <wildcard> any
스위치(구성)#액세스 목록 101 deny any
!
라우터(구성)# route-map direct2ospf permit 10
라우터(config-route-map)# match ip address 101
라우터(config-route-map)# set metric <100>

라우터(config-route-map)# set metric-type type-1
!
스위치(구성)#router ospf 1
스위치(config-router)#redistribute direct route-map direct2ospf

이전:

다음:

답장을 남겨주세요

라이브 채팅
메시지를 남겨주세요

    − 4 = 4