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;
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[/code]
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;[/code]
But this will work:
[code]# top show policy-options community IVORDE-INTRA-64512:100
members target:64512:100;[/code]