よく誤解するので再整理。
import map
import mapは特定のプレフィックスをVRFにimportするかどうかを判断するroute-mapを指定する。CCOにもあるが、import mapでは route-target import のようにroute-target拡張コミュニティを判断して取り込むことはない。
Cisco IOS Multiprotocol Label Switching Command Reference - E through L [Support]
E through L
Usage Guidelines
The import map command does not replace the need for a route-target import in the VRF configuration. You use the import map command to further filter prefixes that match a route-target import statement in that VRF.
なので、「特定のroute-targetをimportする」というタスクの解法には適さない。
export map
export mapは、VRFからexportするプレフィックスを特定するroute-mapを指定する。その際にroute-target拡張コミュニティを設定することができる。
Cisco IOS Multiprotocol Label Switching Command Reference - E through L [Support]
E through L
コメント