Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
https://www.juniper.net/documentation/en_US/junos/topics/example/vpn-layer2-configuring.html
According to above link, for configuring Kompella draft of l2vpn it is said to configure vrf-export, vrf-import policy(Mandatory). My question is why it is necessary to configure export import policy ? Why not go for export target:2000:59856 format for exporting routes ?
It is not manadatory to configure vrf export/import policies in the given example as it uses only one community for export and import. You may use vrf-target statement or vrf import/export policies. Please refer below mentione URL for example:
https://www.juniper.net/documentation/en_US/junos/topics/example/mpls-ex-series-vpn-layer2.html