Junos: error: VRF: vrf-import needs at least one target community or a reject policy for vrf in
When configuring vpls or bgp l3 vpn in Junos, be care should be taken when setting communities.
Following commit error will appear:
Code:
error: VRF: vrf-import needs at least one target community or a reject policy for vrf in
This is because vrf-import needs to point to a route target community.
So this will not work:
Code:
# top show policy-options community IVORDE-INTRA-64512:100
members 64512:100;
But this will work:
Code:
# top show policy-options community IVORDE-INTRA-64512:100
members target:64512:100;